org.jbpm.context.log
Class VariableUpdateLog

java.lang.Object
  extended by org.jbpm.logging.log.ProcessLog
      extended by org.jbpm.context.log.VariableLog
          extended by org.jbpm.context.log.VariableUpdateLog
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ByteArrayUpdateLog, DateUpdateLog, DoubleUpdateLog, HibernateLongUpdateLog, HibernateStringUpdateLog, LongUpdateLog, StringUpdateLog

public abstract class VariableUpdateLog
extends VariableLog

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.context.log.VariableLog
variableInstance
 
Fields inherited from class org.jbpm.logging.log.ProcessLog
date, index, parent, token
 
Constructor Summary
VariableUpdateLog()
           
VariableUpdateLog(VariableInstance variableInstance)
           
 
Method Summary
abstract  Object getNewValue()
           
abstract  Object getOldValue()
           
 String toString()
          provides a text description for this update which can be used e.g.
 void undo()
           
 
Methods inherited from class org.jbpm.context.log.VariableLog
getVariableInstance
 
Methods inherited from class org.jbpm.logging.log.ProcessLog
getActorId, getChildren, getDate, getId, getIndex, getParent, getToken, setDate, setIndex, setParent, setToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableUpdateLog

public VariableUpdateLog()

VariableUpdateLog

public VariableUpdateLog(VariableInstance variableInstance)
Method Detail

getOldValue

public abstract Object getOldValue()

getNewValue

public abstract Object getNewValue()

toString

public String toString()
Description copied from class: ProcessLog
provides a text description for this update which can be used e.g. in the admin web console.

Specified by:
toString in class ProcessLog

undo

public void undo()


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.