Class PropertyChange


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

      • EMPTY_CHANGE

        public static final PropertyChange EMPTY_CHANGE
        the empty change
      • propertyName

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

        protected Object orgValue
        the original value
      • newValue

        protected Object newValue
        the new value
    • Constructor Detail

      • PropertyChange

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

      • getPropertyName

        public String getPropertyName()
      • setPropertyName

        public void setPropertyName​(String propertyName)
      • getOrgValue

        public Object getOrgValue()
      • setOrgValue

        public void setOrgValue​(Object orgValue)
      • getNewValue

        public Object getNewValue()
      • setNewValue

        public void setNewValue​(Object newValue)
      • getNewValueString

        public String getNewValueString()
      • getOrgValueString

        public String getOrgValueString()
      • valueAsString

        protected String valueAsString​(Object value)