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

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.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  DescriptionType[] description
           
protected  DisplayNameType[] displayName
           
protected  IconType[] icon
           
protected  String id
           
protected  FacesConfigListEntriesType listEntries
           
protected  FullyQualifiedClassType managedBeanClass
           
protected  FacesConfigManagedBeanExtensionType[] managedBeanExtension
           
protected  JavaIdentifierType managedBeanName
           
protected  FacesConfigManagedBeanScopeOrNoneType managedBeanScope
           
protected  FacesConfigManagedPropertyType[] managedProperty
           
protected  FacesConfigMapEntriesType mapEntries
           
 
Constructor Summary
FacesConfigManagedBeanType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigManagedBeanType instance.
FacesConfigManagedBeanType(FacesConfigManagedBeanType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigManagedBeanType instance by copying a given instance.
 
Method Summary
 FacesConfigManagedBeanType clone()
          Creates and returns a copy of this object.
 void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
 void copyDisplayName(DisplayNameType[] source)
          Copies all values of property DisplayName.
 void copyIcon(IconType[] source)
          Copies all values of property Icon.
 void copyManagedBeanExtension(FacesConfigManagedBeanExtensionType[] source)
          Copies all values of property ManagedBeanExtension.
 void copyManagedProperty(FacesConfigManagedPropertyType[] source)
          Copies all values of property ManagedProperty.
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 IconType[] getIcon()
           
 IconType getIcon(int idx)
           
 int getIconLength()
           
 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.
 FacesConfigManagedBeanExtensionType[] getManagedBeanExtension()
           
 FacesConfigManagedBeanExtensionType getManagedBeanExtension(int idx)
           
 int getManagedBeanExtensionLength()
           
 JavaIdentifierType getManagedBeanName()
          Gets the value of the managedBeanName property.
 FacesConfigManagedBeanScopeOrNoneType getManagedBeanScope()
          Gets the value of the managedBeanScope property.
 FacesConfigManagedPropertyType[] getManagedProperty()
           
 FacesConfigManagedPropertyType getManagedProperty(int idx)
           
 int getManagedPropertyLength()
           
 FacesConfigMapEntriesType getMapEntries()
          Gets the value of the mapEntries property.
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setIcon(IconType[] values)
           
 IconType setIcon(int idx, IconType value)
           
 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 setManagedBeanExtension(FacesConfigManagedBeanExtensionType[] values)
           
 FacesConfigManagedBeanExtensionType setManagedBeanExtension(int idx, FacesConfigManagedBeanExtensionType value)
           
 void setManagedBeanName(JavaIdentifierType value)
          Sets the value of the managedBeanName property.
 void setManagedBeanScope(FacesConfigManagedBeanScopeOrNoneType value)
          Sets the value of the managedBeanScope property.
 void setManagedProperty(FacesConfigManagedPropertyType[] values)
           
 FacesConfigManagedPropertyType setManagedProperty(int idx, FacesConfigManagedPropertyType value)
           
 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 DescriptionType[] description

displayName

protected DisplayNameType[] displayName

icon

protected IconType[] icon

managedBeanName

protected JavaIdentifierType managedBeanName

managedBeanClass

protected FullyQualifiedClassType managedBeanClass

managedBeanScope

protected FacesConfigManagedBeanScopeOrNoneType managedBeanScope

managedProperty

protected FacesConfigManagedPropertyType[] managedProperty

mapEntries

protected FacesConfigMapEntriesType mapEntries

listEntries

protected FacesConfigListEntriesType listEntries

managedBeanExtension

protected FacesConfigManagedBeanExtensionType[] managedBeanExtension

id

protected String id
Constructor Detail

FacesConfigManagedBeanType

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


FacesConfigManagedBeanType

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

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

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

public void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getDisplayName

public DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

public DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

public int getDisplayNameLength()

setDisplayName

public void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

public DisplayNameType setDisplayName(int idx,
                                      DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getIcon

public IconType[] getIcon()
Returns:
array of IconType

getIcon

public IconType getIcon(int idx)
Returns:
one of IconType

getIconLength

public int getIconLength()

setIcon

public void setIcon(IconType[] values)
Parameters:
values - allowed objects are IconType

setIcon

public IconType setIcon(int idx,
                        IconType value)
Parameters:
value - allowed object is 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 FacesConfigManagedPropertyType[] getManagedProperty()
Returns:
array of FacesConfigManagedPropertyType

getManagedProperty

public FacesConfigManagedPropertyType getManagedProperty(int idx)
Returns:
one of FacesConfigManagedPropertyType

getManagedPropertyLength

public int getManagedPropertyLength()

setManagedProperty

public void setManagedProperty(FacesConfigManagedPropertyType[] values)
Parameters:
values - allowed objects are FacesConfigManagedPropertyType

setManagedProperty

public FacesConfigManagedPropertyType setManagedProperty(int idx,
                                                         FacesConfigManagedPropertyType value)
Parameters:
value - allowed object is 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 FacesConfigManagedBeanExtensionType[] getManagedBeanExtension()
Returns:
array of FacesConfigManagedBeanExtensionType

getManagedBeanExtension

public FacesConfigManagedBeanExtensionType getManagedBeanExtension(int idx)
Returns:
one of FacesConfigManagedBeanExtensionType

getManagedBeanExtensionLength

public int getManagedBeanExtensionLength()

setManagedBeanExtension

public void setManagedBeanExtension(FacesConfigManagedBeanExtensionType[] values)
Parameters:
values - allowed objects are FacesConfigManagedBeanExtensionType

setManagedBeanExtension

public FacesConfigManagedBeanExtensionType setManagedBeanExtension(int idx,
                                                                   FacesConfigManagedBeanExtensionType value)
Parameters:
value - allowed object is 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 void copyDescription(DescriptionType[] source)
Copies all values of property Description.

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

copyDisplayName

public void copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName.

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

copyIcon

public void copyIcon(IconType[] source)
Copies all values of property Icon.

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

copyManagedProperty

public void copyManagedProperty(FacesConfigManagedPropertyType[] source)
Copies all values of property ManagedProperty.

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

copyManagedBeanExtension

public void copyManagedBeanExtension(FacesConfigManagedBeanExtensionType[] source)
Copies all values of property ManagedBeanExtension.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source 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.