Class DivergentAttachmentAnnotation

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DivergentAttachmentClassificationAnnotation, DivergentAttachmentRelationshipAnnotation, DivergentAttachmentValueAnnotation

public class DivergentAttachmentAnnotation extends DivergentDuplicateAnnotation
DivergentAttachmentAnnotation is the annotation used to record details attachments to an asset whose values are diverging from the values of a similar attachment in an asset that has been linked as a duplicate.
See Also:
  • Constructor Details

    • DivergentAttachmentAnnotation

      public DivergentAttachmentAnnotation()
      Default constructor
    • DivergentAttachmentAnnotation

      public DivergentAttachmentAnnotation(DivergentAttachmentAnnotation template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getAttachmentGUID

      public String getAttachmentGUID()
      Return the unique identifier for the attachment to the Asset that is diverging.
      Returns:
      string guid
    • setAttachmentGUID

      public void setAttachmentGUID(String attachmentGUID)
      Set up the unique identifier for the attachment to the Asset that is diverging.
      Parameters:
      attachmentGUID - string guid
    • getDuplicateAttachmentGUID

      public String getDuplicateAttachmentGUID()
      Return the unique identifier for the attachment of the other Asset that is diverging.
      Returns:
      string guid
    • setDuplicateAttachmentGUID

      public void setDuplicateAttachmentGUID(String duplicateAttachmentGUID)
      Set up the unique identifier for the attachment of the other Asset that is diverging.
      Parameters:
      duplicateAttachmentGUID - string guid
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class DivergentDuplicateAnnotation
      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 DivergentDuplicateAnnotation
      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 DivergentDuplicateAnnotation
      Returns:
      int hash code