Package com.ptc.windchill.esi.esipart
Class ESIPart
java.lang.Object
com.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
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionGets the object for the association that plays role: alternateLinks.Gets the resolved iterations of object for the association that plays role: alternates.getPartInfo(WTPart part, NavigationCriteria navCriteria) Fetches the master for the input part and obtains all the associated alternate parts and alternate links.protected voidinitialize(String ufid) Obtains the WTPart object identified by the ufid argument and stores it in the current attribute.static ESIPartnewESIPart(String ufid) Create an instance of ESIPart, given the UFID of a part.protected voidsetAlternateLinks(Collection<WTPartAlternateLink> a_AlternateLinks) Sets the object for the association that plays role: alternateLinks.voidsetAlternates(Collection<WTPart> a_Alternates) Sets the resolved iterations of 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
-
Method Details
-
getAlternates
Gets the resolved iterations of object for the association that plays role: alternates.
Supported API: true- Returns:
- Collection
-
setAlternates
Sets the resolved iterations of object for the association that plays role: alternates.
Supported API: true- Parameters:
a_Alternates-
-
getAlternateLinks
Gets the object for the association that plays role: alternateLinks.
Supported API: true- Returns:
- Collection
-
setAlternateLinks
Sets the object for the association that plays role: alternateLinks.
Supported API: true- Parameters:
a_AlternateLinks-
-
newESIPart
Create an instance of ESIPart, given the UFID of a part.
Supported API: true- Parameters:
ufid-- Returns:
- ESIPart
- Throws:
WTExceptionWTPropertyVetoException
-
initialize
Obtains the WTPart object identified by the ufid argument and stores it in the current attribute.
Supported API: true- Parameters:
ufid- - UFID of a WTPart.- Throws:
WTExceptionWTPropertyVetoException
-