Class PropertyChange


  • public class PropertyChange
    extends java.lang.Object
    Contains data about a property change.
    Author:
    Daniel Meyer, Danny Gräf
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static PropertyChange EMPTY_CHANGE
      the empty change
      protected java.lang.Object newValue
      the new value
      protected java.lang.Object orgValue
      the original value
      protected java.lang.String propertyName
      the name of the property which has been changed
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyChange​(java.lang.String propertyName, java.lang.Object orgValue, java.lang.Object newValue)  
    • Field Detail

      • EMPTY_CHANGE

        public static final PropertyChange EMPTY_CHANGE
        the empty change
      • propertyName

        protected java.lang.String propertyName
        the name of the property which has been changed
      • orgValue

        protected java.lang.Object orgValue
        the original value
      • newValue

        protected java.lang.Object newValue
        the new value
    • Constructor Detail

      • PropertyChange

        public PropertyChange​(java.lang.String propertyName,
                              java.lang.Object orgValue,
                              java.lang.Object newValue)
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()
      • setPropertyName

        public void setPropertyName​(java.lang.String propertyName)
      • getOrgValue

        public java.lang.Object getOrgValue()
      • setOrgValue

        public void setOrgValue​(java.lang.Object orgValue)
      • getNewValue

        public java.lang.Object getNewValue()
      • setNewValue

        public void setNewValue​(java.lang.Object newValue)
      • getNewValueString

        public java.lang.String getNewValueString()
      • getOrgValueString

        public java.lang.String getOrgValueString()
      • valueAsString

        protected java.lang.String valueAsString​(java.lang.Object value)