Package org.apache.openejb.jee
Class FacesManagedBean
- java.lang.Object
-
- org.apache.openejb.jee.FacesManagedBean
-
public class FacesManagedBean extends Object
web-facesconfig_2_0.xsdJava class for faces-config-managed-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-managed-beanType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="managed-bean-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="managed-bean-class" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="managed-bean-scope" type="{http://www.w3.org/2001/XMLSchema}string"/> <choice> <element name="managed-property" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-propertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="map-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-map-entriesType"/> <element name="list-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-list-entriesType"/> </choice> <element name="managed-bean-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-bean-extensionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TextMapdescriptionprotected TextMapdisplayNameprotected LocalCollection<Icon>iconprotected Stringidprotected FacesListEntrieslistEntriesprotected StringmanagedBeanClassprotected List<FacesManagedBeanExtension>managedBeanExtensionprotected StringmanagedBeanNameprotected StringmanagedBeanScopeprotected List<FacesManagedProperty>managedPropertyprotected FacesMapEntriesmapEntries
-
Constructor Summary
Constructors Constructor Description FacesManagedBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Text[]getDescriptions()StringgetDisplayName()Text[]getDisplayNames()IcongetIcon()Map<String,Icon>getIconMap()Collection<Icon>getIcons()StringgetId()Gets the value of the id property.FacesListEntriesgetListEntries()Gets the value of the listEntries property.StringgetManagedBeanClass()Gets the value of the managedBeanClass property.List<FacesManagedBeanExtension>getManagedBeanExtension()Gets the value of the managedBeanExtension property.StringgetManagedBeanName()Gets the value of the managedBeanName property.StringgetManagedBeanScope()Gets the value of the managedBeanScope property.List<FacesManagedProperty>getManagedProperty()Gets the value of the managedProperty property.FacesMapEntriesgetMapEntries()Gets the value of the mapEntries property.voidsetDescriptions(Text[] text)voidsetDisplayNames(Text[] text)voidsetId(String value)Sets the value of the id property.voidsetListEntries(FacesListEntries value)Sets the value of the listEntries property.voidsetManagedBeanClass(String value)Sets the value of the managedBeanClass property.voidsetManagedBeanName(String value)Sets the value of the managedBeanName property.voidsetManagedBeanScope(String value)Sets the value of the managedBeanScope property.voidsetMapEntries(FacesMapEntries value)Sets the value of the mapEntries property.
-
-
-
Field Detail
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
managedBeanName
protected String managedBeanName
-
managedBeanClass
protected String managedBeanClass
-
managedBeanScope
protected String managedBeanScope
-
managedProperty
protected List<FacesManagedProperty> managedProperty
-
mapEntries
protected FacesMapEntries mapEntries
-
listEntries
protected FacesListEntries listEntries
-
managedBeanExtension
protected List<FacesManagedBeanExtension> managedBeanExtension
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getDisplayNames
public Text[] getDisplayNames()
-
setDisplayNames
public void setDisplayNames(Text[] text)
-
getDisplayName
public String getDisplayName()
-
getIcons
public Collection<Icon> getIcons()
-
getIcon
public Icon getIcon()
-
getManagedBeanName
public String getManagedBeanName()
Gets the value of the managedBeanName property.- Returns:
- possible object is
String
-
setManagedBeanName
public void setManagedBeanName(String value)
Sets the value of the managedBeanName property.- Parameters:
value- allowed object isString
-
getManagedBeanClass
public String getManagedBeanClass()
Gets the value of the managedBeanClass property.- Returns:
- possible object is
String
-
setManagedBeanClass
public void setManagedBeanClass(String value)
Sets the value of the managedBeanClass property.- Parameters:
value- allowed object isString
-
getManagedBeanScope
public String getManagedBeanScope()
Gets the value of the managedBeanScope property.- Returns:
- possible object is
String
-
setManagedBeanScope
public void setManagedBeanScope(String value)
Sets the value of the managedBeanScope property.- Parameters:
value- allowed object isString
-
getManagedProperty
public List<FacesManagedProperty> getManagedProperty()
Gets the value of the managedProperty 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 asetmethod for the managedProperty property. For example, to add a new item, do as follows:getManagedProperty().add(newItem);Objects of the following type(s) are allowed in the listFacesManagedProperty
-
getMapEntries
public FacesMapEntries getMapEntries()
Gets the value of the mapEntries property.- Returns:
- possible object is
FacesMapEntries
-
setMapEntries
public void setMapEntries(FacesMapEntries value)
Sets the value of the mapEntries property.- Parameters:
value- allowed object isFacesMapEntries
-
getListEntries
public FacesListEntries getListEntries()
Gets the value of the listEntries property.- Returns:
- possible object is
FacesListEntries
-
setListEntries
public void setListEntries(FacesListEntries value)
Sets the value of the listEntries property.- Parameters:
value- allowed object isFacesListEntries
-
getManagedBeanExtension
public List<FacesManagedBeanExtension> getManagedBeanExtension()
Gets the value of the managedBeanExtension 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 asetmethod for the managedBeanExtension property. For example, to add a new item, do as follows:getManagedBeanExtension().add(newItem);Objects of the following type(s) are allowed in the listFacesManagedBeanExtension
-
-