Class SuspectDuplicateAnnotation

  • All Implemented Interfaces:
    java.io.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 java.util.List<java.lang.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​(java.util.List<java.lang.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 java.util.List<java.lang.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​(java.util.List<java.lang.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 java.util.List<java.lang.String> getMatchingClassificationNames()
        Return the list of classifications that match in all the duplicate suspects.
        Returns:
        list of classification names
      • setMatchingClassificationNames

        public void setMatchingClassificationNames​(java.util.List<java.lang.String> matchingClassificationNames)
        Set up the list of classifications that match in all the duplicate suspects.
        Parameters:
        matchingClassificationNames - list of classification names
      • getMatchingAttachmentGUIDs

        public java.util.List<java.lang.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​(java.util.List<java.lang.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 java.util.List<java.lang.String> getMatchingRelationshipGUIDs()
        Return the list of relationships that are common across all the duplicate suspects.
        Returns:
        list of string guids
      • setMatchingRelationshipGUIDs

        public void setMatchingRelationshipGUIDs​(java.util.List<java.lang.String> matchingRelationshipGUIDs)
        Set up the list of relationships that are common across all the duplicate suspects.
        Parameters:
        matchingRelationshipGUIDs - list of string guids
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class Annotation
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.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