org.camunda.bpm.engine.impl.persistence.entity
Class PropertyChange

java.lang.Object
  extended by 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
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 Summary
PropertyChange(String propertyName, Object orgValue, Object newValue)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Constructor Detail

PropertyChange

public PropertyChange(String propertyName,
                      Object orgValue,
                      Object newValue)
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()

valueAsString

protected String valueAsString(Object value)


Copyright © 2016 camunda services GmbH. All rights reserved.