|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.rnd.BasicESIRenderer
com.ptc.windchill.esi.bom.ESIBOMHeaderRenderer
This class renders the output of BOM header (ie.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
DATE_FORMAT_PATTERN
|
private String |
groupName
|
private TaskHelper |
helper
|
private ESIMap |
map
|
protected static String |
MAP_FILE_PATH
|
private ESIMapper |
mapper
|
private WTPart |
part
|
private static String |
RESOURCE
|
private Collection |
targets
|
protected static String |
wcAttList
|
Fields inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer |
adapterName, PART_CLASS_NAME, TASK_URI, XML_META_NAME |
Constructor Summary | |
ESIBOMHeaderRenderer()
|
Method Summary | |
protected Element |
adjustElement(Element elem,
String group,
WTPart part,
Eff eff,
Collection targets)
Allow subclasses to fix the contents of an element before it's added to the output group(s). |
protected void |
buildGroups()
Builds the renderer output. |
protected String |
getGroupName()
Gets the value of the attribute: groupName; The logical name of a VdbGroup. |
protected WTPart |
getPart()
Gets the value of the attribute: part; The assembly part for this BOM. |
protected Collection |
getTargets()
Gets the value of the attribute: targets; A collection ESITarget objects. |
private Element |
mapBOMHeaderElement(String grpName,
Element e,
WTPart part,
String ufid,
Eff eff,
Collection targets)
|
void |
setData(String groupName,
WTPart part,
Collection tgts,
ESIEffectivityHandler effHandler)
Store the attributes and reset any variables. |
void |
setData(String groupName,
WTPart part,
Collection tgts,
ESIEffectivityHandler effHandler,
String adapterName)
|
protected void |
validate()
Make sure part, groupName, and targets are correct. |
Methods inherited from class com.ptc.windchill.esi.rnd.BasicESIRenderer |
adjustEffectivities, adjustObjectID, adjustTargets, buildUfidString, getAdapterName, getAttsFromMapFile, getBuilder, getEffectivityHandler, getGroupInfo, getMap, getMapInfo, getTargetsFromAssns, getWCAttributeList, invokeQueryTask, invokeQueryTask, invokeQueryTask, mapElement, mapObject, render, setBuilder, setEffectivityHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Collection targets
private String groupName
private WTPart part
private static final String DATE_FORMAT_PATTERN
private ESIMap map
private ESIMapper mapper
private TaskHelper helper
protected static final String MAP_FILE_PATH
protected static String wcAttList
Constructor Detail |
public ESIBOMHeaderRenderer()
Method Detail |
protected Collection getTargets()
protected String getGroupName()
protected WTPart getPart()
protected Element adjustElement(Element elem, String group, WTPart part, Eff eff, Collection targets) throws ESIRendererException
elem
- The element to be updated.group
- The logical name of the group to which the element will be added.part
- The assembly part that is being processed.eff
- May be null.targets
- Collection of ESITarget objects.
ESIRendererException
protected void validate() throws ESIRendererException
validate
in class BasicESIRenderer
ESIRendererException
protected void buildGroups() throws ESIRendererException
buildGroups
in class BasicESIRenderer
ESIRendererException
public void setData(String groupName, WTPart part, Collection tgts, ESIEffectivityHandler effHandler)
groupName
- part
- tgts
- effHandler
- public void setData(String groupName, WTPart part, Collection tgts, ESIEffectivityHandler effHandler, String adapterName)
private Element mapBOMHeaderElement(String grpName, Element e, WTPart part, String ufid, Eff eff, Collection targets) throws ESIRendererException
ESIRendererException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |