Class OptionSetAssignmentHistory

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._ObjectToObjectLink
wt.fc.ObjectToObjectLink
com.ptc.windchill.esi.ov._OptionSetAssignmentHistory
com.ptc.windchill.esi.ov.OptionSetAssignmentHistory
All Implemented Interfaces:
Externalizable, Serializable, wt.esi._Releasable, Releasable, wt.fc._BinaryLink, wt.fc._Link, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

@GenAsBinaryLink(superClass=ObjectToObjectLink.class, interfaces=Releasable.class, extendable=false, serializable=EXTERNALIZABLE_BASIC, roleA=@GeneratedRole(name="persistable",type=Persistable.class,supportedAPI=PUBLIC,javaDoc="Persistable object being published for which the Assigned Option Set is available."), roleB=@GeneratedRole(name="assingedOptionSet",type=OptionSet.class,supportedAPI=PUBLIC,javaDoc="OptionSet available for the Persiatble object and displayed in \"Assigned Option Set \" table."), tableProperties=@TableProperties(tableName="OptionSetAssignmentHistory",oracleTableSize=LARGE)) public class OptionSetAssignmentHistory extends _OptionSetAssignmentHistory
Link that maintains the history of an associated OptionSet for a particular persistable. This is the link between an object for which the OptionSet is available and displayed in the "Assigned Option Set" table. This will be used to maintain the history of the RegisteredOptionSetLink and will be used by ESI to calculate the difference between the two iterations of object for which assigned OptionSet is modified during subsequent publication of an object. When object has assigned OptionSet then relationship is actually maintained by RegisteredOptionSetLink by way of associating OptionSetAssignable to OptionSetMaster. As this is kind of master to master relationship this link cannot be used to determine the change in assigned OptionSet. Therefore this link is created with the object being published and for which there is a specific OptionSet assigned.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • newOptionSetAssignmentHistory

      public static OptionSetAssignmentHistory newOptionSetAssignmentHistory(Persistable obj, OptionSet optionSet) throws WTException
      Creates the association between assigned OptionSet and object being published.

      Supported API: true
      Parameters:
      obj - - An object being published.
      optionSet - - Assigned option set.
      Returns:
      OptionSetAssignmentHistory An instance of link.
      Throws:
      WTException