Class DivergentAttachmentRelationshipAnnotation
- 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.DivergentAttachmentRelationshipAnnotation
-
- All Implemented Interfaces:
Serializable
public class DivergentAttachmentRelationshipAnnotation extends DivergentAttachmentAnnotation
DivergentAttachmentRelationshipAnnotation identifies a relationship and its properties that are diverging in 2 attachments for 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 DivergentAttachmentRelationshipAnnotation()Default constructorDivergentAttachmentRelationshipAnnotation(DivergentAttachmentRelationshipAnnotation 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.StringgetDivergentRelationshipGUID()Return the unique identifier of the relationship that is diverging.List<String>getDivergentRelationshipPropertyNames()Return the properties that are diverging.inthashCode()Create a hash code for this element type.voidsetDivergentRelationshipGUID(String divergentRelationshipGUID)Set up the unique identifier of the relationship that is diverging.voidsetDivergentRelationshipPropertyNames(List<String> divergentRelationshipPropertyNames)Set up the properties that are diverging.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.discovery.properties.DivergentAttachmentAnnotation
getAttachmentGUID, getDuplicateAttachmentGUID, setAttachmentGUID, setDuplicateAttachmentGUID
-
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
-
DivergentAttachmentRelationshipAnnotation
public DivergentAttachmentRelationshipAnnotation()
Default constructor
-
DivergentAttachmentRelationshipAnnotation
public DivergentAttachmentRelationshipAnnotation(DivergentAttachmentRelationshipAnnotation template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getDivergentRelationshipGUID
public String getDivergentRelationshipGUID()
Return the unique identifier of the relationship that is diverging.- Returns:
- string guid
-
setDivergentRelationshipGUID
public void setDivergentRelationshipGUID(String divergentRelationshipGUID)
Set up the unique identifier of the relationship that is diverging.- Parameters:
divergentRelationshipGUID- string guid
-
getDivergentRelationshipPropertyNames
public List<String> getDivergentRelationshipPropertyNames()
Return the properties that are diverging.- Returns:
- list of property names
-
setDivergentRelationshipPropertyNames
public void setDivergentRelationshipPropertyNames(List<String> divergentRelationshipPropertyNames)
Set up the properties that are diverging.- Parameters:
divergentRelationshipPropertyNames- list of property names
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classDivergentAttachmentAnnotation- 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 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
-
-