Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.loginconfig_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.loginconfig_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.XmlElements;
   17   import javax.xml.bind.annotation.XmlType;
   18   
   19   
   20   /**
   21    * 
   22    *                 Defines the list of login modules for a login configuration represented by a GenericSecurityRealm
   23    *             
   24    * 
   25    * <p>Java class for login-configType complex type.
   26    * 
   27    * <p>The following schema fragment specifies the expected content contained within this class.
   28    * 
   29    * <pre>
   30    * &lt;complexType name="login-configType">
   31    *   &lt;complexContent>
   32    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   33    *       &lt;sequence>
   34    *         &lt;choice maxOccurs="unbounded" minOccurs="0">
   35    *           &lt;element name="login-module-ref" type="{http://geronimo.apache.org/xml/ns/loginconfig-1.1}login-module-refType" maxOccurs="unbounded" minOccurs="0"/>
   36    *           &lt;element name="login-module" type="{http://geronimo.apache.org/xml/ns/loginconfig-1.1}login-moduleType" maxOccurs="unbounded" minOccurs="0"/>
   37    *         &lt;/choice>
   38    *       &lt;/sequence>
   39    *     &lt;/restriction>
   40    *   &lt;/complexContent>
   41    * &lt;/complexType>
   42    * </pre>
   43    * 
   44    * 
   45    */
   46   @XmlAccessorType(XmlAccessType.FIELD)
   47   @XmlType(name = "login-configType", propOrder = {
   48       "loginModuleRefOrLoginModule"
   49   })
   50   public class LoginConfigType {
   51   
   52       @XmlElements({
   53           @XmlElement(name = "login-module-ref", type = LoginModuleRefType.class),
   54           @XmlElement(name = "login-module", type = LoginModuleType.class)
   55       })
   56       protected List<AbstractLoginModuleType> loginModuleRefOrLoginModule;
   57   
   58       /**
   59        * Gets the value of the loginModuleRefOrLoginModule property.
   60        * 
   61        * <p>
   62        * This accessor method returns a reference to the live list,
   63        * not a snapshot. Therefore any modification you make to the
   64        * returned list will be present inside the JAXB object.
   65        * This is why there is not a <CODE>set</CODE> method for the loginModuleRefOrLoginModule property.
   66        * 
   67        * <p>
   68        * For example, to add a new item, do as follows:
   69        * <pre>
   70        *    getLoginModuleRefOrLoginModule().add(newItem);
   71        * </pre>
   72        * 
   73        * 
   74        * <p>
   75        * Objects of the following type(s) are allowed in the list
   76        * {@link LoginModuleRefType }
   77        * {@link LoginModuleType }
   78        * 
   79        * 
   80        */
   81       public List<AbstractLoginModuleType> getLoginModuleRefOrLoginModule() {
   82           if (loginModuleRefOrLoginModule == null) {
   83               loginModuleRefOrLoginModule = new ArrayList<AbstractLoginModuleType>();
   84           }
   85           return this.loginModuleRefOrLoginModule;
   86       }
   87   
   88   }

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