public class FacesManagedBean extends Object
Java 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>
| Modifier and Type | Field and Description |
|---|---|
protected TextMap |
description |
protected TextMap |
displayName |
protected LocalCollection<Icon> |
icon |
protected String |
id |
protected FacesListEntries |
listEntries |
protected String |
managedBeanClass |
protected List<FacesManagedBeanExtension> |
managedBeanExtension |
protected String |
managedBeanName |
protected String |
managedBeanScope |
protected List<FacesManagedProperty> |
managedProperty |
protected FacesMapEntries |
mapEntries |
| Constructor and Description |
|---|
FacesManagedBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Text[] |
getDescriptions() |
String |
getDisplayName() |
Text[] |
getDisplayNames() |
Icon |
getIcon() |
Map<String,Icon> |
getIconMap() |
Collection<Icon> |
getIcons() |
String |
getId()
Gets the value of the id property.
|
FacesListEntries |
getListEntries()
Gets the value of the listEntries property.
|
String |
getManagedBeanClass()
Gets the value of the managedBeanClass property.
|
List<FacesManagedBeanExtension> |
getManagedBeanExtension()
Gets the value of the managedBeanExtension property.
|
String |
getManagedBeanName()
Gets the value of the managedBeanName property.
|
String |
getManagedBeanScope()
Gets the value of the managedBeanScope property.
|
List<FacesManagedProperty> |
getManagedProperty()
Gets the value of the managedProperty property.
|
FacesMapEntries |
getMapEntries()
Gets the value of the mapEntries property.
|
void |
setDescriptions(Text[] text) |
void |
setDisplayNames(Text[] text) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setListEntries(FacesListEntries value)
Sets the value of the listEntries property.
|
void |
setManagedBeanClass(String value)
Sets the value of the managedBeanClass property.
|
void |
setManagedBeanName(String value)
Sets the value of the managedBeanName property.
|
void |
setManagedBeanScope(String value)
Sets the value of the managedBeanScope property.
|
void |
setMapEntries(FacesMapEntries value)
Sets the value of the mapEntries property.
|
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String managedBeanName
protected String managedBeanClass
protected String managedBeanScope
protected List<FacesManagedProperty> managedProperty
protected FacesMapEntries mapEntries
protected FacesListEntries listEntries
protected List<FacesManagedBeanExtension> managedBeanExtension
protected String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getManagedBeanName()
Stringpublic void setManagedBeanName(String value)
value - allowed object is
Stringpublic String getManagedBeanClass()
Stringpublic void setManagedBeanClass(String value)
value - allowed object is
Stringpublic String getManagedBeanScope()
Stringpublic void setManagedBeanScope(String value)
value - allowed object is
Stringpublic List<FacesManagedProperty> getManagedProperty()
set method 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 list
FacesManagedPropertypublic FacesMapEntries getMapEntries()
FacesMapEntriespublic void setMapEntries(FacesMapEntries value)
value - allowed object is
FacesMapEntriespublic FacesListEntries getListEntries()
FacesListEntriespublic void setListEntries(FacesListEntries value)
value - allowed object is
FacesListEntriespublic List<FacesManagedBeanExtension> getManagedBeanExtension()
set method 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 list
FacesManagedBeanExtensionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.