Class DivergentAttachmentValueAnnotation

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • DivergentAttachmentValueAnnotation

        public DivergentAttachmentValueAnnotation()
        Default constructor
      • DivergentAttachmentValueAnnotation

        public DivergentAttachmentValueAnnotation​(DivergentAttachmentValueAnnotation 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
      • 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 DivergentAttachmentAnnotation
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison