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()
FormProperty
FormService.submitStartFormData(String, java.util.Map)
or FormService.submitTaskFormData(String, java.util.Map)
getId
in interface FormProperty
public String getName()
FormProperty
getName
in interface FormProperty
public FormType getType()
FormProperty
getType
in interface FormProperty
public String getValue()
FormProperty
getValue
in interface FormProperty
public boolean isRequired()
FormProperty
isRequired
in interface FormProperty
public boolean isReadable()
FormProperty
FormService.getStartFormData(String)
and FormService.getTaskFormData(String)
.isReadable
in interface FormProperty
public void setValue(String value)
public boolean isWritable()
FormProperty
isWritable
in interface FormProperty
Copyright © 2022. All rights reserved.