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 PropertyChangeEMPTY_CHANGEthe empty changeprotected ObjectnewValuethe new valueprotected ObjectorgValuethe original valueprotected StringpropertyNamethe 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 ObjectgetNewValue()StringgetNewValueString()ObjectgetOrgValue()StringgetOrgValueString()StringgetPropertyName()voidsetNewValue(Object newValue)voidsetOrgValue(Object orgValue)voidsetPropertyName(String propertyName)protected StringvalueAsString(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()
-
-