Class DivergentAttachmentValueAnnotation

All Implemented Interfaces:
Serializable

public class DivergentAttachmentValueAnnotation extends DivergentAttachmentAnnotation
DivergentValueAnnotation lists the name of the properties that are diverging in 2 assets that are linked as duplicates.
See Also:
  • Constructor Details

    • DivergentAttachmentValueAnnotation

      public DivergentAttachmentValueAnnotation()
      Default constructor
    • DivergentAttachmentValueAnnotation

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

    • getDivergentPropertyNames

      public List<String> getDivergentPropertyNames()
      Return the properties of the Asset that are diverging from the duplicate.
      Returns:
      list of property names
    • setDivergentPropertyNames

      public void setDivergentPropertyNames(List<String> divergentPropertyNames)
      Set up the unique identifier for the attachment to the Asset that is diverging.
      Parameters:
      divergentPropertyNames - list of property names
    • toString

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