org.camunda.bpm.engine.impl.variable
Class ByteArrayType

java.lang.Object
  extended by org.camunda.bpm.engine.impl.variable.PrimitiveVariableType
      extended by org.camunda.bpm.engine.impl.variable.ByteArrayType
All Implemented Interfaces:
VariableType
Direct Known Subclasses:
SerializableType

public class ByteArrayType
extends PrimitiveVariableType

Author:
Tom Baeyens

Constructor Summary
ByteArrayType()
           
 
Method Summary
 String getTypeName()
          name of variable type (limited to 100 characters length)
 String getTypeNameForValue(ValueFields valueFields)
          Returns the type name (i.e.
 Object getValue(ValueFields valueFields)
           
 boolean isAbleToStore(Object value)
           
 boolean isCachable()
           
 void setValue(Object value, ValueFields valueFields)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.variable.PrimitiveVariableType
getSerializedValue, isAbleToStoreSerializedValue, setValueFromSerialized, storesCustomObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayType

public ByteArrayType()
Method Detail

getTypeName

public String getTypeName()
Description copied from interface: VariableType
name of variable type (limited to 100 characters length)


isCachable

public boolean isCachable()

getValue

public Object getValue(ValueFields valueFields)

setValue

public void setValue(Object value,
                     ValueFields valueFields)

isAbleToStore

public boolean isAbleToStore(Object value)

getTypeNameForValue

public String getTypeNameForValue(ValueFields valueFields)
Description copied from interface: VariableType

Returns the type name (i.e. the simple class name) of the stored 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.



Copyright © 2014 camunda services GmbH. All Rights Reserved.