Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.openejb.xml.ns.corba_css_config_2 » [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.openejb.xml.ns.corba_css_config_2;
   10   
   11   import javax.xml.bind.annotation.XmlEnum;
   12   import javax.xml.bind.annotation.XmlEnumValue;
   13   
   14   
   15   /**
   16    * <p>Java class for associationOption.
   17    * 
   18    * <p>The following schema fragment specifies the expected content contained within this class.
   19    * <p>
   20    * <pre>
   21    * &lt;simpleType name="associationOption">
   22    *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
   23    *     &lt;enumeration value="NoProtection"/>
   24    *     &lt;enumeration value="Integrity"/>
   25    *     &lt;enumeration value="Confidentiality"/>
   26    *     &lt;enumeration value="DetectReplay"/>
   27    *     &lt;enumeration value="DetectMisordering"/>
   28    *     &lt;enumeration value="EstablishTrustInTarget"/>
   29    *     &lt;enumeration value="EstablishTrustInClient"/>
   30    *     &lt;enumeration value="NoDelegation"/>
   31    *     &lt;enumeration value="SimpleDelegation"/>
   32    *     &lt;enumeration value="CompositeDelegation"/>
   33    *     &lt;enumeration value="IdentityAssertion"/>
   34    *     &lt;enumeration value="DelegationByClient"/>
   35    *   &lt;/restriction>
   36    * &lt;/simpleType>
   37    * </pre>
   38    * 
   39    */
   40   @XmlEnum
   41   public enum AssociationOption {
   42   
   43       @XmlEnumValue("NoProtection")
   44       NO_PROTECTION("NoProtection"),
   45       @XmlEnumValue("Integrity")
   46       INTEGRITY("Integrity"),
   47       @XmlEnumValue("Confidentiality")
   48       CONFIDENTIALITY("Confidentiality"),
   49       @XmlEnumValue("DetectReplay")
   50       DETECT_REPLAY("DetectReplay"),
   51       @XmlEnumValue("DetectMisordering")
   52       DETECT_MISORDERING("DetectMisordering"),
   53       @XmlEnumValue("EstablishTrustInTarget")
   54       ESTABLISH_TRUST_IN_TARGET("EstablishTrustInTarget"),
   55       @XmlEnumValue("EstablishTrustInClient")
   56       ESTABLISH_TRUST_IN_CLIENT("EstablishTrustInClient"),
   57       @XmlEnumValue("NoDelegation")
   58       NO_DELEGATION("NoDelegation"),
   59       @XmlEnumValue("SimpleDelegation")
   60       SIMPLE_DELEGATION("SimpleDelegation"),
   61       @XmlEnumValue("CompositeDelegation")
   62       COMPOSITE_DELEGATION("CompositeDelegation"),
   63       @XmlEnumValue("IdentityAssertion")
   64       IDENTITY_ASSERTION("IdentityAssertion"),
   65       @XmlEnumValue("DelegationByClient")
   66       DELEGATION_BY_CLIENT("DelegationByClient");
   67       private final String value;
   68   
   69       AssociationOption(String v) {
   70           value = v;
   71       }
   72   
   73       public String value() {
   74           return value;
   75       }
   76   
   77       public static AssociationOption fromValue(String v) {
   78           for (AssociationOption c: AssociationOption.values()) {
   79               if (c.value.equals(v)) {
   80                   return c;
   81               }
   82           }
   83           throw new IllegalArgumentException(v.toString());
   84       }
   85   
   86   }

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