org.ow2.orchestra.pvm.internal.type
Class Variable
java.lang.Object
org.ow2.orchestra.pvm.internal.type.Variable
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BlobVariable, ClobVariable, DateVariable, DoubleVariable, HibernateLongVariable, HibernateStringVariable, LongVariable, NullVariable, StringVariable, UnpersistableVariable
public abstract class Variable
- extends Object
- implements Serializable
is a orchestra-internal class that serves as a base class for classes that store
variable values in the database.
- See Also:
- Serialized Form
dbid
protected long dbid
dbversion
protected int dbversion
key
protected String key
converter
protected Converter converter
queryText
protected String queryText
processInstance
protected ExecutionImpl processInstance
Variable
public Variable()
isStorable
public abstract boolean isStorable(Object value)
- is true if this variable-instance supports the given value, false
otherwise.
getObject
protected abstract Object getObject()
- is the value, stored by this variable instance.
setObject
protected abstract void setObject(Object value)
- stores the value in this variable instance.
supports
public boolean supports(Object value)
setValue
public void setValue(Object value)
getValue
public Object getValue()
toString
public String toString()
- Overrides:
toString in class Object
getType
public Type getType()
getKey
public String getKey()
getConverter
public Converter getConverter()
setConverter
public void setConverter(Converter converter)
setKey
public void setKey(String key)
getProcessInstance
public ExecutionImpl getProcessInstance()
setProcessInstance
public void setProcessInstance(ExecutionImpl processInstance)
Copyright © 2011 OW2 Consortium. All Rights Reserved.