com.ptc.epm.commands.XMLutil
Class ECADComponent
java.lang.Object
com.ptc.epm.commands.XMLutil.ECADXMLAbstractObject
com.ptc.epm.commands.XMLutil.ECADComponent
- All Implemented Interfaces:
- Serializable
- public class ECADComponent
- extends ECADXMLAbstractObject
ECADComponent holds the data read from the defining XML file necessary
for adding an Components to an ECADAssembly document.
Each Component will be linked to the parent doc by an EPMMemberLink
with an EPMUseOccurrence for each referenceDesignator name.
- See Also:
- Serialized Form
Methods inherited from class com.ptc.epm.commands.XMLutil.ECADXMLAbstractObject |
getCheckInComment, getDescription, getName, getNode, getNumber, getRevision, setAttribute, setCheckInComment, setDescription, setName, setNumber, setRevision |
COMPONENT_TAG
public static final String COMPONENT_TAG
- See Also:
- Constant Field Values
COMPONENT_ITEM_ATTR
private static final String COMPONENT_ITEM_ATTR
- See Also:
- Constant Field Values
QUANTITY_TAG
public static final String QUANTITY_TAG
- See Also:
- Constant Field Values
QUANTITY_VALUE_ATTR
public static final String QUANTITY_VALUE_ATTR
- See Also:
- Constant Field Values
QUANTITY_UNIT_ATTR
public static final String QUANTITY_UNIT_ATTR
- See Also:
- Constant Field Values
REFERENCE_DESIGNATOR_TAG
public static final String REFERENCE_DESIGNATOR_TAG
- See Also:
- Constant Field Values
REFERENCE_DESIGNATOR_NAME_ATTR
public static final String REFERENCE_DESIGNATOR_NAME_ATTR
- See Also:
- Constant Field Values
QUANTITY_UNIT_DEFAULT
private static final String QUANTITY_UNIT_DEFAULT
- See Also:
- Constant Field Values
parentNodes
private HashMap parentNodes
referenceDesignatorNames
private Vector referenceDesignatorNames
usesOccurrenceLinks
private Vector usesOccurrenceLinks
quantity
private int quantity
quantityUnits
private String quantityUnits
attributes
private Vector attributes
ECADComponent
public ECADComponent(Element node)
throws WTException
getParentNode
public ECADDocument getParentNode(String number)
addParentNode
public void addParentNode(ECADDocument _parent)
removeParentNode
public void removeParentNode(String number)
getParents
public Object[] getParents()
getItem
public String getItem()
getReferenceDesignatorNames
public Vector getReferenceDesignatorNames()
appendRefDesignator
public void appendRefDesignator(String name)
getAttributes
public Vector getAttributes()
setAttributes
public void setAttributes(Vector attrs)
getCapacity
public int getCapacity()
getQuantity
public int getQuantity()
getQuantityUnits
public String getQuantityUnits()
initQuantity
private void initQuantity()
initRefDesignators
private void initRefDesignators()
toString
public String toString()