Option
Inheritance: java.lang.Object
public final class Option
Class represents option of choice field.
Methods
Method | Description |
---|---|
getValue() | Gets option export value. |
setValue(String value) | Sets option export value. |
getName() | Gets name of option. |
setName(String value) | Sets name of option. |
getSelected() | Gets selected status of option. |
setSelected(boolean value) | Sets selected status of option. |
getIndex() | Gets index of the option. |
hasExportValue() | Return true if has Export Value |
getValue()
public String getValue()
Gets option export value.
Returns: java.lang.String - String value
setValue(String value)
public void setValue(String value)
Sets option export value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
getName()
public String getName()
Gets name of option.
Returns: java.lang.String - String value
setName(String value)
public void setName(String value)
Sets name of option.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
getSelected()
public boolean getSelected()
Gets selected status of option. Returns true if option is selected.
Returns: boolean - boolean value
setSelected(boolean value)
public void setSelected(boolean value)
Sets selected status of option. Returns true if option is selected.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |
getIndex()
public int getIndex()
Gets index of the option.
Returns: int - int value
hasExportValue()
public boolean hasExportValue()
Return true if has Export Value
Returns: boolean - boolean value