Class FormField
java.lang.Object
com.liferay.headless.form.dto.v1_0.FormField
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
protected String
protected String
protected String
protected FormFieldOption[]
protected Grid
protected Boolean
protected Long
protected Boolean
protected Boolean
protected String
protected String
protected Boolean
protected Boolean
protected String
protected String
protected String
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected String
protected String
protected String
protected Validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Valid FormFieldOption[]
@Valid Grid
getGrid()
getId()
getLabel()
getName()
getStyle()
getText()
@Valid Validation
int
hashCode()
void
setAutocomplete
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> autocompleteUnsafeSupplier) void
setAutocomplete
(Boolean autocomplete) void
setDataSourceType
(com.liferay.petra.function.UnsafeSupplier<String, Exception> dataSourceTypeUnsafeSupplier) void
setDataSourceType
(String dataSourceType) void
setDataType
(com.liferay.petra.function.UnsafeSupplier<String, Exception> dataTypeUnsafeSupplier) void
setDataType
(String dataType) void
setDisplayStyle
(com.liferay.petra.function.UnsafeSupplier<String, Exception> displayStyleUnsafeSupplier) void
setDisplayStyle
(String displayStyle) void
setFormFieldOptions
(FormFieldOption[] formFieldOptions) void
setFormFieldOptions
(com.liferay.petra.function.UnsafeSupplier<FormFieldOption[], Exception> formFieldOptionsUnsafeSupplier) void
void
void
setHasFormRules
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> hasFormRulesUnsafeSupplier) void
setHasFormRules
(Boolean hasFormRules) void
void
void
setImmutable
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> immutableUnsafeSupplier) void
setImmutable
(Boolean immutable) void
void
void
setInputControl
(com.liferay.petra.function.UnsafeSupplier<String, Exception> inputControlUnsafeSupplier) void
setInputControl
(String inputControl) void
void
void
setLabel_i18n
(com.liferay.petra.function.UnsafeSupplier<Map<String, String>, Exception> label_i18nUnsafeSupplier) void
setLabel_i18n
(Map<String, String> label_i18n) void
setLocalizable
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> localizableUnsafeSupplier) void
setLocalizable
(Boolean localizable) void
setMultiple
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> multipleUnsafeSupplier) void
setMultiple
(Boolean multiple) void
void
void
setPlaceholder
(com.liferay.petra.function.UnsafeSupplier<String, Exception> placeholderUnsafeSupplier) void
setPlaceholder
(String placeholder) void
setPredefinedValue
(com.liferay.petra.function.UnsafeSupplier<String, Exception> predefinedValueUnsafeSupplier) void
setPredefinedValue
(String predefinedValue) void
setPredefinedValue_i18n
(com.liferay.petra.function.UnsafeSupplier<Map<String, String>, Exception> predefinedValue_i18nUnsafeSupplier) void
setPredefinedValue_i18n
(Map<String, String> predefinedValue_i18n) void
setReadOnly
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> readOnlyUnsafeSupplier) void
setReadOnly
(Boolean readOnly) void
setRepeatable
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> repeatableUnsafeSupplier) void
setRepeatable
(Boolean repeatable) void
setRequired
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> requiredUnsafeSupplier) void
setRequired
(Boolean required) void
setShowAsSwitcher
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> showAsSwitcherUnsafeSupplier) void
setShowAsSwitcher
(Boolean showAsSwitcher) void
setShowLabel
(com.liferay.petra.function.UnsafeSupplier<Boolean, Exception> showLabelUnsafeSupplier) void
setShowLabel
(Boolean showLabel) void
void
void
void
void
setText_i18n
(com.liferay.petra.function.UnsafeSupplier<Map<String, String>, Exception> text_i18nUnsafeSupplier) void
setText_i18n
(Map<String, String> text_i18n) void
setTooltip
(com.liferay.petra.function.UnsafeSupplier<String, Exception> tooltipUnsafeSupplier) void
setTooltip
(String tooltip) void
setValidation
(Validation validation) void
setValidation
(com.liferay.petra.function.UnsafeSupplier<Validation, Exception> validationUnsafeSupplier) static FormField
toString()
static FormField
unsafeToDTO
(String json)
-
Field Details
-
autocomplete
-
dataSourceType
-
dataType
-
displayStyle
-
formFieldOptions
-
grid
-
hasFormRules
-
id
-
immutable
-
inline
-
inputControl
-
label
-
label_i18n
-
localizable
-
multiple
-
name
-
placeholder
-
predefinedValue
-
predefinedValue_i18n
-
readOnly
-
repeatable
-
required
-
showAsSwitcher
-
showLabel
-
style
-
text
-
text_i18n
-
tooltip
-
validation
-
xClassName
-
-
Constructor Details
-
FormField
public FormField()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getAutocomplete
-
setAutocomplete
-
setAutocomplete
-
getDataSourceType
-
setDataSourceType
-
setDataSourceType
-
getDataType
-
setDataType
-
setDataType
-
getDisplayStyle
-
setDisplayStyle
-
setDisplayStyle
-
getFormFieldOptions
-
setFormFieldOptions
-
setFormFieldOptions
public void setFormFieldOptions(com.liferay.petra.function.UnsafeSupplier<FormFieldOption[], Exception> formFieldOptionsUnsafeSupplier) -
getGrid
-
setGrid
-
setGrid
-
getHasFormRules
-
setHasFormRules
-
setHasFormRules
-
getId
-
setId
-
setId
-
getImmutable
-
setImmutable
-
setImmutable
-
getInline
-
setInline
-
setInline
-
getInputControl
-
setInputControl
-
setInputControl
-
getLabel
-
setLabel
-
setLabel
-
getLabel_i18n
-
setLabel_i18n
-
setLabel_i18n
-
getLocalizable
-
setLocalizable
-
setLocalizable
-
getMultiple
-
setMultiple
-
setMultiple
-
getName
-
setName
-
setName
-
getPlaceholder
-
setPlaceholder
-
setPlaceholder
-
getPredefinedValue
-
setPredefinedValue
-
setPredefinedValue
-
getPredefinedValue_i18n
-
setPredefinedValue_i18n
-
setPredefinedValue_i18n
-
getReadOnly
-
setReadOnly
-
setReadOnly
-
getRepeatable
-
setRepeatable
-
setRepeatable
-
getRequired
-
setRequired
-
setRequired
-
getShowAsSwitcher
-
setShowAsSwitcher
-
setShowAsSwitcher
-
getShowLabel
-
setShowLabel
-
setShowLabel
-
getStyle
-
setStyle
-
setStyle
-
getText
-
setText
-
setText
-
getText_i18n
-
setText_i18n
-
setText_i18n
-
getTooltip
-
setTooltip
-
setTooltip
-
getValidation
-
setValidation
-
setValidation
public void setValidation(com.liferay.petra.function.UnsafeSupplier<Validation, Exception> validationUnsafeSupplier) -
equals
-
hashCode
public int hashCode() -
toString
-