Package org.flowable.engine.form
Class AbstractFormType
- java.lang.Object
-
- org.flowable.engine.form.AbstractFormType
-
- All Implemented Interfaces:
Serializable,FormType
- Direct Known Subclasses:
BooleanFormType,DateFormType,DoubleFormType,EnumFormType,LongFormType,StringFormType
public abstract class AbstractFormType extends Object implements FormType
Custom form types should extend this abstract class.- Author:
- Tom Baeyens, Joram Barrez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractFormType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ObjectconvertFormValueToModelValue(String propertyValue)abstract StringconvertModelValueToFormValue(Object modelValue)ObjectgetInformation(String key)Retrieve type specific extra information like the list of values for enum types or the format for date types.
-
-
-
Method Detail
-
convertFormValueToModelValue
public abstract Object convertFormValueToModelValue(String propertyValue)
-
convertModelValueToFormValue
public abstract String convertModelValueToFormValue(Object modelValue)
-
getInformation
public Object getInformation(String key)
Description copied from interface:FormTypeRetrieve type specific extra information like the list of values for enum types or the format for date types. Look in the userguide for which extra information keys each type provides and what return type they give.- Specified by:
getInformationin interfaceFormType
-
-