Package wt.change2

Class AddressedBy2Delegate

java.lang.Object
wt.change2.DefaultAddressedByDelegate
wt.change2.AddressedBy2Delegate
All Implemented Interfaces:
Externalizable, Serializable, wt.change2.ChangeCardinalityDelegate<ChangeRequest2,ChangeOrder2>, ConcreteAssociationDelegate

@Deprecated public class AddressedBy2Delegate extends wt.change2.DefaultAddressedByDelegate implements ConcreteAssociationDelegate, Externalizable
Deprecated.
Replaced by Association Rules in Windchill 11.0
Returns a newly constructed BinaryLink based on the parent and child objects that participate in the link.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • validateCardinalityConstraints

      @Deprecated public void validateCardinalityConstraints(ChangeRequest2 ecr, ChangeOrder2 changeNotice) throws WTException
      Deprecated.
      Replaced by Association Rules in Windchill 11.0
      This method validates the AddressedBy link. The link is invalid if a user attempts to associate many ECR's to many ECN's and the preference is not enabled. The link is valid for the following cardinalities
    • One change request associated to many change notices(ECNS) so long as ECNS are not associated with other change requests
    • One change notice associated to many change requests(ECRS) so long as ECRS are not associated with other change notices
    • Many ECRS associated to many if ManyToManyCRCO preference is enabled
    • Revising an ECR associated to an ECN regardless of cardinality
    • Revising an ECN associated to an ECR regardless of cardinality
      Supported API: true
    • Specified by:
      validateCardinalityConstraints in interface wt.change2.ChangeCardinalityDelegate<ChangeRequest2,ChangeOrder2>
      Overrides:
      validateCardinalityConstraints in class wt.change2.DefaultAddressedByDelegate
      Parameters:
      ecr -
      changeNotice -
      Throws:
      WTException