Package org.flowable.engine.form
Class AbstractFormType
- java.lang.Object
-
- org.flowable.engine.form.AbstractFormType
-
- All Implemented Interfaces:
Serializable
,FormType
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 Object
convertFormValueToModelValue(String propertyValue)
abstract String
convertModelValueToFormValue(Object modelValue)
Object
getInformation(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:FormType
Retrieve 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:
getInformation
in interfaceFormType
-
-