Package org.camunda.bpm.engine.impl.form
Class FormPropertyImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.form.FormPropertyImpl
-
- All Implemented Interfaces:
FormProperty
public class FormPropertyImpl extends Object implements FormProperty
- Author:
- Tom Baeyens
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected boolean
isReadable
protected boolean
isRequired
protected boolean
isWritable
protected String
name
protected FormType
type
protected String
value
-
Constructor Summary
Constructors Constructor Description FormPropertyImpl(FormPropertyHandler formPropertyHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
The key used to submit the property inFormService.submitStartFormData(String, java.util.Map)
orFormService.submitTaskFormData(String, java.util.Map)
String
getName()
The display labelFormType
getType()
Type of the property.String
getValue()
Optional value that should be used to display in this propertyboolean
isReadable()
Is this property read to be displayed in the form and made accessible with the methodsFormService.getStartFormData(String)
andFormService.getTaskFormData(String)
.boolean
isRequired()
Is this property a required input fieldboolean
isWritable()
Is this property expected when a user submits the form?void
setValue(String value)
-
-
-
Constructor Detail
-
FormPropertyImpl
public FormPropertyImpl(FormPropertyHandler formPropertyHandler)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:FormProperty
The key used to submit the property inFormService.submitStartFormData(String, java.util.Map)
orFormService.submitTaskFormData(String, java.util.Map)
- Specified by:
getId
in interfaceFormProperty
-
getName
public String getName()
Description copied from interface:FormProperty
The display label- Specified by:
getName
in interfaceFormProperty
-
getType
public FormType getType()
Description copied from interface:FormProperty
Type of the property.- Specified by:
getType
in interfaceFormProperty
-
getValue
public String getValue()
Description copied from interface:FormProperty
Optional value that should be used to display in this property- Specified by:
getValue
in interfaceFormProperty
-
isRequired
public boolean isRequired()
Description copied from interface:FormProperty
Is this property a required input field- Specified by:
isRequired
in interfaceFormProperty
-
isReadable
public boolean isReadable()
Description copied from interface:FormProperty
Is this property read to be displayed in the form and made accessible with the methodsFormService.getStartFormData(String)
andFormService.getTaskFormData(String)
.- Specified by:
isReadable
in interfaceFormProperty
-
setValue
public void setValue(String value)
-
isWritable
public boolean isWritable()
Description copied from interface:FormProperty
Is this property expected when a user submits the form?- Specified by:
isWritable
in interfaceFormProperty
-
-