Class CustomStringVariableType
java.lang.Object
org.activiti.engine.impl.variable.StringType
org.alfresco.repo.workflow.activiti.variable.CustomStringVariableType
- All Implemented Interfaces:
org.activiti.engine.impl.variable.VariableType
public class CustomStringVariableType
extends org.activiti.engine.impl.variable.StringType
Custom implementation of the Activiti
StringType, which allows string-values
to be larger than the database-restriction of the TEXT_ column, by using binary storage in case
the string value exceeds the size.- Since:
- 4.2
- Author:
- Frederik Heremans
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.activiti.engine.impl.variable.StringType
getTypeName, isAbleToStore, isCachable
-
Field Details
-
MAX_TEXT_LENGTH
protected static final int MAX_TEXT_LENGTH- See Also:
-
-
Constructor Details
-
CustomStringVariableType
public CustomStringVariableType() -
CustomStringVariableType
public CustomStringVariableType(int length)
-
-
Method Details
-
setValue
- Specified by:
setValuein interfaceorg.activiti.engine.impl.variable.VariableType- Overrides:
setValuein classorg.activiti.engine.impl.variable.StringType
-
getValue
- Specified by:
getValuein interfaceorg.activiti.engine.impl.variable.VariableType- Overrides:
getValuein classorg.activiti.engine.impl.variable.StringType
-