public class FormField extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAMED_QUERY_GET_FIELD_BY_FIELDID_AND_FORM_ID |
Constructor and Description |
---|
FormField() |
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalText()
Returns the additional text
|
String |
getFieldId()
Returns the field identifier.
|
String |
getFormId()
|
String |
getHelpText()
Returns the help text.
|
String |
getId()
Returns the
FormField identifier. |
List<lumis.service.formbuilder.FormFieldOption> |
getOptions()
Returns the options for this field.
|
int |
getPosition()
Returns the display position of the
FormField . |
String |
getTitle()
Returns the title.
|
FormFieldType |
getType()
Returns the type.
|
boolean |
isRequired()
Returns if the user is required to answer the
FormField . |
void |
setAdditionalText(String additionalText)
Sets the additional text
|
void |
setFieldId(String fieldId)
Sets the field identifier.
|
void |
setFormId(String form)
|
void |
setHelpText(String helpText)
Sets the help text
|
void |
setId(String id)
Sets the
FormField identifier. |
void |
setOptions(List<lumis.service.formbuilder.FormFieldOption> options) |
void |
setPosition(int position)
Sets the display position of the
FormField . |
void |
setRequired(boolean required)
Sets if the user is required to answer the
FormField . |
void |
setTitle(String title)
Sets the title.
|
void |
setType(FormFieldType type)
Sets the type.
|
public static final String NAMED_QUERY_GET_FIELD_BY_FIELDID_AND_FORM_ID
public void setId(String id)
FormField
identifier.id
- the identifier value to set.public int getPosition()
FormField
.public void setPosition(int position)
FormField
.position
- the position value to set.public boolean isRequired()
FormField
.public void setRequired(boolean required)
FormField
.required
- the required value to set.public String getTitle()
public void setTitle(String title)
title
- the title value to set.public String getFieldId()
public void setFieldId(String fieldId)
fieldId
- the field identifier value to set.public FormFieldType getType()
public void setType(FormFieldType type)
type
- the type value to set.public List<lumis.service.formbuilder.FormFieldOption> getOptions()
The returned list is detached from this entity and any modification on it will not be applied automatically. To
modify the options of this field use setOptions(List)
.
null
if this field has no option.public void setOptions(List<lumis.service.formbuilder.FormFieldOption> options)
public String getHelpText()
public void setHelpText(String helpText)
helpText
- the help text to setpublic String getAdditionalText()
public void setAdditionalText(String additionalText)
additionalText
- the additional text to setLumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.