org.camunda.bpm.engine.impl.variable
Interface VariableType

All Known Implementing Classes:
BooleanType, ByteArrayType, CustomObjectType, DateType, DoubleType, IntegerType, JPAEntityVariableType, LongType, NullType, SerializableType, ShortType, StringType

public interface VariableType

Author:
Tom Baeyens, roman.smirnov

Method Summary
 String getTypeName()
          name of variable type (limited to 100 characters length)
 String getTypeNameForValue(Object value)
          Returns the type name (i.e.
 Object getValue(ValueFields valueFields)
           
 boolean isAbleToStore(Object value)
           
 boolean isCachable()
           
 void setValue(Object value, ValueFields valueFields)
           
 

Method Detail

getTypeName

String getTypeName()
name of variable type (limited to 100 characters length)


getTypeNameForValue

String getTypeNameForValue(Object value)

Returns the type name (i.e. the simple class name) of the passed value.

Note:For a serializable value only the type name "Serializable" will currently be returned and not the simple class name of the passed value.


isCachable

boolean isCachable()

isAbleToStore

boolean isAbleToStore(Object value)

setValue

void setValue(Object value,
              ValueFields valueFields)

getValue

Object getValue(ValueFields valueFields)


Copyright © 2014 camunda services GmbH. All Rights Reserved.