Class DivergentRelationshipAnnotation

  • All Implemented Interfaces:
    java.io.Serializable

    public class DivergentRelationshipAnnotation
    extends DivergentDuplicateAnnotation
    DivergentRelationshipAnnotation identifies a relationship and its properties that are diverging in 2 assets that are linked as duplicates.
    See Also:
    Serialized Form
    • Constructor Detail

      • DivergentRelationshipAnnotation

        public DivergentRelationshipAnnotation()
        Default constructor
      • DivergentRelationshipAnnotation

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

      • getDivergentRelationshipGUID

        public java.lang.String getDivergentRelationshipGUID()
        Return the unique identifier of the relationship that is diverging.
        Returns:
        string guid
      • setDivergentRelationshipGUID

        public void setDivergentRelationshipGUID​(java.lang.String divergentRelationshipGUID)
        Set up the unique identifier of the relationship that is diverging.
        Parameters:
        divergentRelationshipGUID - string guid
      • getDivergentRelationshipPropertyNames

        public java.util.List<java.lang.String> getDivergentRelationshipPropertyNames()
        Return the properties that are diverging.
        Returns:
        list of property names
      • setDivergentRelationshipPropertyNames

        public void setDivergentRelationshipPropertyNames​(java.util.List<java.lang.String> divergentRelationshipPropertyNames)
        Set up the properties that are diverging.
        Parameters:
        divergentRelationshipPropertyNames - 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