public class Option extends BaseObject implements Serializable
Selection| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
disabled |
protected Integer |
hits |
protected String |
name |
protected Boolean |
selected |
protected String |
value |
| Constructor and Description |
|---|
Option() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getHits()
Tells how many hits there are for this option.
|
String |
getName()
The name of the option.
|
String |
getValue()
The value of the option.
|
Boolean |
isDisabled()
Used for marking the option as disabled.
|
Boolean |
isSelected()
Used for marking the option as selected.
|
void |
setDisabled(Boolean value)
Sets the value of the disabled property.
|
void |
setHits(Integer value)
Sets the value of the hits property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSelected(Boolean value)
Sets the value of the selected property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected String value
protected String name
protected Boolean selected
protected Integer hits
protected Boolean disabled
public void setValue(String value)
value - allowed object is
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Boolean isSelected()
Booleanpublic void setSelected(Boolean value)
value - allowed object is
Booleanpublic Integer getHits()
Integerpublic void setHits(Integer value)
value - allowed object is
Integerpublic Boolean isDisabled()
BooleanCopyright © 2011–2020 aiticon GmbH. All rights reserved.