net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee
Class FacesConfigManagedBeanType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigManagedBeanType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigManagedBeanType
extends Object
implements Serializable, Cloneable

The "managed-bean" element represents a JavaBean, of a particular class, that will be dynamically instantiated at runtime (by the default VariableResolver implementation) if it is referenced as the first element of a value binding expression, and no corresponding bean can be identified in any scope. In addition to the creation of the managed bean, and the optional storing of it into the specified scope, the nested managed-property elements can be used to initialize the contents of settable JavaBeans properties of the created instance.

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://java.sun.com/xml/ns/javaee}java-identifierType"/>
         <element name="managed-bean-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         <element name="managed-bean-scope" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-bean-scopeOrNoneType"/>
         <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>
 

See Also:
Serialized Form

Field Summary
protected  List<DescriptionType> description
           
protected  List<DisplayNameType> displayName
           
protected  List<IconType> icon
           
protected  String id
           
protected  FacesConfigListEntriesType listEntries
           
protected  FullyQualifiedClassType managedBeanClass
           
protected  List<FacesConfigManagedBeanExtensionType> managedBeanExtension
           
protected  JavaIdentifierType managedBeanName
           
protected  FacesConfigManagedBeanScopeOrNoneType managedBeanScope
           
protected  List<FacesConfigManagedPropertyType> managedProperty
           
protected  FacesConfigMapEntriesType mapEntries
           
 
Constructor Summary
FacesConfigManagedBeanType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigManagedBeanType instance.
FacesConfigManagedBeanType(FacesConfigManagedBeanType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigManagedBeanType instance by copying a given instance.
 
Method Summary
 FacesConfigManagedBeanType clone()
          Creates and returns a copy of this object.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
static void copyDisplayName(List<DisplayNameType> source, List<DisplayNameType> target)
          Copies all values of property DisplayName.
static void copyIcon(List<IconType> source, List<IconType> target)
          Copies all values of property Icon.
static void copyManagedBeanExtension(List<FacesConfigManagedBeanExtensionType> source, List<FacesConfigManagedBeanExtensionType> target)
          Copies all values of property ManagedBeanExtension.
static void copyManagedProperty(List<FacesConfigManagedPropertyType> source, List<FacesConfigManagedPropertyType> target)
          Copies all values of property ManagedProperty.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 FacesConfigListEntriesType getListEntries()
          Gets the value of the listEntries property.
 FullyQualifiedClassType getManagedBeanClass()
          Gets the value of the managedBeanClass property.
 List<FacesConfigManagedBeanExtensionType> getManagedBeanExtension()
          Gets the value of the managedBeanExtension property.
 JavaIdentifierType getManagedBeanName()
          Gets the value of the managedBeanName property.
 FacesConfigManagedBeanScopeOrNoneType getManagedBeanScope()
          Gets the value of the managedBeanScope property.
 List<FacesConfigManagedPropertyType> getManagedProperty()
          Gets the value of the managedProperty property.
 FacesConfigMapEntriesType getMapEntries()
          Gets the value of the mapEntries property.
 void setId(String value)
          Sets the value of the id property.
 void setListEntries(FacesConfigListEntriesType value)
          Sets the value of the listEntries property.
 void setManagedBeanClass(FullyQualifiedClassType value)
          Sets the value of the managedBeanClass property.
 void setManagedBeanName(JavaIdentifierType value)
          Sets the value of the managedBeanName property.
 void setManagedBeanScope(FacesConfigManagedBeanScopeOrNoneType value)
          Sets the value of the managedBeanScope property.
 void setMapEntries(FacesConfigMapEntriesType value)
          Sets the value of the mapEntries property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<DisplayNameType> displayName

icon

protected List<IconType> icon

managedBeanName

protected JavaIdentifierType managedBeanName

managedBeanClass

protected FullyQualifiedClassType managedBeanClass

managedBeanScope

protected FacesConfigManagedBeanScopeOrNoneType managedBeanScope

managedProperty

protected List<FacesConfigManagedPropertyType> managedProperty

mapEntries

protected FacesConfigMapEntriesType mapEntries

listEntries

protected FacesConfigListEntriesType listEntries

managedBeanExtension

protected List<FacesConfigManagedBeanExtensionType> managedBeanExtension

id

protected String id
Constructor Detail

FacesConfigManagedBeanType

public FacesConfigManagedBeanType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigManagedBeanType instance.


FacesConfigManagedBeanType

public FacesConfigManagedBeanType(FacesConfigManagedBeanType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.FacesConfigManagedBeanType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description 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 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


getDisplayName

public List<DisplayNameType> getDisplayName()
Gets the value of the displayName 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 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 DisplayNameType


getIcon

public List<IconType> getIcon()
Gets the value of the icon 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 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 IconType


getManagedBeanName

public JavaIdentifierType getManagedBeanName()
Gets the value of the managedBeanName property.

Returns:
possible object is JavaIdentifierType

setManagedBeanName

public void setManagedBeanName(JavaIdentifierType value)
Sets the value of the managedBeanName property.

Parameters:
value - allowed object is JavaIdentifierType

getManagedBeanClass

public FullyQualifiedClassType getManagedBeanClass()
Gets the value of the managedBeanClass property.

Returns:
possible object is FullyQualifiedClassType

setManagedBeanClass

public void setManagedBeanClass(FullyQualifiedClassType value)
Sets the value of the managedBeanClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getManagedBeanScope

public FacesConfigManagedBeanScopeOrNoneType getManagedBeanScope()
Gets the value of the managedBeanScope property.

Returns:
possible object is FacesConfigManagedBeanScopeOrNoneType

setManagedBeanScope

public void setManagedBeanScope(FacesConfigManagedBeanScopeOrNoneType value)
Sets the value of the managedBeanScope property.

Parameters:
value - allowed object is FacesConfigManagedBeanScopeOrNoneType

getManagedProperty

public List<FacesConfigManagedPropertyType> 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 a 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 FacesConfigManagedPropertyType


getMapEntries

public FacesConfigMapEntriesType getMapEntries()
Gets the value of the mapEntries property.

Returns:
possible object is FacesConfigMapEntriesType

setMapEntries

public void setMapEntries(FacesConfigMapEntriesType value)
Sets the value of the mapEntries property.

Parameters:
value - allowed object is FacesConfigMapEntriesType

getListEntries

public FacesConfigListEntriesType getListEntries()
Gets the value of the listEntries property.

Returns:
possible object is FacesConfigListEntriesType

setListEntries

public void setListEntries(FacesConfigListEntriesType value)
Sets the value of the listEntries property.

Parameters:
value - allowed object is FacesConfigListEntriesType

getManagedBeanExtension

public List<FacesConfigManagedBeanExtensionType> 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 a 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 FacesConfigManagedBeanExtensionType


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyDescription

public static void copyDescription(List<DescriptionType> source,
                                   List<DescriptionType> target)
Copies all values of property Description.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyDisplayName

public static void copyDisplayName(List<DisplayNameType> source,
                                   List<DisplayNameType> target)
Copies all values of property DisplayName.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyIcon

public static void copyIcon(List<IconType> source,
                            List<IconType> target)
Copies all values of property Icon.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyManagedProperty

public static void copyManagedProperty(List<FacesConfigManagedPropertyType> source,
                                       List<FacesConfigManagedPropertyType> target)
Copies all values of property ManagedProperty.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyManagedBeanExtension

public static void copyManagedBeanExtension(List<FacesConfigManagedBeanExtensionType> source,
                                            List<FacesConfigManagedBeanExtensionType> target)
Copies all values of property ManagedBeanExtension.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public FacesConfigManagedBeanType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.