org.camunda.bpm.engine.impl.variable
Class DefaultVariableTypes
java.lang.Object
org.camunda.bpm.engine.impl.variable.DefaultVariableTypes
- All Implemented Interfaces:
- Serializable, VariableTypes
public class DefaultVariableTypes
- extends Object
- implements Serializable, VariableTypes
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultVariableTypes
public DefaultVariableTypes()
addType
public DefaultVariableTypes addType(VariableType type)
- Specified by:
addType in interface VariableTypes
addType
public DefaultVariableTypes addType(VariableType type,
int index)
- Description copied from interface:
VariableTypes
- Add type at the given index. The index is used when finding a type for an object. When
different types can store a specific object value, the one with the smallest
index will be used.
- Specified by:
addType in interface VariableTypes
setTypesList
public void setTypesList(List<VariableType> typesList)
getVariableType
public VariableType getVariableType(String typeName)
- Specified by:
getVariableType in interface VariableTypes
- Returns:
- the type for the given type name.
Returns null if no type was found with the name.
findVariableType
public VariableType findVariableType(Object value)
- Specified by:
findVariableType in interface VariableTypes
- Returns:
- the variable type to be used to store the given value as a variable.
getTypeIndex
public int getTypeIndex(VariableType type)
- Specified by:
getTypeIndex in interface VariableTypes
getTypeIndex
public int getTypeIndex(String typeName)
- Specified by:
getTypeIndex in interface VariableTypes
removeType
public VariableTypes removeType(VariableType type)
- Specified by:
removeType in interface VariableTypes
Copyright © 2014 camunda services GmbH. All Rights Reserved.