public class DateFormType extends AbstractFormFieldType
| Modifier and Type | Field and Description |
|---|---|
protected DateFormat |
dateFormat |
protected String |
datePattern |
static String |
TYPE_NAME |
| Constructor and Description |
|---|
DateFormType(String datePattern) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertFormValueToModelValue(Object propertyValue) |
String |
convertModelValueToFormValue(Object modelValue) |
org.camunda.bpm.engine.variable.value.TypedValue |
convertToFormValue(org.camunda.bpm.engine.variable.value.TypedValue modelValue) |
org.camunda.bpm.engine.variable.value.TypedValue |
convertToModelValue(org.camunda.bpm.engine.variable.value.TypedValue propertyValue) |
Object |
getInformation(String key)
Retrieve type specific extra information like
the list of values for enum types or the format
for date types.
|
String |
getName()
Name for the form type.
|
public static final String TYPE_NAME
protected String datePattern
protected DateFormat dateFormat
public DateFormType(String datePattern)
public String getName()
FormTypegetName in interface FormTypegetName in class AbstractFormFieldTypepublic Object getInformation(String key)
FormTypegetInformation in interface FormTypegetInformation in class AbstractFormFieldTypepublic org.camunda.bpm.engine.variable.value.TypedValue convertToModelValue(org.camunda.bpm.engine.variable.value.TypedValue propertyValue)
convertToModelValue in class AbstractFormFieldTypepublic org.camunda.bpm.engine.variable.value.TypedValue convertToFormValue(org.camunda.bpm.engine.variable.value.TypedValue modelValue)
convertToFormValue in class AbstractFormFieldTypepublic Object convertFormValueToModelValue(Object propertyValue)
convertFormValueToModelValue in class AbstractFormFieldTypepublic String convertModelValueToFormValue(Object modelValue)
convertModelValueToFormValue in class AbstractFormFieldTypeCopyright © 2019. All rights reserved.