public class OptionDescription extends Object
| Constructor and Description |
|---|
OptionDescription(String name,
String description,
String type,
String uiType)
Creates an
OptionDescription with the specified name, description, type, and UI Type (select one, select many, etc). |
OptionDescription(String name,
String description,
String type,
String uiType,
List<String> availableOptions,
boolean required)
Creates an
OptionDescription with the specified name, description, type, UI Type (select one, select many, etc), and available option list. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableOptions()
Gets a list of all available options.
|
String |
getDescription()
Gets the description of the option.
|
String |
getName()
Gets the name of the option.
|
String |
getType()
Gets the type of the option.
|
String |
getUiType()
Gets the UI Type (SELECT_ONE, SELECT_MANY, etc).
|
boolean |
isRequired()
Tells if the option is required.
|
public OptionDescription(String name, String description, String type, String uiType)
OptionDescription with the specified name, description, type, and UI Type (select one, select many, etc).
The available options is unbounded.public String getName()
public String getDescription()
public String getType()
public String getUiType()
public boolean isRequired()
Copyright © 2020 JBoss by Red Hat. All rights reserved.