Package org.appng.xml.platform
Class Option
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Option
-
- All Implemented Interfaces:
Serializable
public class Option extends BaseObject implements Serializable
Defines a possible option for aSelection
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
isSelected
public Boolean isSelected()
Used for marking the option as selected.- Returns:
- possible object is
Boolean
-
setSelected
public void setSelected(Boolean value)
Sets the value of the selected property.- Parameters:
value
- allowed object isBoolean
-
getHits
public Integer getHits()
Tells how many hits there are for this option.- Returns:
- possible object is
Integer
-
setHits
public void setHits(Integer value)
Sets the value of the hits property.- Parameters:
value
- allowed object isInteger
-
isDisabled
public Boolean isDisabled()
Used for marking the option as disabled.- Returns:
- possible object is
Boolean
-
-