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.Stringidprotected booleanisReadableprotected booleanisRequiredprotected booleanisWritableprotected java.lang.Stringnameprotected FormTypetypeprotected java.lang.Stringvalue
-
Constructor Summary
Constructors Constructor Description FormPropertyImpl(FormPropertyHandler formPropertyHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()The key used to submit the property inFormService.submitStartFormData(String, java.util.Map)orFormService.submitTaskFormData(String, java.util.Map)java.lang.StringgetName()The display labelFormTypegetType()Type of the property.java.lang.StringgetValue()Optional value that should be used to display in this propertybooleanisReadable()Is this property read to be displayed in the form and made accessible with the methodsFormService.getStartFormData(String)andFormService.getTaskFormData(String).booleanisRequired()Is this property a required input fieldbooleanisWritable()Is this property expected when a user submits the form?voidsetValue(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:FormPropertyThe key used to submit the property inFormService.submitStartFormData(String, java.util.Map)orFormService.submitTaskFormData(String, java.util.Map)- Specified by:
getIdin interfaceFormProperty
-
getName
public java.lang.String getName()
Description copied from interface:FormPropertyThe display label- Specified by:
getNamein interfaceFormProperty
-
getType
public FormType getType()
Description copied from interface:FormPropertyType of the property.- Specified by:
getTypein interfaceFormProperty
-
getValue
public java.lang.String getValue()
Description copied from interface:FormPropertyOptional value that should be used to display in this property- Specified by:
getValuein interfaceFormProperty
-
isRequired
public boolean isRequired()
Description copied from interface:FormPropertyIs this property a required input field- Specified by:
isRequiredin interfaceFormProperty
-
isReadable
public boolean isReadable()
Description copied from interface:FormPropertyIs this property read to be displayed in the form and made accessible with the methodsFormService.getStartFormData(String)andFormService.getTaskFormData(String).- Specified by:
isReadablein interfaceFormProperty
-
setValue
public void setValue(java.lang.String value)
-
isWritable
public boolean isWritable()
Description copied from interface:FormPropertyIs this property expected when a user submits the form?- Specified by:
isWritablein interfaceFormProperty
-
-