Class DivergentDuplicateAnnotation
java.lang.Object
org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
org.odpi.openmetadata.frameworks.discovery.properties.Annotation
org.odpi.openmetadata.frameworks.discovery.properties.DivergentDuplicateAnnotation
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DivergentAttachmentAnnotation
,DivergentClassificationAnnotation
,DivergentRelationshipAnnotation
,DivergentValueAnnotation
DivergentDuplicateAnnotation is the annotation used to record details of an asset has been identified as a duplicate because it originally
had very similar values. This annotation records the differences. As these asset diverge, it may cause updates to be made to the other copies,
or the assets may eventually be separated because they actually represent different assets now. There are many subclasses of this
annotation that allow additional information to be logged on exactly what is changing. An asset may have multiple divergent duplicate
annotations - even for the same duplicate.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the unique identifier for the Asset that is a confirmed duplicate that is diverging.int
hashCode()
Create a hash code for this element type.void
setDuplicateAnchorGUID
(String duplicateAnchorGUID) Set up he unique identifier for the Asset that is a confirmed duplicate that is diverging.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.Annotation
getAdditionalProperties, getAnalysisStep, getAnnotationStatus, getAnnotationType, getConfidenceLevel, getExplanation, getExpression, getJsonProperties, getNumAttachedAnnotations, getReviewComment, getReviewDate, getSteward, getSummary, setAdditionalProperties, setAnalysisStep, setAnnotationStatus, setAnnotationType, setConfidenceLevel, setExplanation, setExpression, setJsonProperties, setNumAttachedAnnotations, setReviewComment, setReviewDate, setSteward, setSummary
Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
getElementHeader, getExtendedProperties, getHeaderVersion, getTypeName, setElementHeader, setExtendedProperties, setHeaderVersion, setTypeName
-
Constructor Details
-
DivergentDuplicateAnnotation
public DivergentDuplicateAnnotation()Default constructor -
DivergentDuplicateAnnotation
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getDuplicateAnchorGUID
Return the unique identifier for the Asset that is a confirmed duplicate that is diverging.- Returns:
- string guid
-
setDuplicateAnchorGUID
Set up he unique identifier for the Asset that is a confirmed duplicate that is diverging.- Parameters:
duplicateAnchorGUID
- string guid
-
toString
Standard toString method.- Overrides:
toString
in classAnnotation
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classAnnotation
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classAnnotation
- Returns:
- int hash code
-