org.camunda.bpm.engine.impl.form.type
Class EnumFormType
java.lang.Object
org.camunda.bpm.engine.impl.form.type.AbstractFormFieldType
org.camunda.bpm.engine.impl.form.type.SimpleFormFieldType
org.camunda.bpm.engine.impl.form.type.EnumFormType
- All Implemented Interfaces:
- FormType
public class EnumFormType
- extends SimpleFormFieldType
- 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
values
protected Map<String,String> values
EnumFormType
public EnumFormType(Map<String,String> values)
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
convertValue
public org.camunda.bpm.engine.variable.value.TypedValue convertValue(org.camunda.bpm.engine.variable.value.TypedValue propertyValue)
- Specified by:
convertValue in class SimpleFormFieldType
validateValue
protected void validateValue(Object value)
getValues
public Map<String,String> getValues()
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 © 2017 camunda services GmbH. All rights reserved.