org.camunda.bpm.engine.impl.form.type
Class DateFormType
java.lang.Object
org.camunda.bpm.engine.impl.form.type.AbstractFormFieldType
org.camunda.bpm.engine.impl.form.type.DateFormType
- All Implemented Interfaces:
- FormType
public class DateFormType
- extends AbstractFormFieldType
- Author:
- Tom Baeyens
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
datePattern
protected String datePattern
dateFormat
protected DateFormat dateFormat
DateFormType
public DateFormType(String datePattern)
getName
public String getName()
- Description copied from interface:
FormType
- Name for the form type.
- Specified by:
getName in interface FormType- Specified by:
getName in class AbstractFormFieldType
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 interface FormType- Overrides:
getInformation in class AbstractFormFieldType
convertToModelValue
public TypedValue convertToModelValue(TypedValue propertyValue)
- Specified by:
convertToModelValue in class AbstractFormFieldType
convertToFormValue
public TypedValue convertToFormValue(TypedValue modelValue)
- Specified by:
convertToFormValue in class AbstractFormFieldType
convertFormValueToModelValue
public Object convertFormValueToModelValue(Object propertyValue)
- Specified by:
convertFormValueToModelValue in class AbstractFormFieldType
convertModelValueToFormValue
public String convertModelValueToFormValue(Object modelValue)
- Specified by:
convertModelValueToFormValue in class AbstractFormFieldType
Copyright © 2015 camunda services GmbH. All rights reserved.