|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesReferencedBean
public class FacesReferencedBean
The "referenced-bean" element represents at design time the promise that a Java object of the specified type will exist at runtime in some scope, under the specified key. This can be used by design time tools to construct user interface dialogs based on the properties of the specified class. The presence or absence of a referenced bean element has no impact on the JavaServer Faces runtime environment inside a web application.
Java class for faces-config-referenced-beanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-referenced-beanType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="referenced-bean-name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="referenced-bean-class" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.util.List<DescriptionType> |
description
|
protected java.util.List<java.lang.String> |
displayName
|
protected java.util.List<Icon> |
icon
|
protected java.lang.String |
id
|
protected java.lang.String |
referencedBeanClass
|
protected java.lang.String |
referencedBeanName
|
Constructor Summary | |
---|---|
FacesReferencedBean()
|
Method Summary | |
---|---|
java.util.List<DescriptionType> |
getDescription()
Gets the value of the description property. |
java.util.List<java.lang.String> |
getDisplayName()
Gets the value of the displayName property. |
java.util.List<Icon> |
getIcon()
Gets the value of the icon property. |
java.lang.String |
getId()
Gets the value of the id property. |
java.lang.String |
getReferencedBeanClass()
Gets the value of the referencedBeanClass property. |
java.lang.String |
getReferencedBeanName()
Gets the value of the referencedBeanName property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setReferencedBeanClass(java.lang.String value)
Sets the value of the referencedBeanClass property. |
void |
setReferencedBeanName(java.lang.String value)
Sets the value of the referencedBeanName property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<DescriptionType> description
protected java.util.List<java.lang.String> displayName
protected java.util.List<Icon> icon
protected java.lang.String referencedBeanName
protected java.lang.String referencedBeanClass
protected java.lang.String id
Constructor Detail |
---|
public FacesReferencedBean()
Method Detail |
---|
public java.util.List<DescriptionType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public java.util.List<java.lang.String> getDisplayName()
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 displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.util.List<Icon> getIcon()
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 icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
Icon
public java.lang.String getReferencedBeanName()
String
public void setReferencedBeanName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getReferencedBeanClass()
String
public void setReferencedBeanClass(java.lang.String value)
value
- allowed object is
String
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |