org.apache.openejb.jee
Class FacesFacet

java.lang.Object
  extended by org.apache.openejb.jee.FacesFacet

public class FacesFacet
extends java.lang.Object

Define the name and other design-time information for a facet that is associated with a renderer or a component.

Java class for faces-config-facetType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-facetType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="facet-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="facet-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-facet-extensionType" maxOccurs="unbounded" minOccurs="0"/>
       </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<FacesFacetExtension> facetExtension
           
protected  java.lang.String facetName
           
protected  java.util.List<Icon> icon
           
protected  java.lang.String id
           
 
Constructor Summary
FacesFacet()
           
 
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<FacesFacetExtension> getFacetExtension()
          Gets the value of the facetExtension property.
 java.lang.String getFacetName()
          Gets the value of the facetName property.
 java.util.List<Icon> getIcon()
          Gets the value of the icon property.
 java.lang.String getId()
          Gets the value of the id property.
 void setFacetName(java.lang.String value)
          Sets the value of the facetName property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.util.List<DescriptionType> description

displayName

protected java.util.List<java.lang.String> displayName

icon

protected java.util.List<Icon> icon

facetName

protected java.lang.String facetName

facetExtension

protected java.util.List<FacesFacetExtension> facetExtension

id

protected java.lang.String id
Constructor Detail

FacesFacet

public FacesFacet()
Method Detail

getDescription

public java.util.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 java.util.List<java.lang.String> 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 String


getIcon

public java.util.List<Icon> 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 Icon


getFacetName

public java.lang.String getFacetName()
Gets the value of the facetName property.

Returns:
possible object is String

setFacetName

public void setFacetName(java.lang.String value)
Sets the value of the facetName property.

Parameters:
value - allowed object is String

getFacetExtension

public java.util.List<FacesFacetExtension> getFacetExtension()
Gets the value of the facetExtension 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 facetExtension property.

For example, to add a new item, do as follows:

    getFacetExtension().add(newItem);
 

Objects of the following type(s) are allowed in the list FacesFacetExtension


getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.