Class Association

java.lang.Object
com.ptc.windchill.uwgm.common.associate.Association

public class Association extends Object
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
  • 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.