Class DivergentAttachmentValueAnnotation
java.lang.Object
org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
org.odpi.openmetadata.frameworks.discovery.properties.Annotation
org.odpi.openmetadata.frameworks.discovery.properties.DivergentDuplicateAnnotation
org.odpi.openmetadata.frameworks.discovery.properties.DivergentAttachmentAnnotation
org.odpi.openmetadata.frameworks.discovery.properties.DivergentAttachmentValueAnnotation
- All Implemented Interfaces:
Serializable
DivergentValueAnnotation lists the name of the properties that are diverging in 2 assets that are linked as
duplicates.
- 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 TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the properties of the Asset that are diverging from the duplicate.inthashCode()Create a hash code for this element type.voidsetDivergentPropertyNames(List<String> divergentPropertyNames) Set up the unique identifier for the attachment to the Asset that is diverging.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.DivergentAttachmentAnnotation
getAttachmentGUID, getDuplicateAttachmentGUID, setAttachmentGUID, setDuplicateAttachmentGUIDMethods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.DivergentDuplicateAnnotation
getDuplicateAnchorGUID, setDuplicateAnchorGUIDMethods 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, setSummaryMethods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
getElementHeader, getExtendedProperties, getHeaderVersion, getTypeName, setElementHeader, setExtendedProperties, setHeaderVersion, setTypeName
-
Constructor Details
-
DivergentAttachmentValueAnnotation
public DivergentAttachmentValueAnnotation()Default constructor -
DivergentAttachmentValueAnnotation
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getDivergentPropertyNames
Return the properties of the Asset that are diverging from the duplicate.- Returns:
- list of property names
-
setDivergentPropertyNames
Set up the unique identifier for the attachment to the Asset that is diverging.- Parameters:
divergentPropertyNames- list of property names
-
toString
Standard toString method.- Overrides:
toStringin classDivergentAttachmentAnnotation- 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:
equalsin classDivergentAttachmentAnnotation- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classDivergentAttachmentAnnotation- Returns:
- int hash code
-