Class DivergentValueAnnotation

  • All Implemented Interfaces:
    java.io.Serializable

    public class DivergentValueAnnotation
    extends DivergentDuplicateAnnotation
    DivergentValueAnnotation lists the name of the properties that are diverging in 2 assets that are linked as duplicates.
    See Also:
    Serialized Form
    • Constructor Detail

      • DivergentValueAnnotation

        public DivergentValueAnnotation()
        Default constructor
      • DivergentValueAnnotation

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

      • getDivergentPropertyNames

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

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

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