Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]
    1   /**
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *     http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    *  Unless required by applicable law or agreed to in writing, software
   12    *  distributed under the License is distributed on an "AS IS" BASIS,
   13    *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    *  See the License for the specific language governing permissions and
   15    *  limitations under the License.
   16    */
   17   //
   18   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 
   19   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
   20   // Any modifications to this file will be lost upon recompilation of the source schema. 
   21   // Generated on: 2008.07.13 at 11:14:43 PM EDT 
   22   //
   23   
   24   
   25   package org.apache.openejb.jee;
   26   
   27   import java.util.ArrayList;
   28   import java.util.List;
   29   import javax.xml.bind.annotation.XmlAccessType;
   30   import javax.xml.bind.annotation.XmlAccessorType;
   31   import javax.xml.bind.annotation.XmlAttribute;
   32   import javax.xml.bind.annotation.XmlElement;
   33   import javax.xml.bind.annotation.XmlID;
   34   import javax.xml.bind.annotation.XmlSchemaType;
   35   import javax.xml.bind.annotation.XmlType;
   36   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   37   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   38   
   39   
   40   /**
   41    * 
   42    *                 
   43    *                 The "managed-bean" element represents a JavaBean, of a 
   44    *                 particular class, that will be dynamically instantiated 
   45    *                 at runtime (by the default VariableResolver implementation) 
   46    *                 if it is referenced as the first element of a value binding 
   47    *                 expression, and no corresponding bean can be identified in 
   48    *                 any scope.  In addition to the creation of the managed bean, 
   49    *                 and the optional storing of it into the specified scope, 
   50    *                 the nested managed-property elements can be used to 
   51    *                 initialize the contents of settable JavaBeans properties of 
   52    *                 the created instance.
   53    *                 
   54    *             
   55    * 
   56    * <p>Java class for faces-config-managed-beanType complex type.
   57    * 
   58    * <p>The following schema fragment specifies the expected content contained within this class.
   59    * 
   60    * <pre>
   61    * &lt;complexType name="faces-config-managed-beanType">
   62    *   &lt;complexContent>
   63    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   64    *       &lt;sequence>
   65    *         &lt;group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
   66    *         &lt;element name="managed-bean-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
   67    *         &lt;element name="managed-bean-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
   68    *         &lt;element name="managed-bean-scope" type="{http://www.w3.org/2001/XMLSchema}string"/>
   69    *         &lt;choice>
   70    *           &lt;element name="managed-property" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-propertyType" maxOccurs="unbounded" minOccurs="0"/>
   71    *           &lt;element name="map-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-map-entriesType"/>
   72    *           &lt;element name="list-entries" type="{http://java.sun.com/xml/ns/javaee}faces-config-list-entriesType"/>
   73    *         &lt;/choice>
   74    *         &lt;element name="managed-bean-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-managed-bean-extensionType" maxOccurs="unbounded" minOccurs="0"/>
   75    *       &lt;/sequence>
   76    *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
   77    *     &lt;/restriction>
   78    *   &lt;/complexContent>
   79    * &lt;/complexType>
   80    * </pre>
   81    * 
   82    * 
   83    */
   84   @XmlAccessorType(XmlAccessType.FIELD)
   85   @XmlType(name = "faces-config-managed-beanType", propOrder = {
   86       "description",
   87       "displayName",
   88       "icon",
   89       "managedBeanName",
   90       "managedBeanClass",
   91       "managedBeanScope",
   92       "managedProperty",
   93       "mapEntries",
   94       "listEntries",
   95       "managedBeanExtension"
   96   })
   97   public class FacesManagedBean {
   98   
   99       protected List<DescriptionType> description;
  100       @XmlElement(name = "display-name")
  101       protected List<java.lang.String> displayName;
  102       protected List<Icon> icon;
  103       @XmlElement(name = "managed-bean-name", required = true)
  104       protected java.lang.String managedBeanName;
  105       @XmlElement(name = "managed-bean-class", required = true)
  106       protected java.lang.String managedBeanClass;
  107       @XmlElement(name = "managed-bean-scope", required = true)
  108       protected java.lang.String managedBeanScope;
  109       @XmlElement(name = "managed-property")
  110       protected List<FacesManagedProperty> managedProperty;
  111       @XmlElement(name = "map-entries")
  112       protected FacesMapEntries mapEntries;
  113       @XmlElement(name = "list-entries")
  114       protected FacesListEntries listEntries;
  115       @XmlElement(name = "managed-bean-extension")
  116       protected List<FacesManagedBeanExtension> managedBeanExtension;
  117       @XmlAttribute
  118       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
  119       @XmlID
  120       @XmlSchemaType(name = "ID")
  121       protected java.lang.String id;
  122   
  123       /**
  124        * Gets the value of the description property.
  125        * 
  126        * <p>
  127        * This accessor method returns a reference to the live list,
  128        * not a snapshot. Therefore any modification you make to the
  129        * returned list will be present inside the JAXB object.
  130        * This is why there is not a <CODE>set</CODE> method for the description property.
  131        * 
  132        * <p>
  133        * For example, to add a new item, do as follows:
  134        * <pre>
  135        *    getDescription().add(newItem);
  136        * </pre>
  137        * 
  138        * 
  139        * <p>
  140        * Objects of the following type(s) are allowed in the list
  141        * {@link DescriptionType }
  142        * 
  143        * 
  144        */
  145       public List<DescriptionType> getDescription() {
  146           if (description == null) {
  147               description = new ArrayList<DescriptionType>();
  148           }
  149           return this.description;
  150       }
  151   
  152       /**
  153        * Gets the value of the displayName property.
  154        * 
  155        * <p>
  156        * This accessor method returns a reference to the live list,
  157        * not a snapshot. Therefore any modification you make to the
  158        * returned list will be present inside the JAXB object.
  159        * This is why there is not a <CODE>set</CODE> method for the displayName property.
  160        * 
  161        * <p>
  162        * For example, to add a new item, do as follows:
  163        * <pre>
  164        *    getDisplayName().add(newItem);
  165        * </pre>
  166        * 
  167        * 
  168        * <p>
  169        * Objects of the following type(s) are allowed in the list
  170        * {@link java.lang.String }
  171        * 
  172        * 
  173        */
  174       public List<java.lang.String> getDisplayName() {
  175           if (displayName == null) {
  176               displayName = new ArrayList<java.lang.String>();
  177           }
  178           return this.displayName;
  179       }
  180   
  181       /**
  182        * Gets the value of the icon property.
  183        * 
  184        * <p>
  185        * This accessor method returns a reference to the live list,
  186        * not a snapshot. Therefore any modification you make to the
  187        * returned list will be present inside the JAXB object.
  188        * This is why there is not a <CODE>set</CODE> method for the icon property.
  189        * 
  190        * <p>
  191        * For example, to add a new item, do as follows:
  192        * <pre>
  193        *    getIcon().add(newItem);
  194        * </pre>
  195        * 
  196        * 
  197        * <p>
  198        * Objects of the following type(s) are allowed in the list
  199        * {@link Icon }
  200        * 
  201        * 
  202        */
  203       public List<Icon> getIcon() {
  204           if (icon == null) {
  205               icon = new ArrayList<Icon>();
  206           }
  207           return this.icon;
  208       }
  209   
  210       /**
  211        * Gets the value of the managedBeanName property.
  212        * 
  213        * @return
  214        *     possible object is
  215        *     {@link java.lang.String }
  216        *     
  217        */
  218       public java.lang.String getManagedBeanName() {
  219           return managedBeanName;
  220       }
  221   
  222       /**
  223        * Sets the value of the managedBeanName property.
  224        * 
  225        * @param value
  226        *     allowed object is
  227        *     {@link java.lang.String }
  228        *     
  229        */
  230       public void setManagedBeanName(java.lang.String value) {
  231           this.managedBeanName = value;
  232       }
  233   
  234       /**
  235        * Gets the value of the managedBeanClass property.
  236        * 
  237        * @return
  238        *     possible object is
  239        *     {@link java.lang.String }
  240        *     
  241        */
  242       public java.lang.String getManagedBeanClass() {
  243           return managedBeanClass;
  244       }
  245   
  246       /**
  247        * Sets the value of the managedBeanClass property.
  248        * 
  249        * @param value
  250        *     allowed object is
  251        *     {@link java.lang.String }
  252        *     
  253        */
  254       public void setManagedBeanClass(java.lang.String value) {
  255           this.managedBeanClass = value;
  256       }
  257   
  258       /**
  259        * Gets the value of the managedBeanScope property.
  260        * 
  261        * @return
  262        *     possible object is
  263        *     {@link java.lang.String }
  264        *     
  265        */
  266       public java.lang.String getManagedBeanScope() {
  267           return managedBeanScope;
  268       }
  269   
  270       /**
  271        * Sets the value of the managedBeanScope property.
  272        * 
  273        * @param value
  274        *     allowed object is
  275        *     {@link java.lang.String }
  276        *     
  277        */
  278       public void setManagedBeanScope(java.lang.String value) {
  279           this.managedBeanScope = value;
  280       }
  281   
  282       /**
  283        * Gets the value of the managedProperty property.
  284        * 
  285        * <p>
  286        * This accessor method returns a reference to the live list,
  287        * not a snapshot. Therefore any modification you make to the
  288        * returned list will be present inside the JAXB object.
  289        * This is why there is not a <CODE>set</CODE> method for the managedProperty property.
  290        * 
  291        * <p>
  292        * For example, to add a new item, do as follows:
  293        * <pre>
  294        *    getManagedProperty().add(newItem);
  295        * </pre>
  296        * 
  297        * 
  298        * <p>
  299        * Objects of the following type(s) are allowed in the list
  300        * {@link FacesManagedProperty }
  301        * 
  302        * 
  303        */
  304       public List<FacesManagedProperty> getManagedProperty() {
  305           if (managedProperty == null) {
  306               managedProperty = new ArrayList<FacesManagedProperty>();
  307           }
  308           return this.managedProperty;
  309       }
  310   
  311       /**
  312        * Gets the value of the mapEntries property.
  313        * 
  314        * @return
  315        *     possible object is
  316        *     {@link FacesMapEntries }
  317        *     
  318        */
  319       public FacesMapEntries getMapEntries() {
  320           return mapEntries;
  321       }
  322   
  323       /**
  324        * Sets the value of the mapEntries property.
  325        * 
  326        * @param value
  327        *     allowed object is
  328        *     {@link FacesMapEntries }
  329        *     
  330        */
  331       public void setMapEntries(FacesMapEntries value) {
  332           this.mapEntries = value;
  333       }
  334   
  335       /**
  336        * Gets the value of the listEntries property.
  337        * 
  338        * @return
  339        *     possible object is
  340        *     {@link FacesListEntries }
  341        *     
  342        */
  343       public FacesListEntries getListEntries() {
  344           return listEntries;
  345       }
  346   
  347       /**
  348        * Sets the value of the listEntries property.
  349        * 
  350        * @param value
  351        *     allowed object is
  352        *     {@link FacesListEntries }
  353        *     
  354        */
  355       public void setListEntries(FacesListEntries value) {
  356           this.listEntries = value;
  357       }
  358   
  359       /**
  360        * Gets the value of the managedBeanExtension property.
  361        * 
  362        * <p>
  363        * This accessor method returns a reference to the live list,
  364        * not a snapshot. Therefore any modification you make to the
  365        * returned list will be present inside the JAXB object.
  366        * This is why there is not a <CODE>set</CODE> method for the managedBeanExtension property.
  367        * 
  368        * <p>
  369        * For example, to add a new item, do as follows:
  370        * <pre>
  371        *    getManagedBeanExtension().add(newItem);
  372        * </pre>
  373        * 
  374        * 
  375        * <p>
  376        * Objects of the following type(s) are allowed in the list
  377        * {@link FacesManagedBeanExtension }
  378        * 
  379        * 
  380        */
  381       public List<FacesManagedBeanExtension> getManagedBeanExtension() {
  382           if (managedBeanExtension == null) {
  383               managedBeanExtension = new ArrayList<FacesManagedBeanExtension>();
  384           }
  385           return this.managedBeanExtension;
  386       }
  387   
  388       /**
  389        * Gets the value of the id property.
  390        * 
  391        * @return
  392        *     possible object is
  393        *     {@link java.lang.String }
  394        *     
  395        */
  396       public java.lang.String getId() {
  397           return id;
  398       }
  399   
  400       /**
  401        * Sets the value of the id property.
  402        * 
  403        * @param value
  404        *     allowed object is
  405        *     {@link java.lang.String }
  406        *     
  407        */
  408       public void setId(java.lang.String value) {
  409           this.id = value;
  410       }
  411   
  412   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]