public class DateFormType extends AbstractFormType
| Modifier and Type | Field and Description |
|---|---|
protected Format |
dateFormat |
protected String |
datePattern |
| Constructor and Description |
|---|
DateFormType(String datePattern) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertFormValueToModelValue(String propertyValue) |
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.
|
String |
getName()
Name for the form type.
|
public DateFormType(String datePattern)
public Object getInformation(String key)
FormTypegetInformation in interface FormTypegetInformation in class AbstractFormTypepublic Object convertFormValueToModelValue(String propertyValue)
convertFormValueToModelValue in class AbstractFormTypepublic String convertModelValueToFormValue(Object modelValue)
convertModelValueToFormValue in class AbstractFormTypeCopyright © 2016 Alfresco. All rights reserved.