public interface Options
Options
are created from the BeanOption
s of a Bean
and contain several Option
s. They
are then passed to the bean, which is either an ActionProvider
, a DataProvider
or a
FormValidator
.ActionProvider
,
DataProvider
,
FormValidator
Modifier and Type | Method and Description |
---|---|
Boolean |
getBoolean(String name,
String attribute)
|
<E extends Enum<E>> |
getEnum(String name,
String attribute,
Class<E> type)
|
Integer |
getInteger(String name,
String attribute)
|
Option |
getOption(String name)
Returns the
Option with the given name, if present. |
Set<String> |
getOptionNames()
Returns the names of all available
Option s |
String |
getOptionValue(String name,
String attribute)
Returns the attribute with the given name for the
Option with the given name. |
String |
getString(String name,
String attribute)
Returns the attribute with the given name for the
Option with the given name. |
boolean |
hasOption(String name)
Checks whether there is an
Option with the given name. |
Set<String> getOptionNames()
Option
sOption
sString getOptionValue(String name, String attribute)
Option
with the given name.String getString(String name, String attribute)
Option
with the given name.Boolean getBoolean(String name, String attribute)
name
- the name of the Option
to get the attribute fromattribute
- the name of the attribute of the Option
Boolean.TRUE
if the value of the attribute equals to (ignoring case) true
,
Boolean.FALSE
otherwise (also if no such Option
exists)Copyright © 2011–2020 aiticon GmbH. All rights reserved.