Package org.flowable.engine.impl.form
Class EnumFormType
- java.lang.Object
-
- org.flowable.engine.form.AbstractFormType
-
- org.flowable.engine.impl.form.EnumFormType
-
- All Implemented Interfaces:
Serializable,FormType
public class EnumFormType extends AbstractFormType
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnumFormType(Map<String,String> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectconvertFormValueToModelValue(String propertyValue)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.StringgetName()Name for the form type.protected voidvalidateValue(String value)
-
-
-
Method Detail
-
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- Overrides:
getInformationin classAbstractFormType
-
convertFormValueToModelValue
public Object convertFormValueToModelValue(String propertyValue)
- Specified by:
convertFormValueToModelValuein classAbstractFormType
-
convertModelValueToFormValue
public String convertModelValueToFormValue(Object modelValue)
- Specified by:
convertModelValueToFormValuein classAbstractFormType
-
validateValue
protected void validateValue(String value)
-
-