Class SmartCollectionComparisonResult

java.lang.Object
com.ptc.windchill.associativity.accountability.compare.SmartCollectionComparisonResult

public class SmartCollectionComparisonResult extends Object
Helper class to hold Smart Collections Comparison Result

Supported API: true

Extendable: false
  • Constructor Details

    • SmartCollectionComparisonResult

      public SmartCollectionComparisonResult()


      Supported API: true
  • Method Details

    • merge

      public void merge(SmartCollectionComparisonResult result)


      Supported API: true
      Parameters:
      result -
    • getAddedPaths

      public Map<AccountabilityKeyType,Set<AssociativePath>> getAddedPaths()


      Supported API: true
      Returns:
    • getRemovedPaths

      public Map<AccountabilityKeyType,Set<AssociativePath>> getRemovedPaths()


      Supported API: true
      Returns:
    • getQuantityCompareResults

      public Map<AccountabilityKeyType,List<CompareQuantityResult>> getQuantityCompareResults()


      Supported API: true
      Returns:
    • getRootDifferences

      public Map<AccountabilityKeyType,Boolean> getRootDifferences()


      Supported API: true
      Returns:
    • areRootsDifferent

      public Boolean areRootsDifferent(AccountabilityKeyType key)
      If root(context) is different for the given key

      Supported API: true
      Parameters:
      key -
      Returns:
      Boolean
    • getQuantityCompareResults

      public List<CompareQuantityResult> getQuantityCompareResults(AccountabilityKeyType key)
      Returns AssociativePath , current and old quantity for upstream paths when quantities do not match

      Supported API: true
      see CompareQuantityResult
      Parameters:
      key -
      Returns:
      List
    • getAddedPaths

      public Set<AssociativePath> getAddedPaths(AccountabilityKeyType key)
      gets newly added paths to the SmartCollection for the key

      Supported API: true
      Parameters:
      key -
      Returns:
      Set
    • getRemovedPaths

      public Set<AssociativePath> getRemovedPaths(AccountabilityKeyType key)
      gets removed paths from the SmartCollection for the key

      Supported API: true
      Parameters:
      key -
      Returns:
      Set
    • hasNCDifferences

      public boolean hasNCDifferences(AccountabilityKeyType key)
      Returns true if there is a difference between the two SmartCollection revision's NC Returns false when any/both of the SmartCollection don't have NC captured for the key

      Supported API: true
      Parameters:
      key -
      Returns:
      boolean
    • hasDifferences

      public boolean hasDifferences()
      Returns true if there are any differences between the two SmartCollection revisions

      Supported API: true
      Returns:
      boolean
    • setHasDifferences

      public void setHasDifferences(boolean hasDifferences)


      Supported API: true
      Parameters:
      hasDifferences -