Class PropertyChange
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.PropertyChange
-
public class PropertyChange extends java.lang.ObjectContains data about a property change.- Author:
- Daniel Meyer, Danny Gräf
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyChangeEMPTY_CHANGEthe empty changeprotected java.lang.ObjectnewValuethe new valueprotected java.lang.ObjectorgValuethe original valueprotected java.lang.StringpropertyNamethe 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetNewValue()java.lang.StringgetNewValueString()java.lang.ObjectgetOrgValue()java.lang.StringgetOrgValueString()java.lang.StringgetPropertyName()voidsetNewValue(java.lang.Object newValue)voidsetOrgValue(java.lang.Object orgValue)voidsetPropertyName(java.lang.String propertyName)protected java.lang.StringvalueAsString(java.lang.Object value)
-
-
-
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
-
-
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)
-
-