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 java.lang.Object implements FormProperty
- Author:
- Tom Baeyens
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
id
protected boolean
isReadable
protected boolean
isRequired
protected boolean
isWritable
protected java.lang.String
name
protected FormType
type
protected java.lang.String
value
-
Constructor Summary
Constructors Constructor Description FormPropertyImpl(FormPropertyHandler formPropertyHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
The key used to submit the property inFormService.submitStartFormData(String, java.util.Map)
orFormService.submitTaskFormData(String, java.util.Map)
java.lang.String
getName()
The display labelFormType
getType()
Type of the property.java.lang.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(java.lang.String value)
-
-
-
Field Detail
-
id
protected java.lang.String id
-
name
protected java.lang.String name
-
type
protected FormType type
-
isRequired
protected boolean isRequired
-
isReadable
protected boolean isReadable
-
isWritable
protected boolean isWritable
-
value
protected java.lang.String value
-
-
Constructor Detail
-
FormPropertyImpl
public FormPropertyImpl(FormPropertyHandler formPropertyHandler)
-
-
Method Detail
-
getId
public java.lang.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 java.lang.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 java.lang.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(java.lang.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
-
-