public class MultiSelectFieldProperty extends Object implements FieldProperty
Constructor and Description |
---|
MultiSelectFieldProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCode()
The field code of the field.
|
List<String> |
getDefaultValue()
The default value.
|
String |
getLabel()
The field name.
|
Boolean |
getNoLabel()
The "Hide field name" option.
|
Map<String,Option> |
getOptions()
An object including data of the field's options.
|
Boolean |
getRequired()
The "Required field" option.
|
FieldType |
getType()
Get the field type.
|
int |
hashCode() |
MultiSelectFieldProperty |
setCode(String code)
The field code of the field.
|
MultiSelectFieldProperty |
setDefaultValue(List<String> defaultValue)
The default value.
|
MultiSelectFieldProperty |
setLabel(String label)
The field name.
|
MultiSelectFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
MultiSelectFieldProperty |
setOptions(Map<String,Option> options)
An object including data of the field's options.
|
MultiSelectFieldProperty |
setRequired(Boolean required)
The "Required field" option.
|
String |
toString() |
public FieldType getType()
getType
in interface FieldProperty
public String getCode()
getCode
in interface FieldProperty
public String getLabel()
public Boolean getNoLabel()
public Boolean getRequired()
public List<String> getDefaultValue()
public Map<String,Option> getOptions()
public MultiSelectFieldProperty setCode(String code)
this
.public MultiSelectFieldProperty setLabel(String label)
this
.public MultiSelectFieldProperty setNoLabel(Boolean noLabel)
this
.public MultiSelectFieldProperty setRequired(Boolean required)
this
.public MultiSelectFieldProperty setDefaultValue(List<String> defaultValue)
this
.public MultiSelectFieldProperty setOptions(Map<String,Option> options)
this
.public boolean equals(Object o)
equals
in class Object
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object