org.jbpm.pvm.type
Class Variable
java.lang.Object
org.jbpm.pvm.type.Variable
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BlobVariable, ClobVariable, DateVariable, DoubleVariable, HibernateLongVariable, HibernateStringVariable, LongVariable, NullVariable, StringVariable, UnpersistableVariable
public abstract class Variable
- extends java.lang.Object
- implements java.io.Serializable
is a jbpm-internal class that serves as a base class for classes
that store variable values in the database.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dbid
protected long dbid
dbversion
protected int dbversion
name
protected java.lang.String name
converter
protected Converter converter
variableDefinition
protected VariableDefinition variableDefinition
execution
protected Execution execution
processInstance
protected Execution processInstance
Variable
public Variable()
isStorable
public abstract boolean isStorable(java.lang.Object value)
- is true if this variable-instance supports the given value, false otherwise.
getObject
protected abstract java.lang.Object getObject()
- is the value, stored by this variable instance.
setObject
protected abstract void setObject(java.lang.Object value)
- stores the value in this variable instance.
supports
public boolean supports(java.lang.Object value)
setValue
public void setValue(java.lang.Object value)
getValue
public java.lang.Object getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getName
public java.lang.String getName()
getConverter
public Converter getConverter()
setConverter
public void setConverter(Converter converter)
getExecution
public Execution getExecution()
setExecution
public void setExecution(Execution execution)
setName
public void setName(java.lang.String name)
getVariableDefinition
public VariableDefinition getVariableDefinition()
setVariableDefinition
public void setVariableDefinition(VariableDefinition variableDefinition)
getProcessInstance
public Execution getProcessInstance()
setProcessInstance
public void setProcessInstance(Execution processInstance)