public class FormPropertyImpl extends Object implements FormProperty
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected boolean |
isReadable |
protected boolean |
isRequired |
protected boolean |
isWritable |
protected String |
name |
protected FormType |
type |
protected String |
value |
| Constructor and Description |
|---|
FormPropertyImpl(FormPropertyHandler formPropertyHandler) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The key used to submit the property in
FormService.submitStartFormData(String, java.util.Map)
or FormService.submitTaskFormData(String, java.util.Map) |
String |
getName()
The display label
|
FormType |
getType()
Type of the property.
|
String |
getValue()
Optional value that should be used to display in this property
|
boolean |
isReadable()
Is this property read to be displayed in the form and made accessible with the methods
FormService.getStartFormData(String) and FormService.getTaskFormData(String). |
boolean |
isRequired()
Is this property a required input field
|
boolean |
isWritable()
Is this property expected when a user submits the form?
|
void |
setValue(String value) |
protected String id
protected String name
protected FormType type
protected boolean isRequired
protected boolean isReadable
protected boolean isWritable
protected String value
public FormPropertyImpl(FormPropertyHandler formPropertyHandler)
public String getId()
FormPropertyFormService.submitStartFormData(String, java.util.Map)
or FormService.submitTaskFormData(String, java.util.Map)getId in interface FormPropertypublic String getName()
FormPropertygetName in interface FormPropertypublic FormType getType()
FormPropertygetType in interface FormPropertypublic String getValue()
FormPropertygetValue in interface FormPropertypublic boolean isRequired()
FormPropertyisRequired in interface FormPropertypublic boolean isReadable()
FormPropertyFormService.getStartFormData(String) and FormService.getTaskFormData(String).isReadable in interface FormPropertypublic void setValue(String value)
public boolean isWritable()
FormPropertyisWritable in interface FormPropertyCopyright © 2022. All rights reserved.