Class DSBAbstractMatcher
java.lang.Object
com.ptc.windchill.enterprise.dsb.server.graph.matcher.DSBAbstractMatcher
- All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild
- Direct Known Subclasses:
DSBMatcherPartPathOccurrence,DSBMatcherWTPartUsageLink
public abstract class DSBAbstractMatcher
extends Object
implements wt.services.applicationcontext.ApplicationContextChild
This is the class to facilitate DSBGraphProcessor to find matching edges and set status flag on root summary
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<com.ptc.cat.entity.client.attribute.Attribute> Returns the list of edge Attributes that are required for this matcher.protected abstract List<com.ptc.cat.entity.client.attribute.Attribute> Returns the list of node Attributes that are required for this matcher.abstract intmatchEdges(DSBEdge sourceEdge, DSBEdge targetEdge) Determine if two edges match.
-
Method Details
-
matchEdges
Determine if two edges match. Returns a negative number if the edges do not match. Returns zero if the edges exactly match. Returns a positive integer if the two edges are a likely match. The lower the number the more suitable the match.
Supported API: true- Parameters:
sourceEdge-targetEdge-- Returns:
-
initRequiredEdgeAttributes
Returns the list of edge Attributes that are required for this matcher.
Supported API: true- Returns:
-
initRequiredNodeAttributes
Returns the list of node Attributes that are required for this matcher.
Supported API: true- Returns:
-