Package org.appng.xml.platform
Class Bean
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Bean
-
- All Implemented Interfaces:
Serializable
public class Bean extends BaseObject implements Serializable
References a bean defined in the applicationsbeans.xml
file.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected List<BeanOption>
options
-
Constructor Summary
Constructors Constructor Description Bean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
The id of the bean as defined in the applicationsbeans.xml
file.List<BeanOption>
getOptions()
Gets the value of the options property.void
setId(String value)
Sets the value of the id property.
-
-
-
Field Detail
-
options
protected List<BeanOption> options
-
id
protected String id
-
-
Method Detail
-
getOptions
public List<BeanOption> getOptions()
Gets the value of the options property.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
-
getId
public String getId()
The id of the bean as defined in the applicationsbeans.xml
file.- Returns:
- possible object is
String
-
-