Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.security_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.security_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   
   19   
   20   /**
   21    * <p>Java class for roleType complex type.
   22    * 
   23    * <p>The following schema fragment specifies the expected content contained within this class.
   24    * 
   25    * <pre>
   26    * &lt;complexType name="roleType">
   27    *   &lt;complexContent>
   28    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   29    *       &lt;sequence>
   30    *         &lt;element name="description" type="{http://geronimo.apache.org/xml/ns/security-1.1}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
   31    *         &lt;element name="realm-principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}realmPrincipalType" maxOccurs="unbounded" minOccurs="0"/>
   32    *         &lt;element name="login-domain-principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}loginDomainPrincipalType" maxOccurs="unbounded" minOccurs="0"/>
   33    *         &lt;element name="principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}principalType" maxOccurs="unbounded" minOccurs="0"/>
   34    *         &lt;element name="distinguished-name" type="{http://geronimo.apache.org/xml/ns/security-1.1}distinguishedNameType" maxOccurs="unbounded" minOccurs="0"/>
   35    *       &lt;/sequence>
   36    *       &lt;attribute name="role-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
   37    *     &lt;/restriction>
   38    *   &lt;/complexContent>
   39    * &lt;/complexType>
   40    * </pre>
   41    * 
   42    * 
   43    */
   44   @XmlAccessorType(XmlAccessType.FIELD)
   45   @XmlType(name = "roleType", propOrder = {
   46       "description",
   47       "realmPrincipal",
   48       "loginDomainPrincipal",
   49       "principal",
   50       "distinguishedName"
   51   })
   52   public class RoleType {
   53   
   54       protected List<DescriptionType> description;
   55       @XmlElement(name = "realm-principal")
   56       protected List<RealmPrincipalType> realmPrincipal;
   57       @XmlElement(name = "login-domain-principal")
   58       protected List<LoginDomainPrincipalType> loginDomainPrincipal;
   59       protected List<PrincipalType> principal;
   60       @XmlElement(name = "distinguished-name")
   61       protected List<DistinguishedNameType> distinguishedName;
   62       @XmlAttribute(name = "role-name", required = true)
   63       protected String roleName;
   64   
   65       /**
   66        * Gets the value of the description property.
   67        * 
   68        * <p>
   69        * This accessor method returns a reference to the live list,
   70        * not a snapshot. Therefore any modification you make to the
   71        * returned list will be present inside the JAXB object.
   72        * This is why there is not a <CODE>set</CODE> method for the description property.
   73        * 
   74        * <p>
   75        * For example, to add a new item, do as follows:
   76        * <pre>
   77        *    getDescription().add(newItem);
   78        * </pre>
   79        * 
   80        * 
   81        * <p>
   82        * Objects of the following type(s) are allowed in the list
   83        * {@link DescriptionType }
   84        * 
   85        * 
   86        */
   87       public List<DescriptionType> getDescription() {
   88           if (description == null) {
   89               description = new ArrayList<DescriptionType>();
   90           }
   91           return this.description;
   92       }
   93   
   94       /**
   95        * Gets the value of the realmPrincipal property.
   96        * 
   97        * <p>
   98        * This accessor method returns a reference to the live list,
   99        * not a snapshot. Therefore any modification you make to the
  100        * returned list will be present inside the JAXB object.
  101        * This is why there is not a <CODE>set</CODE> method for the realmPrincipal property.
  102        * 
  103        * <p>
  104        * For example, to add a new item, do as follows:
  105        * <pre>
  106        *    getRealmPrincipal().add(newItem);
  107        * </pre>
  108        * 
  109        * 
  110        * <p>
  111        * Objects of the following type(s) are allowed in the list
  112        * {@link RealmPrincipalType }
  113        * 
  114        * 
  115        */
  116       public List<RealmPrincipalType> getRealmPrincipal() {
  117           if (realmPrincipal == null) {
  118               realmPrincipal = new ArrayList<RealmPrincipalType>();
  119           }
  120           return this.realmPrincipal;
  121       }
  122   
  123       /**
  124        * Gets the value of the loginDomainPrincipal 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 loginDomainPrincipal property.
  131        * 
  132        * <p>
  133        * For example, to add a new item, do as follows:
  134        * <pre>
  135        *    getLoginDomainPrincipal().add(newItem);
  136        * </pre>
  137        * 
  138        * 
  139        * <p>
  140        * Objects of the following type(s) are allowed in the list
  141        * {@link LoginDomainPrincipalType }
  142        * 
  143        * 
  144        */
  145       public List<LoginDomainPrincipalType> getLoginDomainPrincipal() {
  146           if (loginDomainPrincipal == null) {
  147               loginDomainPrincipal = new ArrayList<LoginDomainPrincipalType>();
  148           }
  149           return this.loginDomainPrincipal;
  150       }
  151   
  152       /**
  153        * Gets the value of the principal 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 principal property.
  160        * 
  161        * <p>
  162        * For example, to add a new item, do as follows:
  163        * <pre>
  164        *    getPrincipal().add(newItem);
  165        * </pre>
  166        * 
  167        * 
  168        * <p>
  169        * Objects of the following type(s) are allowed in the list
  170        * {@link PrincipalType }
  171        * 
  172        * 
  173        */
  174       public List<PrincipalType> getPrincipal() {
  175           if (principal == null) {
  176               principal = new ArrayList<PrincipalType>();
  177           }
  178           return this.principal;
  179       }
  180   
  181       /**
  182        * Gets the value of the distinguishedName 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 distinguishedName property.
  189        * 
  190        * <p>
  191        * For example, to add a new item, do as follows:
  192        * <pre>
  193        *    getDistinguishedName().add(newItem);
  194        * </pre>
  195        * 
  196        * 
  197        * <p>
  198        * Objects of the following type(s) are allowed in the list
  199        * {@link DistinguishedNameType }
  200        * 
  201        * 
  202        */
  203       public List<DistinguishedNameType> getDistinguishedName() {
  204           if (distinguishedName == null) {
  205               distinguishedName = new ArrayList<DistinguishedNameType>();
  206           }
  207           return this.distinguishedName;
  208       }
  209   
  210       /**
  211        * Gets the value of the roleName property.
  212        * 
  213        * @return
  214        *     possible object is
  215        *     {@link String }
  216        *     
  217        */
  218       public String getRoleName() {
  219           return roleName;
  220       }
  221   
  222       /**
  223        * Sets the value of the roleName property.
  224        * 
  225        * @param value
  226        *     allowed object is
  227        *     {@link String }
  228        *     
  229        */
  230       public void setRoleName(String value) {
  231           this.roleName = value;
  232       }
  233   
  234   }

Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.security_1 » [javadoc | source]