org.jbpm.pvm.internal.type
Class Variable
java.lang.Object
org.jbpm.pvm.internal.type.Variable
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BlobVariable, ClobVariable, DateVariable, DoubleVariable, HibernateLongVariable, HibernateStringVariable, LongVariable, NullVariable, StringVariable, TextVariable, 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
key
protected java.lang.String key
converter
protected Converter converter
textValue
protected java.lang.String textValue
isHistoryEnabled
protected boolean isHistoryEnabled
execution
protected ExecutionImpl execution
task
protected TaskImpl task
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,
ScopeInstanceImpl scopeInstance)
setValue
public void setValue(java.lang.Object value,
ScopeInstanceImpl scopeInstance)
getValue
public java.lang.Object getValue(ScopeInstanceImpl scopeInstance)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getType
public Type getType()
getProcessInstance
public ExecutionImpl getProcessInstance()
getKey
public java.lang.String getKey()
getDbid
public long getDbid()
getConverter
public Converter getConverter()
setConverter
public void setConverter(Converter converter)
setKey
public void setKey(java.lang.String key)
getTextValue
public java.lang.String getTextValue()
getExecution
public ExecutionImpl getExecution()
setExecution
public void setExecution(ExecutionImpl execution)
getTask
public TaskImpl getTask()
setTask
public void setTask(TaskImpl task)
isHistoryEnabled
public boolean isHistoryEnabled()
setHistoryEnabled
public void setHistoryEnabled(boolean isHistoryEnabled)
setDbid
public void setDbid(long dbid)
Copyright © 2010 JBoss Community. All Rights Reserved.