Class PropertyChange<T>

    • Method Detail

      • getLeft

        public abstract T getLeft()
        Left (or old) value of a changed property
      • getRight

        public abstract T getRight()
        Right (or new) value of a changed property
      • getPropertyName

        public java.lang.String getPropertyName()
      • getPropertyNameWithPath

        public java.lang.String getPropertyNameWithPath()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Change
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Change
      • isPropertyAdded

        public boolean isPropertyAdded()
        Returns:
        changeType == PropertyChangeType.PROPERTY_ADDED
        Since:
        5.5.0
        See Also:
        PropertyChangeType
      • isPropertyRemoved

        public boolean isPropertyRemoved()
        Returns:
        changeType == PropertyChangeType.PROPERTY_REMOVED
        Since:
        5.5.0
        See Also:
        PropertyChangeType
      • isPropertyValueChanged

        public boolean isPropertyValueChanged()
        Returns:
        changeType == PropertyChangeType.PROPERTY_VALUE_CHANGED
        Since:
        5.5.0
        See Also:
        PropertyChangeType
      • toString

        public java.lang.String toString()
        Description copied from class: Change
        Pretty print with default dates formatting
        Overrides:
        toString in class Change