Class DivergentDuplicateAnnotation

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DivergentAttachmentAnnotation, DivergentClassificationAnnotation, DivergentRelationshipAnnotation, DivergentValueAnnotation

    public class DivergentDuplicateAnnotation
    extends Annotation
    DivergentDuplicateAnnotation is the annotation used to record details of an asset has been identified as a duplicate because it originally had very similar values. This annotation records the differences. As these asset diverge, it may cause updates to be made to the other copies, or the assets may eventually be separated because they actually represent different assets now. There are many subclasses of this annotation that allow additional information to be logged on exactly what is changing. An asset may have multiple divergent duplicate annotations - even for the same duplicate.
    See Also:
    Serialized Form
    • Constructor Detail

      • DivergentDuplicateAnnotation

        public DivergentDuplicateAnnotation()
        Default constructor
      • DivergentDuplicateAnnotation

        public DivergentDuplicateAnnotation​(DivergentDuplicateAnnotation template)
        Copy/clone constructor.
        Parameters:
        template - object to copy
    • Method Detail

      • getDuplicateAnchorGUID

        public java.lang.String getDuplicateAnchorGUID()
        Return the unique identifier for the Asset that is a confirmed duplicate that is diverging.
        Returns:
        string guid
      • setDuplicateAnchorGUID

        public void setDuplicateAnchorGUID​(java.lang.String duplicateAnchorGUID)
        Set up he unique identifier for the Asset that is a confirmed duplicate that is diverging.
        Parameters:
        duplicateAnchorGUID - string guid
      • 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