com.ptc.windchill.esi.bom
Class ReferenceDesignatorRendererImpl
java.lang.Object
com.ptc.windchill.esi.rnd.ResponseRendererImpl
com.ptc.windchill.esi.bom.ESIWTPartRenderer
com.ptc.windchill.esi.bom.ReferenceDesignatorRendererImpl
- All Implemented Interfaces:
- BOMPartRenderer, ReferenceDesignatorRenderer, ResponseRenderer, Serializable
public class ReferenceDesignatorRendererImpl
- extends ESIWTPartRenderer
- implements ReferenceDesignatorRenderer, Serializable
Default implementation of ReferenceDesignatorRenderer.
Supported API: true
Extendable: true
- See Also:
- Serialized Form
|
Method Summary |
protected com.infoengine.object.factory.Element |
adjustElement(com.infoengine.object.factory.Element elem,
String group,
PartUsageInfo pui,
UsesOccurrence rd,
Collection targets)
Allow subclasses to fix the contents of an element before it's added
to the output group(s). |
protected void |
buildGroups()
Produces the renderer's output. |
protected void |
validate()
Makes sure that the object is ready to create output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validate
protected void validate()
throws com.ptc.windchill.esi.rnd.ESIRendererException
- Makes sure that the object is ready to create output. Calls base
class method.
Supported API: true
- Throws:
com.ptc.windchill.esi.rnd.ESIRendererException
buildGroups
protected void buildGroups()
throws com.ptc.windchill.esi.rnd.ESIRendererException
- Produces the renderer's output. Obtains the deltaParts array of Collections
from the base class. Iterates each Collection in turn. For each
entry in the iterations:
- Obtains the reference designator additions and reference designator
deletions.
- Maps the output.
- Calls adjustObjectID().
- Calls adjustTargets()
- Calls adjustElement()
- Calls addRenderedPart()
Supported API: true
- Specified by:
buildGroups in class ResponseRendererImpl
- Throws:
com.ptc.windchill.esi.rnd.ESIRendererException
adjustElement
protected com.infoengine.object.factory.Element adjustElement(com.infoengine.object.factory.Element elem,
String group,
PartUsageInfo pui,
UsesOccurrence rd,
Collection targets)
throws com.ptc.windchill.esi.rnd.ESIRendererException
- Allow subclasses to fix the contents of an element before it's added
to the output group(s). Default behavior is to return the argument.
Supported API: true
- Parameters:
elem - group - pui - rd - targets - Collection of ESITarget objects.
- Returns:
- Element
- Throws:
com.ptc.windchill.esi.rnd.ESIRendererException