Package org.camunda.bpm.engine.impl.form
Class FormFieldImpl
java.lang.Object
org.camunda.bpm.engine.impl.form.FormFieldImpl
- All Implemented Interfaces:
FormField
- Author:
- Daniel Meyer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Objectprotected Stringprotected Stringprotected FormTypeprotected List<FormFieldValidationConstraint>protected TypedValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getLabel()getType()getValue()booleanvoidsetBusinessKey(boolean businessKey) voidsetDefaultValue(Object defaultValue) voidvoidvoidsetProperties(Map<String, String> properties) voidvoidsetValidationConstraints(List<FormFieldValidationConstraint> validationConstraints) voidsetValue(TypedValue value)
-
Field Details
-
businessKey
protected boolean businessKey -
id
-
label
-
type
-
defaultValue
-
value
-
validationConstraints
-
properties
-
-
Constructor Details
-
FormFieldImpl
public FormFieldImpl()
-
-
Method Details
-
getId
-
setId
-
getLabel
-
setLabel
-
getType
-
getTypeName
- Specified by:
getTypeNamein interfaceFormField- Returns:
- the name of the type of this form field
-
setType
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceFormField- Returns:
- the default value for this form field.
-
getValue
-
setDefaultValue
-
setValue
-
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.
-
setProperties
-
getValidationConstraints
- Specified by:
getValidationConstraintsin interfaceFormField- Returns:
- a list of
ValidationConstraints.
-
setValidationConstraints
-
isBusinessKey
public boolean isBusinessKey()- Specified by:
isBusinessKeyin interfaceFormField- Returns:
- true if field is defined as businessKey, false otherwise
-
setBusinessKey
public void setBusinessKey(boolean businessKey)
-