org.activiti.engine.impl.variable
类 DefaultVariableTypes

java.lang.Object
  继承者 org.activiti.engine.impl.variable.DefaultVariableTypes
所有已实现的接口:
Serializable, VariableTypes

public class DefaultVariableTypes
extends Object
implements VariableTypes, Serializable

作者:
Tom Baeyens
另请参见:
序列化表格

构造方法摘要
DefaultVariableTypes()
           
 
方法摘要
 DefaultVariableTypes addType(VariableType type)
           
 DefaultVariableTypes addType(VariableType type, int index)
          Add type at the given index.
 VariableType findVariableType(Object value)
           
 int getTypeIndex(String typeName)
           
 int getTypeIndex(VariableType type)
           
 VariableType getVariableType(String typeName)
           
 VariableTypes removeType(VariableType type)
           
 void setTypesList(List<VariableType> typesList)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultVariableTypes

public DefaultVariableTypes()
方法详细信息

addType

public DefaultVariableTypes addType(VariableType type)
指定者:
接口 VariableTypes 中的 addType

addType

public DefaultVariableTypes addType(VariableType type,
                                    int index)
从接口 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.

指定者:
接口 VariableTypes 中的 addType

setTypesList

public void setTypesList(List<VariableType> typesList)

getVariableType

public VariableType getVariableType(String typeName)
指定者:
接口 VariableTypes 中的 getVariableType
返回:
the type for the given type name. Returns null if no type was found with the name.

findVariableType

public VariableType findVariableType(Object value)
指定者:
接口 VariableTypes 中的 findVariableType
返回:
the variable type to be used to store the given value as a variable.

getTypeIndex

public int getTypeIndex(VariableType type)
指定者:
接口 VariableTypes 中的 getTypeIndex

getTypeIndex

public int getTypeIndex(String typeName)
指定者:
接口 VariableTypes 中的 getTypeIndex

removeType

public VariableTypes removeType(VariableType type)
指定者:
接口 VariableTypes 中的 removeType


Copyright © 2013 Alfresco. All rights reserved.