java.lang.Object
com.liferay.search.experiences.rest.dto.v1_0.Field
All Implemented Interfaces:
Serializable

@Generated("") public class Field extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • defaultValue

      protected Object defaultValue
    • fieldMappings

      protected FieldMapping[] fieldMappings
    • helpText

      protected String helpText
    • helpTextLocalized

      protected String helpTextLocalized
    • label

      protected String label
    • labelLocalized

      protected String labelLocalized
    • name

      protected String name
    • type

      protected String type
    • typeOptions

      protected TypeOptions typeOptions
    • xClassName

      public String xClassName
  • Constructor Details

    • Field

      public Field()
  • Method Details

    • toDTO

      public static Field toDTO(String json)
    • unsafeToDTO

      public static Field unsafeToDTO(String json)
    • getDefaultValue

      @Valid public @Valid Object getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)
    • setDefaultValue

      public void setDefaultValue(com.liferay.petra.function.UnsafeSupplier<Object,Exception> defaultValueUnsafeSupplier)
    • getFieldMappings

      @Valid public @Valid FieldMapping[] getFieldMappings()
    • setFieldMappings

      public void setFieldMappings(FieldMapping[] fieldMappings)
    • setFieldMappings

      public void setFieldMappings(com.liferay.petra.function.UnsafeSupplier<FieldMapping[],Exception> fieldMappingsUnsafeSupplier)
    • getHelpText

      public String getHelpText()
    • setHelpText

      public void setHelpText(String helpText)
    • setHelpText

      public void setHelpText(com.liferay.petra.function.UnsafeSupplier<String,Exception> helpTextUnsafeSupplier)
    • getHelpTextLocalized

      public String getHelpTextLocalized()
    • setHelpTextLocalized

      public void setHelpTextLocalized(String helpTextLocalized)
    • setHelpTextLocalized

      public void setHelpTextLocalized(com.liferay.petra.function.UnsafeSupplier<String,Exception> helpTextLocalizedUnsafeSupplier)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • setLabel

      public void setLabel(com.liferay.petra.function.UnsafeSupplier<String,Exception> labelUnsafeSupplier)
    • getLabelLocalized

      public String getLabelLocalized()
    • setLabelLocalized

      public void setLabelLocalized(String labelLocalized)
    • setLabelLocalized

      public void setLabelLocalized(com.liferay.petra.function.UnsafeSupplier<String,Exception> labelLocalizedUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<String,Exception> typeUnsafeSupplier)
    • getTypeOptions

      @Valid public @Valid TypeOptions getTypeOptions()
    • setTypeOptions

      public void setTypeOptions(TypeOptions typeOptions)
    • setTypeOptions

      public void setTypeOptions(com.liferay.petra.function.UnsafeSupplier<TypeOptions,Exception> typeOptionsUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object