Class FormPropertyAdapter
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.engine.FormPropertyAdapter
-
-
Field Summary
Fields Modifier and Type Field Description protected FormPropertyformPropertyprotected List<FormFieldValidationConstraint>validationConstraints
-
Constructor Summary
Constructors Constructor Description FormPropertyAdapter(FormProperty formProperty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue()org.camunda.bpm.engine.variable.value.TypedValuegetDefaultValueTyped()StringgetId()StringgetLabel()Map<String,String>getProperties()FormTypegetType()StringgetTypeName()List<FormFieldValidationConstraint>getValidationConstraints()org.camunda.bpm.engine.variable.value.TypedValuegetValue()booleanisBusinessKey()
-
-
-
Field Detail
-
formProperty
protected FormProperty formProperty
-
validationConstraints
protected List<FormFieldValidationConstraint> validationConstraints
-
-
Constructor Detail
-
FormPropertyAdapter
public FormPropertyAdapter(FormProperty formProperty)
-
-
Method Detail
-
getId
public String getId()
-
getLabel
public String getLabel()
-
getType
public FormType getType()
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceFormField- Returns:
- the name of the type of this form field
-
getDefaultValue
public Object getDefaultValue()
- Specified by:
getDefaultValuein interfaceFormField- Returns:
- the default value for this form field.
-
getValidationConstraints
public List<FormFieldValidationConstraint> getValidationConstraints()
- Specified by:
getValidationConstraintsin interfaceFormField- Returns:
- a list of
ValidationConstraints.
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getPropertiesin interfaceFormField- Returns:
- a
Mapof additional properties. This map may be used for adding additional configuration to a form field. An example may be layout hints such as the size of the rendered form field or information about an icon to prepend or append to the rendered form field.
-
isBusinessKey
public boolean isBusinessKey()
- Specified by:
isBusinessKeyin interfaceFormField- Returns:
- true if field is defined as businessKey, false otherwise
-
getDefaultValueTyped
public org.camunda.bpm.engine.variable.value.TypedValue getDefaultValueTyped()
-
-