org.activiti.engine.impl.variable
类 DateType

java.lang.Object
  继承者 org.activiti.engine.impl.variable.DateType
所有已实现的接口:
VariableType

public class DateType
extends Object
implements VariableType

作者:
Tom Baeyens

构造方法摘要
DateType()
           
 
方法摘要
 String getTypeName()
          name of variable type (limited to 100 characters length)
 Object getValue(ValueFields valueFields)
           
 boolean isAbleToStore(Object value)
           
 boolean isCachable()
          Indicates if this variable type supports caching.
 void setValue(Object value, ValueFields valueFields)
          Stores the specified value in the supplied ValueFields.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DateType

public DateType()
方法详细信息

getTypeName

public String getTypeName()
从接口 VariableType 复制的描述
name of variable type (limited to 100 characters length)

指定者:
接口 VariableType 中的 getTypeName

isCachable

public boolean isCachable()
从接口 VariableType 复制的描述

Indicates if this variable type supports caching.

If caching is supported, the result of VariableType.getValue(ValueFields) is saved for the duration of the session and used for subsequent reads of the variable's value.

If caching is not supported, all reads of a variable's value require a fresh call to VariableType.getValue(ValueFields).

指定者:
接口 VariableType 中的 isCachable
返回:
whether variables of this type are cacheable.

isAbleToStore

public boolean isAbleToStore(Object value)
指定者:
接口 VariableType 中的 isAbleToStore
返回:
whether this variable type can store the specified value.

getValue

public Object getValue(ValueFields valueFields)
指定者:
接口 VariableType 中的 getValue
返回:
the value of a variable based on the specified ValueFields.

setValue

public void setValue(Object value,
                     ValueFields valueFields)
从接口 VariableType 复制的描述
Stores the specified value in the supplied ValueFields.

指定者:
接口 VariableType 中的 setValue


Copyright © 2013 Alfresco. All rights reserved.