|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.variable.JPAEntityVariableType
public class JPAEntityVariableType
Variable type capable of storing reference to JPA-entities. Only JPA-Entities which are configured by annotations are supported. Use of compound primary keys is not supported.
字段摘要 | |
---|---|
static String |
TYPE_NAME
|
构造方法摘要 | |
---|---|
JPAEntityVariableType()
|
方法摘要 | |
---|---|
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 |
setForceCacheable(boolean forceCachedValue)
Force the value to be cacheable. |
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 |
字段详细信息 |
---|
public static final String TYPE_NAME
构造方法详细信息 |
---|
public JPAEntityVariableType()
方法详细信息 |
---|
public String getTypeName()
VariableType
复制的描述
VariableType
中的 getTypeName
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
public boolean isAbleToStore(Object value)
VariableType
中的 isAbleToStore
public void setValue(Object value, ValueFields valueFields)
VariableType
复制的描述ValueFields
.
VariableType
中的 setValue
public Object getValue(ValueFields valueFields)
VariableType
中的 getValue
ValueFields
.public void setForceCacheable(boolean forceCachedValue)
CacheableVariable
中的 setForceCacheable
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |