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
  • Method Details

    • matchEdges

      public abstract int matchEdges(DSBEdge sourceEdge, DSBEdge targetEdge)
      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

      protected abstract List<com.ptc.cat.entity.client.attribute.Attribute> initRequiredEdgeAttributes()
      Returns the list of edge Attributes that are required for this matcher.

      Supported API: true
      Returns:
    • initRequiredNodeAttributes

      protected abstract List<com.ptc.cat.entity.client.attribute.Attribute> initRequiredNodeAttributes()
      Returns the list of node Attributes that are required for this matcher.

      Supported API: true
      Returns: