net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee
Class FacesConfigReferencedBeanType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigReferencedBeanType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigReferencedBeanType
extends Object
implements Serializable, Cloneable

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://java.sun.com/xml/ns/javaee}java-identifierType"/>
         <element name="referenced-bean-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
       </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  FullyQualifiedClassType referencedBeanClass
           
protected  JavaIdentifierType referencedBeanName
           
 
Constructor Summary
FacesConfigReferencedBeanType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigReferencedBeanType instance.
FacesConfigReferencedBeanType(FacesConfigReferencedBeanType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigReferencedBeanType instance by copying a given instance.
 
Method Summary
 FacesConfigReferencedBeanType clone()
          Creates and returns a copy of this object.
protected  void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
protected  void copyDisplayName(DisplayNameType[] source)
          Copies all values of property DisplayName.
protected  void copyIcon(IconType[] source)
          Copies all values of property Icon.
 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.
 FullyQualifiedClassType getReferencedBeanClass()
          Gets the value of the referencedBeanClass property.
 JavaIdentifierType getReferencedBeanName()
          Gets the value of the referencedBeanName 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 setReferencedBeanClass(FullyQualifiedClassType value)
          Sets the value of the referencedBeanClass property.
 void setReferencedBeanName(JavaIdentifierType value)
          Sets the value of the referencedBeanName 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

referencedBeanName

protected JavaIdentifierType referencedBeanName

referencedBeanClass

protected FullyQualifiedClassType referencedBeanClass

id

protected String id
Constructor Detail

FacesConfigReferencedBeanType

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


FacesConfigReferencedBeanType

public FacesConfigReferencedBeanType(FacesConfigReferencedBeanType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.FacesConfigReferencedBeanType 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

getReferencedBeanName

public JavaIdentifierType getReferencedBeanName()
Gets the value of the referencedBeanName property.

Returns:
possible object is JavaIdentifierType

setReferencedBeanName

public void setReferencedBeanName(JavaIdentifierType value)
Sets the value of the referencedBeanName property.

Parameters:
value - allowed object is JavaIdentifierType

getReferencedBeanClass

public FullyQualifiedClassType getReferencedBeanClass()
Gets the value of the referencedBeanClass property.

Returns:
possible object is FullyQualifiedClassType

setReferencedBeanClass

public void setReferencedBeanClass(FullyQualifiedClassType value)
Sets the value of the referencedBeanClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

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

protected void copyDescription(DescriptionType[] source)
Copies all values of property Description.

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

copyDisplayName

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

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

copyIcon

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

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

clone

public FacesConfigReferencedBeanType 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.