Class Difference


  • public class Difference
    extends java.lang.Object
    The type Difference. Internal use only.
    • Constructor Summary

      Constructors 
      Constructor Description
      Difference()
      Instantiates a new Difference.
      Difference​(java.lang.Object left, java.lang.Object right)
      Instantiates a new Difference.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.String propertyName, java.lang.Object left, java.lang.Object right)
      Add.
      java.util.List<DifferenceType> getDiff()
      Gets diff.
      java.lang.Object getLeft()
      Gets left.
      java.lang.Object getRight()
      Gets right.
      void setDiff​(java.util.List<DifferenceType> diff)
      Sets diff.
      void setLeft​(java.lang.Object left)
      Sets left.
      void setRight​(java.lang.Object right)
      Sets right.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Difference

        public Difference()
        Instantiates a new Difference.
      • Difference

        public Difference​(java.lang.Object left,
                          java.lang.Object right)
        Instantiates a new Difference.
        Parameters:
        left - the left
        right - the right
    • Method Detail

      • add

        public void add​(java.lang.String propertyName,
                        java.lang.Object left,
                        java.lang.Object right)
        Add.
        Parameters:
        propertyName - the property name
        left - the left
        right - the right
      • getDiff

        public java.util.List<DifferenceType> getDiff()
        Gets diff.
        Returns:
        the diff
      • getLeft

        public java.lang.Object getLeft()
        Gets left.
        Returns:
        the left
      • getRight

        public java.lang.Object getRight()
        Gets right.
        Returns:
        the right
      • setDiff

        public void setDiff​(java.util.List<DifferenceType> diff)
        Sets diff.
        Parameters:
        diff - the diff
      • setLeft

        public void setLeft​(java.lang.Object left)
        Sets left.
        Parameters:
        left - the left
      • setRight

        public void setRight​(java.lang.Object right)
        Sets right.
        Parameters:
        right - the right
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object