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
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:
-
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 TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the list of unique identifiers for the Assets that are identified as duplicate suspects.Return the list of unique identifiers for attachments that match in all the duplicate suspects.Return the list of classifications that match in all the duplicate suspects.Return the list of property names whose values match in all the duplicate suspects.Return the list of relationships that are common across all the duplicate suspects.int
hashCode()
Create a hash code for this element type.void
setDuplicateAnchorGUIDs
(List<String> duplicateAnchorGUIDs) Set up the list of unique identifiers for the Assets that are identified as duplicate suspects.void
setMatchingAttachmentGUIDs
(List<String> matchingAttachmentGUIDs) Set up the list of unique identifiers for attachments that match in all the duplicate suspects.void
setMatchingClassificationNames
(List<String> matchingClassificationNames) Set up the list of classifications that match in all the duplicate suspects.void
setMatchingPropertyNames
(List<String> matchingPropertyNames) Set up the list of property names whose values match in all the duplicate suspects.void
setMatchingRelationshipGUIDs
(List<String> matchingRelationshipGUIDs) Set up the list of relationships that are common across all the duplicate suspects.toString()
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 Details
-
SuspectDuplicateAnnotation
public SuspectDuplicateAnnotation()Default constructor -
SuspectDuplicateAnnotation
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getDuplicateAnchorGUIDs
Return the list of unique identifiers for the Assets that are identified as duplicate suspects.- Returns:
- list of string guids
-
setDuplicateAnchorGUIDs
Set up the list of unique identifiers for the Assets that are identified as duplicate suspects.- Parameters:
duplicateAnchorGUIDs
- list of string guids
-
getMatchingPropertyNames
Return the list of property names whose values match in all the duplicate suspects.- Returns:
- list of property names
-
setMatchingPropertyNames
Set up the list of property names whose values match in all the duplicate suspects.- Parameters:
matchingPropertyNames
- list of property names
-
getMatchingClassificationNames
Return the list of classifications that match in all the duplicate suspects.- Returns:
- list of classification names
-
setMatchingClassificationNames
Set up the list of classifications that match in all the duplicate suspects.- Parameters:
matchingClassificationNames
- list of classification names
-
getMatchingAttachmentGUIDs
Return the list of unique identifiers for attachments that match in all the duplicate suspects.- Returns:
- list of string guids
-
setMatchingAttachmentGUIDs
Set up the list of unique identifiers for attachments that match in all the duplicate suspects.- Parameters:
matchingAttachmentGUIDs
- list of string guids
-
getMatchingRelationshipGUIDs
Return the list of relationships that are common across all the duplicate suspects.- Returns:
- list of string guids
-
setMatchingRelationshipGUIDs
Set up the list of relationships that are common across all the duplicate suspects.- Parameters:
matchingRelationshipGUIDs
- list of string guids
-
toString
Standard toString method.- Overrides:
toString
in classAnnotation
- 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:
equals
in classAnnotation
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classAnnotation
- Returns:
- int hash code
-