Class DivergentAttachmentAnnotation
- 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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DivergentAttachmentClassificationAnnotation,DivergentAttachmentRelationshipAnnotation,DivergentAttachmentValueAnnotation
public class DivergentAttachmentAnnotation extends DivergentDuplicateAnnotation
DivergentAttachmentAnnotation is the annotation used to record details attachments to an asset whose values are diverging from the values of a similar attachment in an asset that has been linked as a duplicate.- 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 DivergentAttachmentAnnotation()Default constructorDivergentAttachmentAnnotation(DivergentAttachmentAnnotation 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.StringgetAttachmentGUID()Return the unique identifier for the attachment to the Asset that is diverging.StringgetDuplicateAttachmentGUID()Return the unique identifier for the attachment of the other Asset that is diverging.inthashCode()Create a hash code for this element type.voidsetAttachmentGUID(String attachmentGUID)Set up the unique identifier for the attachment to the Asset that is diverging.voidsetDuplicateAttachmentGUID(String duplicateAttachmentGUID)Set up the unique identifier for the attachment of the other Asset that is 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
-
DivergentAttachmentAnnotation
public DivergentAttachmentAnnotation()
Default constructor
-
DivergentAttachmentAnnotation
public DivergentAttachmentAnnotation(DivergentAttachmentAnnotation template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getAttachmentGUID
public String getAttachmentGUID()
Return the unique identifier for the attachment to the Asset that is diverging.- Returns:
- string guid
-
setAttachmentGUID
public void setAttachmentGUID(String attachmentGUID)
Set up the unique identifier for the attachment to the Asset that is diverging.- Parameters:
attachmentGUID- string guid
-
getDuplicateAttachmentGUID
public String getDuplicateAttachmentGUID()
Return the unique identifier for the attachment of the other Asset that is diverging.- Returns:
- string guid
-
setDuplicateAttachmentGUID
public void setDuplicateAttachmentGUID(String duplicateAttachmentGUID)
Set up the unique identifier for the attachment of the other Asset that is diverging.- Parameters:
duplicateAttachmentGUID- string guid
-
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
-
-