public class SelectOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectOptions.Builder
Class to build instances of
SelectOptions. |
| Constructor and Description |
|---|
SelectOptions(String title,
String body,
List<SelectOption> options,
SelectOption selectedOption)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBody()
Getter for Body.
|
List<SelectOption> |
getOptions()
Getter for Options.
|
SelectOption |
getSelectedOption()
Getter for SelectedOption.
|
String |
getTitle()
Getter for Title.
|
int |
hashCode() |
SelectOptions.Builder |
toBuilder()
Builds a new
SelectOptions.Builder object. |
String |
toString()
Converts this SelectOptions into string format.
|
public SelectOptions(String title, String body, List<SelectOption> options, SelectOption selectedOption)
title - String value for title.body - String value for body.options - List of SelectOption value for options.selectedOption - SelectOption value for selectedOption.public String getTitle()
public String getBody()
public List<SelectOption> getOptions()
public SelectOption getSelectedOption()
public String toString()
public SelectOptions.Builder toBuilder()
SelectOptions.Builder object.
Creates the instance with the state of the current model.SelectOptions.Builder objectCopyright © 2024. All rights reserved.