com.ptc.windchill.esi.bom
Class ESIReferenceDesignatorRenderer

java.lang.Object
  extended by com.ptc.windchill.esi.rnd.BasicESIRenderer
      extended by com.ptc.windchill.esi.bom.ESIBOMSubordinateRenderer
          extended by com.ptc.windchill.esi.bom.ESIReferenceDesignatorRenderer
All Implemented Interfaces:
ESIRenderer, Serializable

public class ESIReferenceDesignatorRenderer
extends ESIBOMSubordinateRenderer
implements Serializable

This class renders the output of reference designators (ie. ) in ESI DataResponse.

Supported API: true

Extendable: false

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.
 
Methods inherited from class com.ptc.windchill.esi.bom.ESIBOMSubordinateRenderer
addRenderedPart, addRenderedPart, areComponentQuantitiesRequired, areLineNumbersEnforced, getDeltaParts, getPart, getRenderedParts, getRoot, getTargets, isLineNumberEnabled
 
Methods inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer
adjustDateEffectivities, adjustEffectivities, adjustEffectivities, adjustLotNumberEffCxt, adjustLotNumberEffectivities, adjustObjectID, adjustSerialNumberEffCxt, adjustSerialNumberEffectivities, adjustTargets, buildUfidString, getBuilder, invokeQueryTask, invokeQueryTask, invokeQueryTask, mapElement, mapObject, mapObject, render, setBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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:
  1. Obtains the reference designator additions and reference designator deletions.
  2. Maps the output.
  3. Calls adjustObjectID().
  4. Calls adjustTargets()
  5. Calls adjustElement()
  6. Calls addRenderedPart()


Supported API: true

Specified by:
buildGroups in class BasicESIRenderer
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