Class 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
    • Constructor Detail

      • CustomStringVariableType

        public CustomStringVariableType()
      • CustomStringVariableType

        public CustomStringVariableType​(int length)
    • Method Detail

      • setValue

        public void setValue​(Object value,
                             org.activiti.engine.impl.variable.ValueFields valueFields)
        Specified by:
        setValue in interface org.activiti.engine.impl.variable.VariableType
        Overrides:
        setValue in class org.activiti.engine.impl.variable.StringType
      • getValue

        public Object getValue​(org.activiti.engine.impl.variable.ValueFields valueFields)
        Specified by:
        getValue in interface org.activiti.engine.impl.variable.VariableType
        Overrides:
        getValue in class org.activiti.engine.impl.variable.StringType