Class PropertyChange
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.PropertyChange
-
public class PropertyChange extends java.lang.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 java.lang.Object
newValue
the new valueprotected java.lang.Object
orgValue
the original valueprotected java.lang.String
propertyName
the 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.Object
getNewValue()
java.lang.String
getNewValueString()
java.lang.Object
getOrgValue()
java.lang.String
getOrgValueString()
java.lang.String
getPropertyName()
void
setNewValue(java.lang.Object newValue)
void
setOrgValue(java.lang.Object orgValue)
void
setPropertyName(java.lang.String propertyName)
protected java.lang.String
valueAsString(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)
-
-