Element
|
Type
|
Description
|
---|---|---|
wt.change2.ChangeCardinalityDelegate
|
Interface
|
Generalizable Interface for cardinality rules
|
wt.change2.DefaultAddressedByDelegate
|
Link class
|
Supports 1-1 ChangeRequest2 to ChangeOrder2 cardinality
|
wt.change2.DefaultFormalizedByDelegate
|
Link class
|
Supports 1-1 ChangeRequest2 to ChangeIssue2 cardinality
|
wt.change2.AddressedByDelegate
|
Link class
|
Supports 1-N, N-1 or N-M (preference driven) WTChangeRequest2 to ChangeOrder2 cardinality
|
wt.change2.FormalizedByDelegate
|
Link class
|
Supports 1-N, N-1 or N-M (preference driven) WTChangeRequest2 to ChangeIssue2 cardinality
|
ChangeMgmt-service.properties.xconf
|
Default change service properties
|
Property file which registers the above cardinality rules out-of-the-box.
|
|
When defining this xconf configuration, it is important that the requestor (in this case the ext.change2.YourChangeRequest2) is not an abstract type, this is because the framework performs the lookup based on a concrete class name (and it does not support hierarchical lookup of types). The selector class, however, can be an abstract type. If you do not register your delegate, then the default Windchill implementation would be used instead of your delegate. This default implementation supports 1-N, N-1, N-N (if the change object cardinality preference is enabled).
Modifying the cardinality of out of the box Windchill types:
For example, if you wanted to apply 1-1 cardinality between the WTVariance and the WTChangeRequest2, you would have add the following properties to xconf configuration:
<Service context="default" name="wt.change2.ChangeCardinalityDelegate">
<Option requestor="wt.change2.WTChangeRequest2" cardinality="singleton" serviceClass="wt.change2.DefaultFormalizedByDelegate" selector="wt.change2.WTVariance"/> </Service> |