Class SuspectDuplicateAnnotation
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.discovery.properties.PropertyBase
-
- org.odpi.openmetadata.frameworks.discovery.properties.Annotation
-
- org.odpi.openmetadata.frameworks.discovery.properties.SuspectDuplicateAnnotation
-
- All Implemented Interfaces:
Serializable
public class SuspectDuplicateAnnotation extends Annotation
SuspectDuplicateAnnotation is the annotation used to record details of an asset that seems to be a duplicate of the asset being analysed by a discovery service.- 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 SuspectDuplicateAnnotation()Default constructorSuspectDuplicateAnnotation(SuspectDuplicateAnnotation 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.List<String>getDuplicateAnchorGUIDs()Return the list of unique identifiers for the Assets that are identified as duplicate suspects.List<String>getMatchingAttachmentGUIDs()Return the list of unique identifiers for attachments that match in all of the duplicate suspects.List<String>getMatchingClassificationNames()Return the list of classifications that match in all of the duplicate suspects.List<String>getMatchingPropertyNames()Return the list of property names whose values match in all of the duplicate suspects.List<String>getMatchingRelationshipGUIDs()Return the list of relationships that are common across all of the duplicate suspects.inthashCode()Create a hash code for this element type.voidsetDuplicateAnchorGUIDs(List<String> duplicateAnchorGUIDs)Set up the list of unique identifiers for the Assets that are identified as duplicate suspects.voidsetMatchingAttachmentGUIDs(List<String> matchingAttachmentGUIDs)Set up the list of unique identifiers for attachments that match in all of the duplicate suspects.voidsetMatchingClassificationNames(List<String> matchingClassificationNames)Set up the list of classifications that match in all of the duplicate suspects.voidsetMatchingPropertyNames(List<String> matchingPropertyNames)Set up the list of property names whose values match in all of the duplicate suspects.voidsetMatchingRelationshipGUIDs(List<String> matchingRelationshipGUIDs)Set up the list of relationships that are common across all of the duplicate suspects.StringtoString()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 Detail
-
SuspectDuplicateAnnotation
public SuspectDuplicateAnnotation()
Default constructor
-
SuspectDuplicateAnnotation
public SuspectDuplicateAnnotation(SuspectDuplicateAnnotation template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getDuplicateAnchorGUIDs
public List<String> getDuplicateAnchorGUIDs()
Return the list of unique identifiers for the Assets that are identified as duplicate suspects.- Returns:
- list of string guids
-
setDuplicateAnchorGUIDs
public void setDuplicateAnchorGUIDs(List<String> duplicateAnchorGUIDs)
Set up the list of unique identifiers for the Assets that are identified as duplicate suspects.- Parameters:
duplicateAnchorGUIDs- list of string guids
-
getMatchingPropertyNames
public List<String> getMatchingPropertyNames()
Return the list of property names whose values match in all of the duplicate suspects.- Returns:
- list of property names
-
setMatchingPropertyNames
public void setMatchingPropertyNames(List<String> matchingPropertyNames)
Set up the list of property names whose values match in all of the duplicate suspects.- Parameters:
matchingPropertyNames- list of property names
-
getMatchingClassificationNames
public List<String> getMatchingClassificationNames()
Return the list of classifications that match in all of the duplicate suspects.- Returns:
- list of classification names
-
setMatchingClassificationNames
public void setMatchingClassificationNames(List<String> matchingClassificationNames)
Set up the list of classifications that match in all of the duplicate suspects.- Parameters:
matchingClassificationNames- list of classification names
-
getMatchingAttachmentGUIDs
public List<String> getMatchingAttachmentGUIDs()
Return the list of unique identifiers for attachments that match in all of the duplicate suspects.- Returns:
- list of string guids
-
setMatchingAttachmentGUIDs
public void setMatchingAttachmentGUIDs(List<String> matchingAttachmentGUIDs)
Set up the list of unique identifiers for attachments that match in all of the duplicate suspects.- Parameters:
matchingAttachmentGUIDs- list of string guids
-
getMatchingRelationshipGUIDs
public List<String> getMatchingRelationshipGUIDs()
Return the list of relationships that are common across all of the duplicate suspects.- Returns:
- list of string guids
-
setMatchingRelationshipGUIDs
public void setMatchingRelationshipGUIDs(List<String> matchingRelationshipGUIDs)
Set up the list of relationships that are common across all of the duplicate suspects.- Parameters:
matchingRelationshipGUIDs- list of string guids
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classAnnotation- 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 classAnnotation- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classAnnotation- Returns:
- int hash code
-
-