Class AbstractDiscrepancy2
java.lang.Object
com.ptc.windchill.associativity.reconciliation.AbstractBaseDiscrepancy
com.ptc.windchill.associativity.reconciliation.AbstractDiscrepancy2
- All Implemented Interfaces:
Discrepancy2
- Direct Known Subclasses:
AbstractAssembleUnderDiscrepancy,AbstractAttributeDiscrepancy,AddUsageDiscrepancy,AssociationDiscrepancy,ItemExpressionDiscrepancy,RemovedUsageDiscrepancy,SCCDiscrepancy
The base class to extend to define custom discrepancy.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ptc.windchill.associativity.reconciliation.Discrepancy2
Discrepancy2.ChangeType, Discrepancy2.Status -
Field Summary
Fields inherited from interface com.ptc.windchill.associativity.reconciliation.Discrepancy2
RECONCILIATION_RESOURCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUsually populated by verifier and reused by resolver if within same call.
Supported API: true
Supported API: true
Supported API: true Returns unmodifiable collection so it cannot be changed via getter methodvoidinitializeDiscrepancy(AssociativePath discrepantPath, Object currentValue, Object previousValue)
Supported API: truevoidsetConsumptionData(AbstractDiscrepancyProcessor.ConsumptionData consumptionData)
Supported API: true
void
Supported API: truevoidsetResolutionAction(String resolutionAction)
Supported API: truevoid
Supported API: trueMethods inherited from class com.ptc.windchill.associativity.reconciliation.AbstractBaseDiscrepancy
getChangeType, getCurrentValue, getDisplayName, getMessages, getPreviousValue, getStatus, getStatusMessage, getUniqueId, setChangeType, setCurrentValue, setPreviousValue, setStatus, setStatusMessageMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ptc.windchill.associativity.reconciliation.Discrepancy2
getCurrentValue, getMessages, getPreviousValue, getStatus, getStatusMessage, getType
-
Constructor Details
-
AbstractDiscrepancy2
Supported API: true
- Parameters:
ad2-
-
-
Method Details
-
getConsumptionData
Usually populated by verifier and reused by resolver if within same call. Is optional and can be null.
Supported API: true
- Returns:
-
setConsumptionData
Supported API: true
- Parameters:
consumptionData-
-
getDiscrepantPath
Supported API: true
- Specified by:
getDiscrepantPathin interfaceDiscrepancy2- Returns:
- - should never return null once discrepancy is found.
-
setDiscreapantPath
Supported API: true- Parameters:
path-
-
getResolvedPath
Supported API: true Returns unmodifiable collection so it cannot be changed via getter method- Specified by:
getResolvedPathin interfaceDiscrepancy2- Returns:
- - should not return null once discrepancy is resolved, but before that mostly null
-
setResolvedPath
Supported API: true- Parameters:
path-
-
getResolutionAction
Supported API: true- Returns:
-
setResolutionAction
Supported API: true- Parameters:
resolutionAction-
-
initializeDiscrepancy
public void initializeDiscrepancy(AssociativePath discrepantPath, Object currentValue, Object previousValue)
Supported API: true- Parameters:
discrepantPath-currentValue-previousValue-
-