Class DivergentClassificationAnnotation
- 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.DivergentClassificationAnnotation
-
- All Implemented Interfaces:
Serializable
public class DivergentClassificationAnnotation extends DivergentDuplicateAnnotation
DivergentClassificationAnnotation identifies a classification and its properties that are diverging in 2 assets that are linked as duplicates.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description DivergentClassificationAnnotation()Default constructorDivergentClassificationAnnotation(DivergentClassificationAnnotation template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetDivergentClassificationName()Return the name of the classification that is diverging.List<String>getDivergentClassificationPropertyNames()Return the properties that are diverging.inthashCode()Create a hash code for this element type.voidsetDivergentClassificationName(String divergentClassificationName)Set up the name of the classification that is diverging.voidsetDivergentClassificationPropertyNames(List<String> divergentClassificationPropertyNames)Set up the properties that are diverging.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.DivergentDuplicateAnnotation
getDuplicateAnchorGUID, setDuplicateAnchorGUID
-
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 Detail
-
DivergentClassificationAnnotation
public DivergentClassificationAnnotation()
Default constructor
-
DivergentClassificationAnnotation
public DivergentClassificationAnnotation(DivergentClassificationAnnotation template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getDivergentClassificationName
public String getDivergentClassificationName()
Return the name of the classification that is diverging.- Returns:
- name of classification
-
setDivergentClassificationName
public void setDivergentClassificationName(String divergentClassificationName)
Set up the name of the classification that is diverging.- Parameters:
divergentClassificationName- name of classification
-
getDivergentClassificationPropertyNames
public List<String> getDivergentClassificationPropertyNames()
Return the properties that are diverging.- Returns:
- list of property names
-
setDivergentClassificationPropertyNames
public void setDivergentClassificationPropertyNames(List<String> divergentClassificationPropertyNames)
Set up the properties that are diverging.- Parameters:
divergentClassificationPropertyNames- list of property names
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classDivergentDuplicateAnnotation- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classDivergentDuplicateAnnotation- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classDivergentDuplicateAnnotation- Returns:
- int hash code
-
-