|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.esipart.ESIAbstractPart
com.ptc.windchill.esi.esipart.ESIPart
Wraps a WTPart and maintains useful relationships for the benefit of
a part renderer.
Supported API: true
Extendable: false
Field Summary | |
private Collection |
alternateLinks
|
private Collection |
alternates
|
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
private ESITargetUtility |
targetUtility
|
Fields inherited from class com.ptc.windchill.esi.esipart.ESIAbstractPart |
|
Constructor Summary | |
ESIPart()
|
Method Summary | |
Collection |
getAlternateLinks()
Gets the object for the association that plays role: alternateLinks. |
Collection |
getAlternates()
Gets the object for the association that plays role: alternates. |
QueryResult |
getPartInfo(ESIAbstractPart part)
Find the master and obtain all alternate parts associated with it. |
protected void |
initialize(String ufid)
Obtains the WTPart object identified by the ufid argument and stores it in the current attribute. |
static ESIPart |
newESIPart(String ufid)
Create an instance of ESIPart, given the UFID of a part. |
protected void |
setAlternateLinks(Collection a_AlternateLinks)
Sets the object for the association that plays role: alternateLinks. |
void |
setAlternates(Collection a_Alternates)
Sets the object for the association that plays role: alternates. |
Methods inherited from class com.ptc.windchill.esi.esipart.ESIAbstractPart |
getCurrent, getMaster, getPrevious, getTargets, setCurrent, setPrevious, setTargets |
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 alternates
private Collection alternateLinks
private ESITargetUtility targetUtility
Constructor Detail |
public ESIPart()
Method Detail |
public Collection getAlternates()
public void setAlternates(Collection a_Alternates)
a_Alternates
- public Collection getAlternateLinks()
protected void setAlternateLinks(Collection a_AlternateLinks)
a_AlternateLinks
- public static ESIPart newESIPart(String ufid) throws WTException, WTPropertyVetoException
ufid
-
WTException
WTPropertyVetoException
public QueryResult getPartInfo(ESIAbstractPart part) throws WTException
part
- The part to obtain information about.
WTException
protected void initialize(String ufid) throws WTException, WTPropertyVetoException
ufid
- UFID of a WTPart.
WTException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |