Package org.flowable.engine.impl.form
Class DateFormType
- java.lang.Object
-
- org.flowable.engine.form.AbstractFormType
-
- org.flowable.engine.impl.form.DateFormType
-
- All Implemented Interfaces:
Serializable,FormType
public class DateFormType extends AbstractFormType
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected FormatdateFormatprotected StringdatePattern
-
Constructor Summary
Constructors Constructor Description DateFormType(String datePattern)
-
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.
-
-
-
Constructor Detail
-
DateFormType
public DateFormType(String datePattern)
-
-
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
-
-