Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.deployment.javabean_1 » [javadoc | source]

    1   //
    2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
    3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
    4   // Any modifications to this file will be lost upon recompilation of the source schema. 
    5   // Generated on: 2009.07.17 at 01:03:24 AM CST 
    6   //
    7   
    8   
    9   package org.apache.geronimo.xml.ns.deployment.javabean_1;
   10   
   11   import java.util.ArrayList;
   12   import java.util.List;
   13   import javax.xml.bind.annotation.XmlAccessType;
   14   import javax.xml.bind.annotation.XmlAccessorType;
   15   import javax.xml.bind.annotation.XmlElement;
   16   import javax.xml.bind.annotation.XmlType;
   17   
   18   
   19   /**
   20    * <p>Java class for javabeanType complex type.
   21    * 
   22    * <p>The following schema fragment specifies the expected content contained within this class.
   23    * 
   24    * <pre>
   25    * &lt;complexType name="javabeanType">
   26    *   &lt;complexContent>
   27    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   28    *       &lt;sequence>
   29    *         &lt;element name="property" type="{http://geronimo.apache.org/xml/ns/deployment/javabean-1.0}propertyType" maxOccurs="unbounded" minOccurs="0"/>
   30    *         &lt;element name="bean-property" type="{http://geronimo.apache.org/xml/ns/deployment/javabean-1.0}bean-propertyType" maxOccurs="unbounded" minOccurs="0"/>
   31    *       &lt;/sequence>
   32    *     &lt;/restriction>
   33    *   &lt;/complexContent>
   34    * &lt;/complexType>
   35    * </pre>
   36    * 
   37    * 
   38    */
   39   @XmlAccessorType(XmlAccessType.FIELD)
   40   @XmlType(name = "javabeanType", propOrder = {
   41       "property",
   42       "beanProperty"
   43   })
   44   public class JavabeanType {
   45   
   46       protected List<PropertyType> property;
   47       @XmlElement(name = "bean-property")
   48       protected List<BeanPropertyType> beanProperty;
   49   
   50       /**
   51        * Gets the value of the property property.
   52        * 
   53        * <p>
   54        * This accessor method returns a reference to the live list,
   55        * not a snapshot. Therefore any modification you make to the
   56        * returned list will be present inside the JAXB object.
   57        * This is why there is not a <CODE>set</CODE> method for the property property.
   58        * 
   59        * <p>
   60        * For example, to add a new item, do as follows:
   61        * <pre>
   62        *    getProperty().add(newItem);
   63        * </pre>
   64        * 
   65        * 
   66        * <p>
   67        * Objects of the following type(s) are allowed in the list
   68        * {@link PropertyType }
   69        * 
   70        * 
   71        */
   72       public List<PropertyType> getProperty() {
   73           if (property == null) {
   74               property = new ArrayList<PropertyType>();
   75           }
   76           return this.property;
   77       }
   78   
   79       /**
   80        * Gets the value of the beanProperty property.
   81        * 
   82        * <p>
   83        * This accessor method returns a reference to the live list,
   84        * not a snapshot. Therefore any modification you make to the
   85        * returned list will be present inside the JAXB object.
   86        * This is why there is not a <CODE>set</CODE> method for the beanProperty property.
   87        * 
   88        * <p>
   89        * For example, to add a new item, do as follows:
   90        * <pre>
   91        *    getBeanProperty().add(newItem);
   92        * </pre>
   93        * 
   94        * 
   95        * <p>
   96        * Objects of the following type(s) are allowed in the list
   97        * {@link BeanPropertyType }
   98        * 
   99        * 
  100        */
  101       public List<BeanPropertyType> getBeanProperty() {
  102           if (beanProperty == null) {
  103               beanProperty = new ArrayList<BeanPropertyType>();
  104           }
  105           return this.beanProperty;
  106       }
  107   
  108   }

Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.deployment.javabean_1 » [javadoc | source]