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
String
public void setName(String value)
value
- allowed object is
String
public Boolean isSelected()
Boolean
public void setSelected(Boolean value)
value
- allowed object is
Boolean
public Integer getHits()
Integer
public void setHits(Integer value)
value
- allowed object is
Integer
public Boolean isDisabled()
Boolean
Copyright © 2011–2019 aiticon GmbH. All rights reserved.