Class SmartCollectionComparisonResult
java.lang.Object
com.ptc.windchill.associativity.accountability.compare.SmartCollectionComparisonResult
Helper class to hold Smart Collections Comparison Result
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf root(context) is different for the given key
Supported API: true
Supported API: truegets newly added paths to the SmartCollection for the key
Supported API: true
Supported API: trueReturnsAssociativePath, current and old quantity for upstream paths when quantities do not match
Supported API: true
seeCompareQuantityResult
Supported API: truegets removed paths from the SmartCollection for the key
Supported API: true
Supported API: truebooleanReturns true if there are any differences between the two SmartCollection revisions
Supported API: truebooleanReturns 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: truevoidmerge(SmartCollectionComparisonResult result)
Supported API: truevoidsetHasDifferences(boolean hasDifferences)
Supported API: true
-
Constructor Details
-
SmartCollectionComparisonResult
public SmartCollectionComparisonResult()
Supported API: true
-
-
Method Details
-
merge
Supported API: true- Parameters:
result-
-
getAddedPaths
Supported API: true- Returns:
-
getRemovedPaths
Supported API: true- Returns:
-
getQuantityCompareResults
Supported API: true- Returns:
-
getRootDifferences
Supported API: true- Returns:
-
areRootsDifferent
If root(context) is different for the given key
Supported API: true- Parameters:
key-- Returns:
- Boolean
-
getQuantityCompareResults
ReturnsAssociativePath, current and old quantity for upstream paths when quantities do not match
Supported API: true
seeCompareQuantityResult- Parameters:
key-- Returns:
- List
-
getAddedPaths
gets newly added paths to the SmartCollection for the key
Supported API: true- Parameters:
key-- Returns:
- Set
-
getRemovedPaths
gets removed paths from the SmartCollection for the key
Supported API: true- Parameters:
key-- Returns:
- Set
-
hasNCDifferences
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-
-