Class 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
    • 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 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 the duplicate suspects.
        Parameters:
        matchingPropertyNames - list of property names
      • getMatchingClassificationNames

        public List<String> getMatchingClassificationNames()
        Return the list of classifications that match in all 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 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 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 the duplicate suspects.
        Parameters:
        matchingAttachmentGUIDs - list of string guids
      • getMatchingRelationshipGUIDs

        public List<String> getMatchingRelationshipGUIDs()
        Return the list of relationships that are common across all 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 the duplicate suspects.
        Parameters:
        matchingRelationshipGUIDs - list of string guids
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Annotation
        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:
        equals in class Annotation
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class Annotation
        Returns:
        int hash code