Class Field
- java.lang.Object
-
- com.caplin.motif.config.definitions.common.Field
-
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class Field extends java.lang.Object
Field
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Field
addOptionsItem(DropdownOption optionsItem)
Field
displayName(java.lang.String displayName)
boolean
equals(java.lang.Object o)
Field
field(java.lang.String field)
@NotNull java.lang.String
getDisplayName()
Get displayName@NotNull java.lang.String
getField()
Get fieldjava.util.List<DropdownOption>
getOptions()
Get options@NotNull FieldType
getType()
Get typeint
hashCode()
Field
options(java.util.List<DropdownOption> options)
void
setDisplayName(java.lang.String displayName)
void
setField(java.lang.String field)
void
setOptions(java.util.List<DropdownOption> options)
void
setType(FieldType type)
java.lang.String
toString()
Field
type(FieldType type)
-
-
-
Constructor Detail
-
Field
public Field()
-
Field
public Field(java.lang.String displayName, java.lang.String field, FieldType type)
Constructor with only required parameters
-
-
Method Detail
-
displayName
public Field displayName(java.lang.String displayName)
-
getDisplayName
@NotNull public @NotNull java.lang.String getDisplayName()
Get displayName- Returns:
- displayName
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
-
field
public Field field(java.lang.String field)
-
getField
@NotNull public @NotNull java.lang.String getField()
Get field- Returns:
- field
-
setField
public void setField(java.lang.String field)
-
getType
@NotNull public @NotNull FieldType getType()
Get type- Returns:
- type
-
setType
public void setType(FieldType type)
-
options
public Field options(java.util.List<DropdownOption> options)
-
addOptionsItem
public Field addOptionsItem(DropdownOption optionsItem)
-
getOptions
public java.util.List<DropdownOption> getOptions()
Get options- Returns:
- options
-
setOptions
public void setOptions(java.util.List<DropdownOption> options)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-