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 "property" element represents a JavaBean property of the 
   44    *                 Java class represented by our parent element.
   45    * 
   46    *                 Property names must be unique within the scope of the Java 
   47    *                 class that is represented by the parent element, and must 
   48    *                 correspond to property names that will be recognized when 
   49    *                 performing introspection against that class via 
   50    *                 java.beans.Introspector.
   51    *                 
   52    *             
   53    * 
   54    * <p>Java class for faces-config-propertyType complex type.
   55    * 
   56    * <p>The following schema fragment specifies the expected content contained within this class.
   57    * 
   58    * <pre>
   59    * &lt;complexType name="faces-config-propertyType">
   60    *   &lt;complexContent>
   61    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   62    *       &lt;sequence>
   63    *         &lt;group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
   64    *         &lt;element name="property-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
   65    *         &lt;element name="property-class" type="{http://www.w3.org/2001/XMLSchema}string"/>
   66    *         &lt;element name="default-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
   67    *         &lt;element name="suggested-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
   68    *         &lt;element name="property-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-property-extensionType" maxOccurs="unbounded" minOccurs="0"/>
   69    *       &lt;/sequence>
   70    *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
   71    *     &lt;/restriction>
   72    *   &lt;/complexContent>
   73    * &lt;/complexType>
   74    * </pre>
   75    * 
   76    * 
   77    */
   78   @XmlAccessorType(XmlAccessType.FIELD)
   79   @XmlType(name = "faces-config-propertyType", propOrder = {
   80       "description",
   81       "displayName",
   82       "icon",
   83       "propertyName",
   84       "propertyClass",
   85       "defaultValue",
   86       "suggestedValue",
   87       "propertyExtension"
   88   })
   89   public class FacesProperty {
   90   
   91       protected List<DescriptionType> description;
   92       @XmlElement(name = "display-name")
   93       protected List<java.lang.String> displayName;
   94       protected List<Icon> icon;
   95       @XmlElement(name = "property-name", required = true)
   96       protected java.lang.String propertyName;
   97       @XmlElement(name = "property-class", required = true)
   98       protected java.lang.String propertyClass;
   99       @XmlElement(name = "default-value")
  100       protected java.lang.String defaultValue;
  101       @XmlElement(name = "suggested-value")
  102       protected java.lang.String suggestedValue;
  103       @XmlElement(name = "property-extension")
  104       protected List<FacesPropertyExtension> propertyExtension;
  105       @XmlAttribute
  106       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
  107       @XmlID
  108       @XmlSchemaType(name = "ID")
  109       protected java.lang.String id;
  110   
  111       /**
  112        * Gets the value of the description property.
  113        * 
  114        * <p>
  115        * This accessor method returns a reference to the live list,
  116        * not a snapshot. Therefore any modification you make to the
  117        * returned list will be present inside the JAXB object.
  118        * This is why there is not a <CODE>set</CODE> method for the description property.
  119        * 
  120        * <p>
  121        * For example, to add a new item, do as follows:
  122        * <pre>
  123        *    getDescription().add(newItem);
  124        * </pre>
  125        * 
  126        * 
  127        * <p>
  128        * Objects of the following type(s) are allowed in the list
  129        * {@link DescriptionType }
  130        * 
  131        * 
  132        */
  133       public List<DescriptionType> getDescription() {
  134           if (description == null) {
  135               description = new ArrayList<DescriptionType>();
  136           }
  137           return this.description;
  138       }
  139   
  140       /**
  141        * Gets the value of the displayName property.
  142        * 
  143        * <p>
  144        * This accessor method returns a reference to the live list,
  145        * not a snapshot. Therefore any modification you make to the
  146        * returned list will be present inside the JAXB object.
  147        * This is why there is not a <CODE>set</CODE> method for the displayName property.
  148        * 
  149        * <p>
  150        * For example, to add a new item, do as follows:
  151        * <pre>
  152        *    getDisplayName().add(newItem);
  153        * </pre>
  154        * 
  155        * 
  156        * <p>
  157        * Objects of the following type(s) are allowed in the list
  158        * {@link java.lang.String }
  159        * 
  160        * 
  161        */
  162       public List<java.lang.String> getDisplayName() {
  163           if (displayName == null) {
  164               displayName = new ArrayList<java.lang.String>();
  165           }
  166           return this.displayName;
  167       }
  168   
  169       /**
  170        * Gets the value of the icon property.
  171        * 
  172        * <p>
  173        * This accessor method returns a reference to the live list,
  174        * not a snapshot. Therefore any modification you make to the
  175        * returned list will be present inside the JAXB object.
  176        * This is why there is not a <CODE>set</CODE> method for the icon property.
  177        * 
  178        * <p>
  179        * For example, to add a new item, do as follows:
  180        * <pre>
  181        *    getIcon().add(newItem);
  182        * </pre>
  183        * 
  184        * 
  185        * <p>
  186        * Objects of the following type(s) are allowed in the list
  187        * {@link Icon }
  188        * 
  189        * 
  190        */
  191       public List<Icon> getIcon() {
  192           if (icon == null) {
  193               icon = new ArrayList<Icon>();
  194           }
  195           return this.icon;
  196       }
  197   
  198       /**
  199        * Gets the value of the propertyName property.
  200        * 
  201        * @return
  202        *     possible object is
  203        *     {@link java.lang.String }
  204        *     
  205        */
  206       public java.lang.String getPropertyName() {
  207           return propertyName;
  208       }
  209   
  210       /**
  211        * Sets the value of the propertyName property.
  212        * 
  213        * @param value
  214        *     allowed object is
  215        *     {@link java.lang.String }
  216        *     
  217        */
  218       public void setPropertyName(java.lang.String value) {
  219           this.propertyName = value;
  220       }
  221   
  222       /**
  223        * Gets the value of the propertyClass property.
  224        * 
  225        * @return
  226        *     possible object is
  227        *     {@link java.lang.String }
  228        *     
  229        */
  230       public java.lang.String getPropertyClass() {
  231           return propertyClass;
  232       }
  233   
  234       /**
  235        * Sets the value of the propertyClass property.
  236        * 
  237        * @param value
  238        *     allowed object is
  239        *     {@link java.lang.String }
  240        *     
  241        */
  242       public void setPropertyClass(java.lang.String value) {
  243           this.propertyClass = value;
  244       }
  245   
  246       /**
  247        * Gets the value of the defaultValue property.
  248        * 
  249        * @return
  250        *     possible object is
  251        *     {@link java.lang.String }
  252        *     
  253        */
  254       public java.lang.String getDefaultValue() {
  255           return defaultValue;
  256       }
  257   
  258       /**
  259        * Sets the value of the defaultValue property.
  260        * 
  261        * @param value
  262        *     allowed object is
  263        *     {@link java.lang.String }
  264        *     
  265        */
  266       public void setDefaultValue(java.lang.String value) {
  267           this.defaultValue = value;
  268       }
  269   
  270       /**
  271        * Gets the value of the suggestedValue property.
  272        * 
  273        * @return
  274        *     possible object is
  275        *     {@link java.lang.String }
  276        *     
  277        */
  278       public java.lang.String getSuggestedValue() {
  279           return suggestedValue;
  280       }
  281   
  282       /**
  283        * Sets the value of the suggestedValue property.
  284        * 
  285        * @param value
  286        *     allowed object is
  287        *     {@link java.lang.String }
  288        *     
  289        */
  290       public void setSuggestedValue(java.lang.String value) {
  291           this.suggestedValue = value;
  292       }
  293   
  294       /**
  295        * Gets the value of the propertyExtension property.
  296        * 
  297        * <p>
  298        * This accessor method returns a reference to the live list,
  299        * not a snapshot. Therefore any modification you make to the
  300        * returned list will be present inside the JAXB object.
  301        * This is why there is not a <CODE>set</CODE> method for the propertyExtension property.
  302        * 
  303        * <p>
  304        * For example, to add a new item, do as follows:
  305        * <pre>
  306        *    getPropertyExtension().add(newItem);
  307        * </pre>
  308        * 
  309        * 
  310        * <p>
  311        * Objects of the following type(s) are allowed in the list
  312        * {@link FacesPropertyExtension }
  313        * 
  314        * 
  315        */
  316       public List<FacesPropertyExtension> getPropertyExtension() {
  317           if (propertyExtension == null) {
  318               propertyExtension = new ArrayList<FacesPropertyExtension>();
  319           }
  320           return this.propertyExtension;
  321       }
  322   
  323       /**
  324        * Gets the value of the id property.
  325        * 
  326        * @return
  327        *     possible object is
  328        *     {@link java.lang.String }
  329        *     
  330        */
  331       public java.lang.String getId() {
  332           return id;
  333       }
  334   
  335       /**
  336        * Sets the value of the id property.
  337        * 
  338        * @param value
  339        *     allowed object is
  340        *     {@link java.lang.String }
  341        *     
  342        */
  343       public void setId(java.lang.String value) {
  344           this.id = value;
  345       }
  346   
  347   }

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