public class Bean extends BaseObject implements Serializable
beans.xml
file.Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected List<BeanOption> |
options |
Constructor and Description |
---|
Bean() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
The id of the bean as defined in the applications
beans.xml file. |
List<BeanOption> |
getOptions()
Gets the value of the options property.
|
void |
setId(String value)
Sets the value of the id property.
|
protected List<BeanOption> options
protected String id
public List<BeanOption> getOptions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the options property.
For example, to add a new item, do as follows:
getOptions().add(newItem);
Objects of the following type(s) are allowed in the list
BeanOption
public String getId()
beans.xml
file.String
Copyright © 2011–2017 aiticon GmbH. All rights reserved.