Class PropertyChange
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.PropertyChange
-
public class PropertyChange extends 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 changeprotected Object
newValue
the new valueprotected Object
orgValue
the original valueprotected String
propertyName
the name of the property which has been changed
-
Constructor Summary
Constructors Constructor Description PropertyChange(String propertyName, Object orgValue, Object newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
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
-
-
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()
-
-