public class CheckBoxFieldProperty extends Object implements FieldProperty
Constructor and Description |
---|
CheckBoxFieldProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Alignment |
getAlign()
The layout of the options.
|
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() |
CheckBoxFieldProperty |
setAlign(Alignment align)
The layout of the options.
|
CheckBoxFieldProperty |
setCode(String code)
The field code of the field.
|
CheckBoxFieldProperty |
setDefaultValue(List<String> defaultValue)
The default value.
|
CheckBoxFieldProperty |
setLabel(String label)
The field name.
|
CheckBoxFieldProperty |
setNoLabel(Boolean noLabel)
The "Hide field name" option.
|
CheckBoxFieldProperty |
setOptions(Map<String,Option> options)
An object including data of the field's options.
|
CheckBoxFieldProperty |
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 Alignment getAlign()
public Map<String,Option> getOptions()
public CheckBoxFieldProperty setCode(String code)
this
.public CheckBoxFieldProperty setLabel(String label)
this
.public CheckBoxFieldProperty setNoLabel(Boolean noLabel)
this
.public CheckBoxFieldProperty setRequired(Boolean required)
this
.public CheckBoxFieldProperty setDefaultValue(List<String> defaultValue)
this
.public CheckBoxFieldProperty setAlign(Alignment align)
this
.public CheckBoxFieldProperty 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