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:
  • Constructor Details

    • FormField

      public FormField()
  • Method Details

    • name

      public FormField name(String name)
    • getName

      public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • label

      public FormField label(String label)
    • getLabel

      public String getLabel()
      Get label
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • type

      public FormField type(FormField.TypeEnum type)
    • getType

      public FormField.TypeEnum getType()
      Get type
      Returns:
      type
    • setType

      public void setType(FormField.TypeEnum type)
    • tab

      public FormField tab(String tab)
    • getTab

      public String getTab()
      Get tab
      Returns:
      tab
    • setTab

      public void setTab(String tab)
    • column

      public FormField column(BigDecimal column)
    • getColumn

      @Valid public @Valid BigDecimal getColumn()
      Get column
      Returns:
      column
    • setColumn

      public void setColumn(BigDecimal column)
    • uniqueValuesAsOptions

      public FormField uniqueValuesAsOptions(Boolean uniqueValuesAsOptions)
    • getUniqueValuesAsOptions

      public Boolean getUniqueValuesAsOptions()
      when true the unique values for the column are used when editing this field
      Returns:
      uniqueValuesAsOptions
    • setUniqueValuesAsOptions

      public void setUniqueValuesAsOptions(Boolean uniqueValuesAsOptions)
    • valueList

      public FormField valueList(List<@Valid FormFieldValue> valueList)
    • addValueListItem

      public FormField addValueListItem(FormFieldValue valueListItem)
    • getValueList

      @Valid public @Valid List<@Valid FormFieldValue> getValueList()
      Get valueList
      Returns:
      valueList
    • setValueList

      public void setValueList(List<@Valid FormFieldValue> valueList)
    • allowValueListOnly

      public FormField allowValueListOnly(Boolean allowValueListOnly)
    • getAllowValueListOnly

      public Boolean getAllowValueListOnly()
      Get allowValueListOnly
      Returns:
      allowValueListOnly
    • setAllowValueListOnly

      public void setAllowValueListOnly(Boolean allowValueListOnly)
    • disabled

      public FormField disabled(Boolean disabled)
    • getDisabled

      public Boolean getDisabled()
      Get disabled
      Returns:
      disabled
    • setDisabled

      public void setDisabled(Boolean disabled)
    • required

      public FormField required(Boolean required)
    • getRequired

      public Boolean getRequired()
      Get required
      Returns:
      required
    • setRequired

      public void setRequired(Boolean required)
    • placeholder

      public FormField placeholder(String placeholder)
    • getPlaceholder

      public String getPlaceholder()
      Get placeholder
      Returns:
      placeholder
    • setPlaceholder

      public void setPlaceholder(String placeholder)
    • hint

      public FormField hint(String hint)
    • getHint

      public String getHint()
      Get hint
      Returns:
      hint
    • setHint

      public void setHint(String hint)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object