Class Association
java.lang.Object
com.ptc.windchill.uwgm.common.associate.Association
Small concrete class to describe association between EPMDocument and WTPart to be
processed, created or deleted.
Can be used as an instruction for associate/dissociate/move API.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of operation to be performed on association
Supported API: truestatic enumAssociation type
Supported API: true -
Constructor Summary
ConstructorsModifierConstructorDescriptionAssociation(EPMDocument doc, WTPart part, EPMDocument moveSource, ModelItem modelItem, Association.Type assocType, boolean roleStruct, boolean roleRep, boolean roleAttr, Association.Operation operation) Constructor for creating Association instruction for moveAssociations API
Supported API: true -
Method Summary
-
Constructor Details
-
Association
public Association(EPMDocument doc, WTPart part, EPMDocument moveSource, ModelItem modelItem, Association.Type assocType, boolean roleStruct, boolean roleRep, boolean roleAttr, Association.Operation operation) Constructor for creating Association instruction for moveAssociations API
Supported API: true- Parameters:
doc- The target EPMDocument for moveAssociations operation.part- The WTPart whose association need to be moved.moveSource- The source EPMDocument which is currently associated with part.modelItem- The optional ModelItem if the existing association is a model item association.assocType- The type of the association - Active/Passive.roleStruct- build flag representing the structure type association.roleRep- build flag representing the representation type association.roleAttr- build flag representing the attribute type association.operation- the type of operation.
-