public class PropertyChange extends Object
Modifier and Type | Field and Description |
---|---|
static PropertyChange |
EMPTY_CHANGE
the empty change
|
protected Object |
newValue
the new value
|
protected Object |
orgValue
the original value
|
protected String |
propertyName
the name of the property which has been changed
|
Constructor and Description |
---|
PropertyChange(String propertyName,
Object orgValue,
Object newValue) |
Modifier and Type | Method and Description |
---|---|
Object |
getNewValue() |
String |
getNewValueString() |
Object |
getOrgValue() |
String |
getOrgValueString() |
String |
getPropertyName() |
void |
setNewValue(Object newValue) |
void |
setOrgValue(Object orgValue) |
void |
setPropertyName(String propertyName) |
protected String |
valueAsString(Object value) |
public static final PropertyChange EMPTY_CHANGE
protected String propertyName
protected Object orgValue
protected Object newValue
public String getPropertyName()
public void setPropertyName(String propertyName)
public Object getOrgValue()
public void setOrgValue(Object orgValue)
public Object getNewValue()
public void setNewValue(Object newValue)
public String getNewValueString()
public String getOrgValueString()
Copyright © 2017. All rights reserved.