Solution
Use the out-of-the-box configuration and customization hooks to implement logic to fetch the equivalence network.
Prerequisite Knowledge
To perform this task, you need to understand the following:
Basic development involving Java.
Windchill xconfmanager and delegate concepts.
Solution Elements
Equivalence Network Delegate: Abstract class to define a custom or default delegate. You can extend this class or DefaultEquivalenceNetworkDelegate that follows.
DefaultEquivalenceNetworkDelegate: Default implementation of EquivalenceNetworkDelegate.
An example of out-of-the-box configuration follows. The xconf file for configuration: associativity.service.properties.xconf, is located at codebase\com\ptc\windchill\associativity\xconfs.
<!-- Equivalence Network delegate -->
<Service context="default" name="com.ptc.windchill.associativity.equivalence.EquivalenceNetworkDelegate">
<Option cardinality="singleton" requestor="wt.part.WTPart" serviceClass="com.ptc.windchill.associativity.equivalence.DefaultEquivalenceNetworkDelegate"/>
</Service>
* 
The requestor is the internal name of object type.
Было ли это полезно?