Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.j2ee.application_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.j2ee.application_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.XmlAttribute;
   16   import javax.xml.bind.annotation.XmlElement;
   17   import javax.xml.bind.annotation.XmlType;
   18   import org.apache.geronimo.xml.ns.deployment_1.EnvironmentType;
   19   import org.apache.geronimo.xml.ns.deployment_1.GbeanType;
   20   import org.apache.geronimo.xml.ns.security_1.SecurityType;
   21   
   22   
   23   /**
   24    * <p>Java class for applicationType complex type.
   25    * 
   26    * <p>The following schema fragment specifies the expected content contained within this class.
   27    * 
   28    * <pre>
   29    * &lt;complexType name="applicationType">
   30    *   &lt;complexContent>
   31    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   32    *       &lt;sequence>
   33    *         &lt;element ref="{http://geronimo.apache.org/xml/ns/deployment-1.1}environment"/>
   34    *         &lt;element name="module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.1}moduleType" maxOccurs="unbounded" minOccurs="0"/>
   35    *         &lt;element name="ext-module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-1.1}ext-moduleType" maxOccurs="unbounded" minOccurs="0"/>
   36    *         &lt;element ref="{http://geronimo.apache.org/xml/ns/security-1.1}security" minOccurs="0"/>
   37    *         &lt;element ref="{http://geronimo.apache.org/xml/ns/deployment-1.1}gbean" maxOccurs="unbounded" minOccurs="0"/>
   38    *       &lt;/sequence>
   39    *       &lt;attribute name="application-name" type="{http://www.w3.org/2001/XMLSchema}string" />
   40    *     &lt;/restriction>
   41    *   &lt;/complexContent>
   42    * &lt;/complexType>
   43    * </pre>
   44    * 
   45    * 
   46    */
   47   @XmlAccessorType(XmlAccessType.FIELD)
   48   @XmlType(name = "applicationType", propOrder = {
   49       "environment",
   50       "module",
   51       "extModule",
   52       "security",
   53       "gbean"
   54   })
   55   public class ApplicationType {
   56   
   57       @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/deployment-1.1", required = true)
   58       protected EnvironmentType environment;
   59       protected List<ModuleType> module;
   60       @XmlElement(name = "ext-module")
   61       protected List<ExtModuleType> extModule;
   62       @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/security-1.1")
   63       protected SecurityType security;
   64       @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/deployment-1.1")
   65       protected List<GbeanType> gbean;
   66       @XmlAttribute(name = "application-name")
   67       protected java.lang.String applicationName;
   68   
   69       /**
   70        * Gets the value of the environment property.
   71        * 
   72        * @return
   73        *     possible object is
   74        *     {@link EnvironmentType }
   75        *     
   76        */
   77       public EnvironmentType getEnvironment() {
   78           return environment;
   79       }
   80   
   81       /**
   82        * Sets the value of the environment property.
   83        * 
   84        * @param value
   85        *     allowed object is
   86        *     {@link EnvironmentType }
   87        *     
   88        */
   89       public void setEnvironment(EnvironmentType value) {
   90           this.environment = value;
   91       }
   92   
   93       /**
   94        * Gets the value of the module property.
   95        * 
   96        * <p>
   97        * This accessor method returns a reference to the live list,
   98        * not a snapshot. Therefore any modification you make to the
   99        * returned list will be present inside the JAXB object.
  100        * This is why there is not a <CODE>set</CODE> method for the module property.
  101        * 
  102        * <p>
  103        * For example, to add a new item, do as follows:
  104        * <pre>
  105        *    getModule().add(newItem);
  106        * </pre>
  107        * 
  108        * 
  109        * <p>
  110        * Objects of the following type(s) are allowed in the list
  111        * {@link ModuleType }
  112        * 
  113        * 
  114        */
  115       public List<ModuleType> getModule() {
  116           if (module == null) {
  117               module = new ArrayList<ModuleType>();
  118           }
  119           return this.module;
  120       }
  121   
  122       /**
  123        * Gets the value of the extModule property.
  124        * 
  125        * <p>
  126        * This accessor method returns a reference to the live list,
  127        * not a snapshot. Therefore any modification you make to the
  128        * returned list will be present inside the JAXB object.
  129        * This is why there is not a <CODE>set</CODE> method for the extModule property.
  130        * 
  131        * <p>
  132        * For example, to add a new item, do as follows:
  133        * <pre>
  134        *    getExtModule().add(newItem);
  135        * </pre>
  136        * 
  137        * 
  138        * <p>
  139        * Objects of the following type(s) are allowed in the list
  140        * {@link ExtModuleType }
  141        * 
  142        * 
  143        */
  144       public List<ExtModuleType> getExtModule() {
  145           if (extModule == null) {
  146               extModule = new ArrayList<ExtModuleType>();
  147           }
  148           return this.extModule;
  149       }
  150   
  151       /**
  152        * Gets the value of the security property.
  153        * 
  154        * @return
  155        *     possible object is
  156        *     {@link SecurityType }
  157        *     
  158        */
  159       public SecurityType getSecurity() {
  160           return security;
  161       }
  162   
  163       /**
  164        * Sets the value of the security property.
  165        * 
  166        * @param value
  167        *     allowed object is
  168        *     {@link SecurityType }
  169        *     
  170        */
  171       public void setSecurity(SecurityType value) {
  172           this.security = value;
  173       }
  174   
  175       /**
  176        * Gets the value of the gbean property.
  177        * 
  178        * <p>
  179        * This accessor method returns a reference to the live list,
  180        * not a snapshot. Therefore any modification you make to the
  181        * returned list will be present inside the JAXB object.
  182        * This is why there is not a <CODE>set</CODE> method for the gbean property.
  183        * 
  184        * <p>
  185        * For example, to add a new item, do as follows:
  186        * <pre>
  187        *    getGbean().add(newItem);
  188        * </pre>
  189        * 
  190        * 
  191        * <p>
  192        * Objects of the following type(s) are allowed in the list
  193        * {@link GbeanType }
  194        * 
  195        * 
  196        */
  197       public List<GbeanType> getGbean() {
  198           if (gbean == null) {
  199               gbean = new ArrayList<GbeanType>();
  200           }
  201           return this.gbean;
  202       }
  203   
  204       /**
  205        * Gets the value of the applicationName property.
  206        * 
  207        * @return
  208        *     possible object is
  209        *     {@link java.lang.String }
  210        *     
  211        */
  212       public java.lang.String getApplicationName() {
  213           return applicationName;
  214       }
  215   
  216       /**
  217        * Sets the value of the applicationName property.
  218        * 
  219        * @param value
  220        *     allowed object is
  221        *     {@link java.lang.String }
  222        *     
  223        */
  224       public void setApplicationName(java.lang.String value) {
  225           this.applicationName = value;
  226       }
  227   
  228   }

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