Class FormField
java.lang.Object
org.tailormap.api.persistence.json.FormField
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.0")
public class FormField
extends Object
implements Serializable
model for a single form field
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddValueListItem
(FormFieldValue valueListItem) allowValueListOnly
(Boolean allowValueListOnly) column
(BigDecimal column) boolean
Get allowValueListOnly@Valid BigDecimal
Get columnGet disabledgetHint()
Get hintgetLabel()
Get labelgetName()
Get nameGet placeholderGet requiredgetTab()
Get tabgetType()
Get typewhen true the unique values for the column are used when editing this field@Valid List<@Valid FormFieldValue>
Get valueListint
hashCode()
placeholder
(String placeholder) void
setAllowValueListOnly
(Boolean allowValueListOnly) void
setColumn
(BigDecimal column) void
setDisabled
(Boolean disabled) void
void
void
void
setPlaceholder
(String placeholder) void
setRequired
(Boolean required) void
void
setType
(FormField.TypeEnum type) void
setUniqueValuesAsOptions
(Boolean uniqueValuesAsOptions) void
setValueList
(List<@Valid FormFieldValue> valueList) toString()
type
(FormField.TypeEnum type) uniqueValuesAsOptions
(Boolean uniqueValuesAsOptions) valueList
(List<@Valid FormFieldValue> valueList)
-
Constructor Details
-
FormField
public FormField()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
label
-
getLabel
Get label- Returns:
- label
-
setLabel
-
type
-
getType
Get type- Returns:
- type
-
setType
-
tab
-
getTab
Get tab- Returns:
- tab
-
setTab
-
column
-
getColumn
Get column- Returns:
- column
-
setColumn
-
uniqueValuesAsOptions
-
getUniqueValuesAsOptions
when true the unique values for the column are used when editing this field- Returns:
- uniqueValuesAsOptions
-
setUniqueValuesAsOptions
-
valueList
-
addValueListItem
-
getValueList
Get valueList- Returns:
- valueList
-
setValueList
-
allowValueListOnly
-
getAllowValueListOnly
Get allowValueListOnly- Returns:
- allowValueListOnly
-
setAllowValueListOnly
-
disabled
-
getDisabled
Get disabled- Returns:
- disabled
-
setDisabled
-
required
-
getRequired
Get required- Returns:
- required
-
setRequired
-
placeholder
-
getPlaceholder
Get placeholder- Returns:
- placeholder
-
setPlaceholder
-
hint
-
getHint
Get hint- Returns:
- hint
-
setHint
-
equals
-
hashCode
public int hashCode() -
toString
-