Class JPAEntityVariableType
java.lang.Object
org.flowable.variable.service.impl.types.JPAEntityVariableType
- All Implemented Interfaces:
VariableType,CacheableVariable
- Direct Known Subclasses:
HistoricJPAEntityVariableType
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.
- Author:
- Frederik Heremans
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(ValueFields valueFields) booleanisAbleToStore(Object value) booleanvoidsetForceCacheable(boolean forceCachedValue) Force the value to be cacheable.voidsetValue(Object value, ValueFields valueFields) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.variable.api.types.VariableType
isReadOnly
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
JPAEntityVariableType
public JPAEntityVariableType()
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfaceVariableType
-
isCachable
public boolean isCachable()- Specified by:
isCachablein interfaceVariableType
-
isAbleToStore
- Specified by:
isAbleToStorein interfaceVariableType
-
setValue
- Specified by:
setValuein interfaceVariableType
-
getValue
- Specified by:
getValuein interfaceVariableType
-
setForceCacheable
public void setForceCacheable(boolean forceCachedValue) Force the value to be cacheable.- Specified by:
setForceCacheablein interfaceCacheableVariable
-