geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r280909 [31/52] - in /geronimo/devtools/trunk/modules/eclipse-plugin: ./ features/ features/org.apache.geronimo.feature/ org.apache.geronimo.core/ org.apache.geronimo.deployment.model/ org.apache.geronimo.feature/ org.apache.geronimo.runtim...
Date Wed, 14 Sep 2005 19:01:03 GMT
Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityPackage.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityPackage.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityPackage.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityPackage.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,1154 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.security;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ *   <li>each class,</li>
+ *   <li>each feature of each class,</li>
+ *   <li>each enum,</li>
+ *   <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * 
+ *    See http://www.w3.org/XML/1998/namespace.html and
+ *    http://www.w3.org/TR/REC-xml for information about this namespace.
+ * 
+ *     This schema document describes the XML namespace, in a form
+ *     suitable for import by other schema documents.  
+ * 
+ *     Note that local names in this namespace are intended to be defined
+ *     only by the World Wide Web Consortium or its subgroups.  The
+ *     following names are currently defined in this namespace and should
+ *     not be used with conflicting semantics by any Working Group,
+ *     specification, or document instance:
+ * 
+ *     base (as an attribute name): denotes an attribute whose value
+ *          provides a URI to be used as the base for interpreting any
+ *          relative URIs in the scope of the element on which it
+ *          appears; its value is inherited.  This name is reserved
+ *          by virtue of its definition in the XML Base specification.
+ * 
+ *     id   (as an attribute name): denotes an attribute whose value
+ *          should be interpreted as if declared to be of type ID.
+ *          The xml:id specification is not yet a W3C Recommendation,
+ *          but this attribute is included here to facilitate experimentation
+ *          with the mechanisms it proposes.  Note that it is _not_ included
+ *          in the specialAttrs attribute group.
+ * 
+ *     lang (as an attribute name): denotes an attribute whose value
+ *          is a language code for the natural language of the content of
+ *          any element; its value is inherited.  This name is reserved
+ *          by virtue of its definition in the XML specification.
+ *   
+ *     space (as an attribute name): denotes an attribute whose
+ *          value is a keyword indicating what whitespace processing
+ *          discipline is intended for the content of the element; its
+ *          value is inherited.  This name is reserved by virtue of its
+ *          definition in the XML specification.
+ * 
+ *     Father (in any context at all): denotes Jon Bosak, the chair of 
+ *          the original XML Working Group.  This name is reserved by 
+ *          the following decision of the W3C XML Plenary and 
+ *          XML Coordination groups:
+ * 
+ *              In appreciation for his vision, leadership and dedication
+ *              the W3C XML Plenary on this 10th day of February, 2000
+ *              reserves for Jon Bosak in perpetuity the XML name
+ *              xml:Father
+ *   
+ * This schema defines attributes and an attribute group
+ *         suitable for use by
+ *         schemas wishing to allow xml:base, xml:lang or xml:space attributes
+ *         on elements they define.
+ * 
+ *         To enable this, such a schema must import this schema
+ *         for the XML namespace, e.g. as follows:
+ *         &lt;schema . . .&gt;
+ *          . . .
+ *          &lt;import namespace="http://www.w3.org/XML/1998/namespace"
+ *                     schemaLocation="http://www.w3.org/2001/03/xml.xsd"/&gt;
+ * 
+ *         Subsequently, qualified reference to any of the attributes
+ *         or the group defined below will have the desired effect, e.g.
+ * 
+ *         &lt;type . . .&gt;
+ *          . . .
+ *          &lt;attributeGroup ref="xml:specialAttrs"/&gt;
+ *  
+ *          will define a type which will schema-validate an instance
+ *          element with any of those attributes
+ * In keeping with the XML Schema WG's standard versioning
+ *    policy, this schema document will persist at
+ *    http://www.w3.org/2004/10/xml.xsd.
+ *    At the date of issue it can also be found at
+ *    http://www.w3.org/2001/xml.xsd.
+ *    The schema document at that URI may however change in the future,
+ *    in order to remain compatible with the latest version of XML Schema
+ *    itself, or with the XML namespace itself.  In other words, if the XML
+ *    Schema or XML namespaces change, the version of this document at
+ *    http://www.w3.org/2001/xml.xsd will change
+ *    accordingly; the version at
+ *    http://www.w3.org/2004/10/xml.xsd will not change.
+ *   
+ * <!-- end-model-doc -->
+ * @see org.apache.geronimo.xml.ns.security.SecurityFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface SecurityPackage extends EPackage{
+    /**
+     * The package name.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String eNAME = "security";
+
+    /**
+     * The package namespace URI.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String eNS_URI = "http://geronimo.apache.org/xml/ns/security";
+
+    /**
+     * The package namespace name.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String eNS_PREFIX = "security";
+
+    /**
+     * The singleton instance of the package.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    SecurityPackage eINSTANCE = org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl.init();
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.DefaultPrincipalTypeImpl <em>Default Principal Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.DefaultPrincipalTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getDefaultPrincipalType()
+     * @generated
+     */
+    int DEFAULT_PRINCIPAL_TYPE = 0;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DEFAULT_PRINCIPAL_TYPE__DESCRIPTION = 0;
+
+    /**
+     * The feature id for the '<em><b>Principal</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DEFAULT_PRINCIPAL_TYPE__PRINCIPAL = 1;
+
+    /**
+     * The feature id for the '<em><b>Named Username Password Credential</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL = 2;
+
+    /**
+     * The feature id for the '<em><b>Realm Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DEFAULT_PRINCIPAL_TYPE__REALM_NAME = 3;
+
+    /**
+     * The number of structural features of the the '<em>Default Principal Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DEFAULT_PRINCIPAL_TYPE_FEATURE_COUNT = 4;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.DescriptionTypeImpl <em>Description Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.DescriptionTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getDescriptionType()
+     * @generated
+     */
+    int DESCRIPTION_TYPE = 1;
+
+    /**
+     * The feature id for the '<em><b>Value</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DESCRIPTION_TYPE__VALUE = 0;
+
+    /**
+     * The feature id for the '<em><b>Lang</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DESCRIPTION_TYPE__LANG = 1;
+
+    /**
+     * The number of structural features of the the '<em>Description Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DESCRIPTION_TYPE_FEATURE_COUNT = 2;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl <em>Distinguished Name Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getDistinguishedNameType()
+     * @generated
+     */
+    int DISTINGUISHED_NAME_TYPE = 2;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DISTINGUISHED_NAME_TYPE__DESCRIPTION = 0;
+
+    /**
+     * The feature id for the '<em><b>Designated Run As</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS = 1;
+
+    /**
+     * The feature id for the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DISTINGUISHED_NAME_TYPE__NAME = 2;
+
+    /**
+     * The number of structural features of the the '<em>Distinguished Name Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DISTINGUISHED_NAME_TYPE_FEATURE_COUNT = 3;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.DocumentRootImpl <em>Document Root</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.DocumentRootImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getDocumentRoot()
+     * @generated
+     */
+    int DOCUMENT_ROOT = 3;
+
+    /**
+     * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DOCUMENT_ROOT__MIXED = 0;
+
+    /**
+     * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+    /**
+     * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+    /**
+     * The feature id for the '<em><b>Default Principal</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DOCUMENT_ROOT__DEFAULT_PRINCIPAL = 3;
+
+    /**
+     * The feature id for the '<em><b>Security</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DOCUMENT_ROOT__SECURITY = 4;
+
+    /**
+     * The number of structural features of the the '<em>Document Root</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int DOCUMENT_ROOT_FEATURE_COUNT = 5;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.NamedUsernamePasswordCredentialTypeImpl <em>Named Username Password Credential Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.NamedUsernamePasswordCredentialTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getNamedUsernamePasswordCredentialType()
+     * @generated
+     */
+    int NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE = 4;
+
+    /**
+     * The feature id for the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE__NAME = 0;
+
+    /**
+     * The feature id for the '<em><b>Username</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE__USERNAME = 1;
+
+    /**
+     * The feature id for the '<em><b>Password</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE__PASSWORD = 2;
+
+    /**
+     * The number of structural features of the the '<em>Named Username Password Credential Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE_FEATURE_COUNT = 3;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.PrincipalTypeImpl <em>Principal Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.PrincipalTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getPrincipalType()
+     * @generated
+     */
+    int PRINCIPAL_TYPE = 5;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int PRINCIPAL_TYPE__DESCRIPTION = 0;
+
+    /**
+     * The feature id for the '<em><b>Class</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int PRINCIPAL_TYPE__CLASS = 1;
+
+    /**
+     * The feature id for the '<em><b>Designated Run As</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int PRINCIPAL_TYPE__DESIGNATED_RUN_AS = 2;
+
+    /**
+     * The feature id for the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int PRINCIPAL_TYPE__NAME = 3;
+
+    /**
+     * The number of structural features of the the '<em>Principal Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int PRINCIPAL_TYPE_FEATURE_COUNT = 4;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.RealmTypeImpl <em>Realm Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.RealmTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getRealmType()
+     * @generated
+     */
+    int REALM_TYPE = 6;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int REALM_TYPE__DESCRIPTION = 0;
+
+    /**
+     * The feature id for the '<em><b>Principal</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int REALM_TYPE__PRINCIPAL = 1;
+
+    /**
+     * The feature id for the '<em><b>Realm Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int REALM_TYPE__REALM_NAME = 2;
+
+    /**
+     * The number of structural features of the the '<em>Realm Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int REALM_TYPE_FEATURE_COUNT = 3;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.RoleMappingsTypeImpl <em>Role Mappings Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.RoleMappingsTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getRoleMappingsType()
+     * @generated
+     */
+    int ROLE_MAPPINGS_TYPE = 7;
+
+    /**
+     * The feature id for the '<em><b>Role</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_MAPPINGS_TYPE__ROLE = 0;
+
+    /**
+     * The number of structural features of the the '<em>Role Mappings Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_MAPPINGS_TYPE_FEATURE_COUNT = 1;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.RoleTypeImpl <em>Role Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.RoleTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getRoleType()
+     * @generated
+     */
+    int ROLE_TYPE = 8;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_TYPE__DESCRIPTION = 0;
+
+    /**
+     * The feature id for the '<em><b>Realm</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_TYPE__REALM = 1;
+
+    /**
+     * The feature id for the '<em><b>Distinguished Name</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_TYPE__DISTINGUISHED_NAME = 2;
+
+    /**
+     * The feature id for the '<em><b>Role Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_TYPE__ROLE_NAME = 3;
+
+    /**
+     * The number of structural features of the the '<em>Role Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int ROLE_TYPE_FEATURE_COUNT = 4;
+
+    /**
+     * The meta object id for the '{@link org.apache.geronimo.xml.ns.security.impl.SecurityTypeImpl <em>Type</em>}' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityTypeImpl
+     * @see org.apache.geronimo.xml.ns.security.impl.SecurityPackageImpl#getSecurityType()
+     * @generated
+     */
+    int SECURITY_TYPE = 9;
+
+    /**
+     * The feature id for the '<em><b>Description</b></em>' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE__DESCRIPTION = 0;
+
+    /**
+     * The feature id for the '<em><b>Default Principal</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE__DEFAULT_PRINCIPAL = 1;
+
+    /**
+     * The feature id for the '<em><b>Role Mappings</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE__ROLE_MAPPINGS = 2;
+
+    /**
+     * The feature id for the '<em><b>Default Role</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE__DEFAULT_ROLE = 3;
+
+    /**
+     * The feature id for the '<em><b>Doas Current Caller</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE__DOAS_CURRENT_CALLER = 4;
+
+    /**
+     * The feature id for the '<em><b>Use Context Handler</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE__USE_CONTEXT_HANDLER = 5;
+
+    /**
+     * The number of structural features of the the '<em>Type</em>' class.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    int SECURITY_TYPE_FEATURE_COUNT = 6;
+
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.DefaultPrincipalType <em>Default Principal Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Default Principal Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DefaultPrincipalType
+     * @generated
+     */
+    EClass getDefaultPrincipalType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Description</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getDescription()
+     * @see #getDefaultPrincipalType()
+     * @generated
+     */
+    EReference getDefaultPrincipalType_Description();
+
+    /**
+     * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getPrincipal <em>Principal</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference '<em>Principal</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getPrincipal()
+     * @see #getDefaultPrincipalType()
+     * @generated
+     */
+    EReference getDefaultPrincipalType_Principal();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getNamedUsernamePasswordCredential <em>Named Username Password Credential</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Named Username Password Credential</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getNamedUsernamePasswordCredential()
+     * @see #getDefaultPrincipalType()
+     * @generated
+     */
+    EReference getDefaultPrincipalType_NamedUsernamePasswordCredential();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getRealmName <em>Realm Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Realm Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DefaultPrincipalType#getRealmName()
+     * @see #getDefaultPrincipalType()
+     * @generated
+     */
+    EAttribute getDefaultPrincipalType_RealmName();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.DescriptionType <em>Description Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Description Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DescriptionType
+     * @generated
+     */
+    EClass getDescriptionType();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.DescriptionType#getValue <em>Value</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Value</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DescriptionType#getValue()
+     * @see #getDescriptionType()
+     * @generated
+     */
+    EAttribute getDescriptionType_Value();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.DescriptionType#getLang <em>Lang</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Lang</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DescriptionType#getLang()
+     * @see #getDescriptionType()
+     * @generated
+     */
+    EAttribute getDescriptionType_Lang();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.DistinguishedNameType <em>Distinguished Name Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Distinguished Name Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DistinguishedNameType
+     * @generated
+     */
+    EClass getDistinguishedNameType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.DistinguishedNameType#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Description</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DistinguishedNameType#getDescription()
+     * @see #getDistinguishedNameType()
+     * @generated
+     */
+    EReference getDistinguishedNameType_Description();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.DistinguishedNameType#isDesignatedRunAs <em>Designated Run As</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Designated Run As</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DistinguishedNameType#isDesignatedRunAs()
+     * @see #getDistinguishedNameType()
+     * @generated
+     */
+    EAttribute getDistinguishedNameType_DesignatedRunAs();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.DistinguishedNameType#getName <em>Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DistinguishedNameType#getName()
+     * @see #getDistinguishedNameType()
+     * @generated
+     */
+    EAttribute getDistinguishedNameType_Name();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.DocumentRoot <em>Document Root</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Document Root</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DocumentRoot
+     * @generated
+     */
+    EClass getDocumentRoot();
+
+    /**
+     * Returns the meta object for the attribute list '{@link org.apache.geronimo.xml.ns.security.DocumentRoot#getMixed <em>Mixed</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute list '<em>Mixed</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DocumentRoot#getMixed()
+     * @see #getDocumentRoot()
+     * @generated
+     */
+    EAttribute getDocumentRoot_Mixed();
+
+    /**
+     * Returns the meta object for the map '{@link org.apache.geronimo.xml.ns.security.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DocumentRoot#getXMLNSPrefixMap()
+     * @see #getDocumentRoot()
+     * @generated
+     */
+    EReference getDocumentRoot_XMLNSPrefixMap();
+
+    /**
+     * Returns the meta object for the map '{@link org.apache.geronimo.xml.ns.security.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the map '<em>XSI Schema Location</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DocumentRoot#getXSISchemaLocation()
+     * @see #getDocumentRoot()
+     * @generated
+     */
+    EReference getDocumentRoot_XSISchemaLocation();
+
+    /**
+     * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.security.DocumentRoot#getDefaultPrincipal <em>Default Principal</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference '<em>Default Principal</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DocumentRoot#getDefaultPrincipal()
+     * @see #getDocumentRoot()
+     * @generated
+     */
+    EReference getDocumentRoot_DefaultPrincipal();
+
+    /**
+     * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.security.DocumentRoot#getSecurity <em>Security</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference '<em>Security</em>'.
+     * @see org.apache.geronimo.xml.ns.security.DocumentRoot#getSecurity()
+     * @see #getDocumentRoot()
+     * @generated
+     */
+    EReference getDocumentRoot_Security();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType <em>Named Username Password Credential Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Named Username Password Credential Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType
+     * @generated
+     */
+    EClass getNamedUsernamePasswordCredentialType();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType#getName <em>Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType#getName()
+     * @see #getNamedUsernamePasswordCredentialType()
+     * @generated
+     */
+    EAttribute getNamedUsernamePasswordCredentialType_Name();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType#getUsername <em>Username</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Username</em>'.
+     * @see org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType#getUsername()
+     * @see #getNamedUsernamePasswordCredentialType()
+     * @generated
+     */
+    EAttribute getNamedUsernamePasswordCredentialType_Username();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType#getPassword <em>Password</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Password</em>'.
+     * @see org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType#getPassword()
+     * @see #getNamedUsernamePasswordCredentialType()
+     * @generated
+     */
+    EAttribute getNamedUsernamePasswordCredentialType_Password();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.PrincipalType <em>Principal Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Principal Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.PrincipalType
+     * @generated
+     */
+    EClass getPrincipalType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.PrincipalType#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Description</em>'.
+     * @see org.apache.geronimo.xml.ns.security.PrincipalType#getDescription()
+     * @see #getPrincipalType()
+     * @generated
+     */
+    EReference getPrincipalType_Description();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.PrincipalType#getClass_ <em>Class</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Class</em>'.
+     * @see org.apache.geronimo.xml.ns.security.PrincipalType#getClass_()
+     * @see #getPrincipalType()
+     * @generated
+     */
+    EAttribute getPrincipalType_Class();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.PrincipalType#isDesignatedRunAs <em>Designated Run As</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Designated Run As</em>'.
+     * @see org.apache.geronimo.xml.ns.security.PrincipalType#isDesignatedRunAs()
+     * @see #getPrincipalType()
+     * @generated
+     */
+    EAttribute getPrincipalType_DesignatedRunAs();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.PrincipalType#getName <em>Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.PrincipalType#getName()
+     * @see #getPrincipalType()
+     * @generated
+     */
+    EAttribute getPrincipalType_Name();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.RealmType <em>Realm Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Realm Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RealmType
+     * @generated
+     */
+    EClass getRealmType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.RealmType#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Description</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RealmType#getDescription()
+     * @see #getRealmType()
+     * @generated
+     */
+    EReference getRealmType_Description();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.RealmType#getPrincipal <em>Principal</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Principal</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RealmType#getPrincipal()
+     * @see #getRealmType()
+     * @generated
+     */
+    EReference getRealmType_Principal();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.RealmType#getRealmName <em>Realm Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Realm Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RealmType#getRealmName()
+     * @see #getRealmType()
+     * @generated
+     */
+    EAttribute getRealmType_RealmName();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.RoleMappingsType <em>Role Mappings Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Role Mappings Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleMappingsType
+     * @generated
+     */
+    EClass getRoleMappingsType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.RoleMappingsType#getRole <em>Role</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Role</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleMappingsType#getRole()
+     * @see #getRoleMappingsType()
+     * @generated
+     */
+    EReference getRoleMappingsType_Role();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.RoleType <em>Role Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Role Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleType
+     * @generated
+     */
+    EClass getRoleType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.RoleType#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Description</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleType#getDescription()
+     * @see #getRoleType()
+     * @generated
+     */
+    EReference getRoleType_Description();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.RoleType#getRealm <em>Realm</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Realm</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleType#getRealm()
+     * @see #getRoleType()
+     * @generated
+     */
+    EReference getRoleType_Realm();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.RoleType#getDistinguishedName <em>Distinguished Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Distinguished Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleType#getDistinguishedName()
+     * @see #getRoleType()
+     * @generated
+     */
+    EReference getRoleType_DistinguishedName();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.RoleType#getRoleName <em>Role Name</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Role Name</em>'.
+     * @see org.apache.geronimo.xml.ns.security.RoleType#getRoleName()
+     * @see #getRoleType()
+     * @generated
+     */
+    EAttribute getRoleType_RoleName();
+
+    /**
+     * Returns the meta object for class '{@link org.apache.geronimo.xml.ns.security.SecurityType <em>Type</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for class '<em>Type</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType
+     * @generated
+     */
+    EClass getSecurityType();
+
+    /**
+     * Returns the meta object for the containment reference list '{@link org.apache.geronimo.xml.ns.security.SecurityType#getDescription <em>Description</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference list '<em>Description</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType#getDescription()
+     * @see #getSecurityType()
+     * @generated
+     */
+    EReference getSecurityType_Description();
+
+    /**
+     * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.security.SecurityType#getDefaultPrincipal <em>Default Principal</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference '<em>Default Principal</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType#getDefaultPrincipal()
+     * @see #getSecurityType()
+     * @generated
+     */
+    EReference getSecurityType_DefaultPrincipal();
+
+    /**
+     * Returns the meta object for the containment reference '{@link org.apache.geronimo.xml.ns.security.SecurityType#getRoleMappings <em>Role Mappings</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the containment reference '<em>Role Mappings</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType#getRoleMappings()
+     * @see #getSecurityType()
+     * @generated
+     */
+    EReference getSecurityType_RoleMappings();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.SecurityType#getDefaultRole <em>Default Role</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Default Role</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType#getDefaultRole()
+     * @see #getSecurityType()
+     * @generated
+     */
+    EAttribute getSecurityType_DefaultRole();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.SecurityType#isDoasCurrentCaller <em>Doas Current Caller</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Doas Current Caller</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType#isDoasCurrentCaller()
+     * @see #getSecurityType()
+     * @generated
+     */
+    EAttribute getSecurityType_DoasCurrentCaller();
+
+    /**
+     * Returns the meta object for the attribute '{@link org.apache.geronimo.xml.ns.security.SecurityType#isUseContextHandler <em>Use Context Handler</em>}'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the meta object for the attribute '<em>Use Context Handler</em>'.
+     * @see org.apache.geronimo.xml.ns.security.SecurityType#isUseContextHandler()
+     * @see #getSecurityType()
+     * @generated
+     */
+    EAttribute getSecurityType_UseContextHandler();
+
+    /**
+     * Returns the factory that creates the instances of the model.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the factory that creates the instances of the model.
+     * @generated
+     */
+    SecurityFactory getSecurityFactory();
+
+} //SecurityPackage

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,270 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.security;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * 
+ *                 Security entries
+ * 
+ *                 If this element is present, all web and EJB modules MUST make the
+ *                 appropriate access checks as outlined in the JACC spec.
+ *             
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.SecurityType#getDescription <em>Description</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.SecurityType#getDefaultPrincipal <em>Default Principal</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.SecurityType#getRoleMappings <em>Role Mappings</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.SecurityType#getDefaultRole <em>Default Role</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.SecurityType#isDoasCurrentCaller <em>Doas Current Caller</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.SecurityType#isUseContextHandler <em>Use Context Handler</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType()
+ * @model extendedMetaData="name='securityType' kind='elementOnly'"
+ * @generated
+ */
+public interface SecurityType extends EObject{
+    /**
+     * Returns the value of the '<em><b>Description</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.security.DescriptionType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Description</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Description</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType_Description()
+     * @model type="org.apache.geronimo.xml.ns.security.DescriptionType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='description' namespace='##targetNamespace'"
+     * @generated
+     */
+    EList getDescription();
+
+    /**
+     * Returns the value of the '<em><b>Default Principal</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Default Principal</em>' containment reference isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Default Principal</em>' containment reference.
+     * @see #setDefaultPrincipal(DefaultPrincipalType)
+     * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType_DefaultPrincipal()
+     * @model containment="true" resolveProxies="false" required="true"
+     *        extendedMetaData="kind='element' name='default-principal' namespace='##targetNamespace'"
+     * @generated
+     */
+    DefaultPrincipalType getDefaultPrincipal();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#getDefaultPrincipal <em>Default Principal</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Default Principal</em>' containment reference.
+     * @see #getDefaultPrincipal()
+     * @generated
+     */
+    void setDefaultPrincipal(DefaultPrincipalType value);
+
+    /**
+     * Returns the value of the '<em><b>Role Mappings</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Role Mappings</em>' containment reference isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Role Mappings</em>' containment reference.
+     * @see #setRoleMappings(RoleMappingsType)
+     * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType_RoleMappings()
+     * @model containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='role-mappings' namespace='##targetNamespace'"
+     * @generated
+     */
+    RoleMappingsType getRoleMappings();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#getRoleMappings <em>Role Mappings</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Role Mappings</em>' containment reference.
+     * @see #getRoleMappings()
+     * @generated
+     */
+    void setRoleMappings(RoleMappingsType value);
+
+    /**
+     * Returns the value of the '<em><b>Default Role</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * <!-- begin-model-doc -->
+     * 
+     *                     Used by the the Deployer to assign method permissions for
+     *                     all of the unspecified methods, either by assigning them
+     *                     to security roles, or by marking them as unchecked.  If
+     *                     the value of default-role is empty, then the unspecified
+     *                     methods are marked unchecked
+     *                 
+     * <!-- end-model-doc -->
+     * @return the value of the '<em>Default Role</em>' attribute.
+     * @see #setDefaultRole(String)
+     * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType_DefaultRole()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='attribute' name='default-role'"
+     * @generated
+     */
+    String getDefaultRole();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#getDefaultRole <em>Default Role</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Default Role</em>' attribute.
+     * @see #getDefaultRole()
+     * @generated
+     */
+    void setDefaultRole(String value);
+
+    /**
+     * Returns the value of the '<em><b>Doas Current Caller</b></em>' attribute.
+     * The default value is <code>"false"</code>.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * <!-- begin-model-doc -->
+     * 
+     *                     Set this attribute to "true" if the work is to be performed
+     *                     as the calling Subject.
+     *                 
+     * <!-- end-model-doc -->
+     * @return the value of the '<em>Doas Current Caller</em>' attribute.
+     * @see #isSetDoasCurrentCaller()
+     * @see #unsetDoasCurrentCaller()
+     * @see #setDoasCurrentCaller(boolean)
+     * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType_DoasCurrentCaller()
+     * @model default="false" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+     *        extendedMetaData="kind='attribute' name='doas-current-caller'"
+     * @generated
+     */
+    boolean isDoasCurrentCaller();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#isDoasCurrentCaller <em>Doas Current Caller</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Doas Current Caller</em>' attribute.
+     * @see #isSetDoasCurrentCaller()
+     * @see #unsetDoasCurrentCaller()
+     * @see #isDoasCurrentCaller()
+     * @generated
+     */
+    void setDoasCurrentCaller(boolean value);
+
+    /**
+     * Unsets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#isDoasCurrentCaller <em>Doas Current Caller</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #isSetDoasCurrentCaller()
+     * @see #isDoasCurrentCaller()
+     * @see #setDoasCurrentCaller(boolean)
+     * @generated
+     */
+    void unsetDoasCurrentCaller();
+
+    /**
+     * Returns whether the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#isDoasCurrentCaller <em>Doas Current Caller</em>}' attribute is set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return whether the value of the '<em>Doas Current Caller</em>' attribute is set.
+     * @see #unsetDoasCurrentCaller()
+     * @see #isDoasCurrentCaller()
+     * @see #setDoasCurrentCaller(boolean)
+     * @generated
+     */
+    boolean isSetDoasCurrentCaller();
+
+    /**
+     * Returns the value of the '<em><b>Use Context Handler</b></em>' attribute.
+     * The default value is <code>"false"</code>.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * <!-- begin-model-doc -->
+     * 
+     *                     Set this attribute to "true" if the installed JACC policy
+     *                     contexts will use PolicyContextHandlers.
+     *                 
+     * <!-- end-model-doc -->
+     * @return the value of the '<em>Use Context Handler</em>' attribute.
+     * @see #isSetUseContextHandler()
+     * @see #unsetUseContextHandler()
+     * @see #setUseContextHandler(boolean)
+     * @see org.apache.geronimo.xml.ns.security.SecurityPackage#getSecurityType_UseContextHandler()
+     * @model default="false" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+     *        extendedMetaData="kind='attribute' name='use-context-handler'"
+     * @generated
+     */
+    boolean isUseContextHandler();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#isUseContextHandler <em>Use Context Handler</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Use Context Handler</em>' attribute.
+     * @see #isSetUseContextHandler()
+     * @see #unsetUseContextHandler()
+     * @see #isUseContextHandler()
+     * @generated
+     */
+    void setUseContextHandler(boolean value);
+
+    /**
+     * Unsets the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#isUseContextHandler <em>Use Context Handler</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #isSetUseContextHandler()
+     * @see #isUseContextHandler()
+     * @see #setUseContextHandler(boolean)
+     * @generated
+     */
+    void unsetUseContextHandler();
+
+    /**
+     * Returns whether the value of the '{@link org.apache.geronimo.xml.ns.security.SecurityType#isUseContextHandler <em>Use Context Handler</em>}' attribute is set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return whether the value of the '<em>Use Context Handler</em>' attribute is set.
+     * @see #unsetUseContextHandler()
+     * @see #isUseContextHandler()
+     * @see #setUseContextHandler(boolean)
+     * @generated
+     */
+    boolean isSetUseContextHandler();
+
+} // SecurityType

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,336 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.security.impl;
+
+import java.util.Collection;
+
+import org.apache.geronimo.xml.ns.security.DefaultPrincipalType;
+import org.apache.geronimo.xml.ns.security.DescriptionType;
+import org.apache.geronimo.xml.ns.security.NamedUsernamePasswordCredentialType;
+import org.apache.geronimo.xml.ns.security.PrincipalType;
+import org.apache.geronimo.xml.ns.security.SecurityPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Default Principal Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DefaultPrincipalTypeImpl#getDescription <em>Description</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DefaultPrincipalTypeImpl#getPrincipal <em>Principal</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DefaultPrincipalTypeImpl#getNamedUsernamePasswordCredential <em>Named Username Password Credential</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DefaultPrincipalTypeImpl#getRealmName <em>Realm Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DefaultPrincipalTypeImpl extends EObjectImpl implements DefaultPrincipalType {
+    /**
+     * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDescription()
+     * @generated
+     * @ordered
+     */
+    protected EList description = null;
+
+    /**
+     * The cached value of the '{@link #getPrincipal() <em>Principal</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPrincipal()
+     * @generated
+     * @ordered
+     */
+    protected PrincipalType principal = null;
+
+    /**
+     * The cached value of the '{@link #getNamedUsernamePasswordCredential() <em>Named Username Password Credential</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getNamedUsernamePasswordCredential()
+     * @generated
+     * @ordered
+     */
+    protected EList namedUsernamePasswordCredential = null;
+
+    /**
+     * The default value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRealmName()
+     * @generated
+     * @ordered
+     */
+    protected static final String REALM_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRealmName()
+     * @generated
+     * @ordered
+     */
+    protected String realmName = REALM_NAME_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DefaultPrincipalTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return SecurityPackage.eINSTANCE.getDefaultPrincipalType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getDescription() {
+        if (description == null) {
+            description = new EObjectContainmentEList(DescriptionType.class, this, SecurityPackage.DEFAULT_PRINCIPAL_TYPE__DESCRIPTION);
+        }
+        return description;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PrincipalType getPrincipal() {
+        return principal;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetPrincipal(PrincipalType newPrincipal, NotificationChain msgs) {
+        PrincipalType oldPrincipal = principal;
+        principal = newPrincipal;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL, oldPrincipal, newPrincipal);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setPrincipal(PrincipalType newPrincipal) {
+        if (newPrincipal != principal) {
+            NotificationChain msgs = null;
+            if (principal != null)
+                msgs = ((InternalEObject)principal).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL, null, msgs);
+            if (newPrincipal != null)
+                msgs = ((InternalEObject)newPrincipal).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL, null, msgs);
+            msgs = basicSetPrincipal(newPrincipal, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL, newPrincipal, newPrincipal));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getNamedUsernamePasswordCredential() {
+        if (namedUsernamePasswordCredential == null) {
+            namedUsernamePasswordCredential = new EObjectContainmentEList(NamedUsernamePasswordCredentialType.class, this, SecurityPackage.DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL);
+        }
+        return namedUsernamePasswordCredential;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getRealmName() {
+        return realmName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setRealmName(String newRealmName) {
+        String oldRealmName = realmName;
+        realmName = newRealmName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DEFAULT_PRINCIPAL_TYPE__REALM_NAME, oldRealmName, realmName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
+        if (featureID >= 0) {
+            switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
+                case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__DESCRIPTION:
+                    return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs);
+                case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL:
+                    return basicSetPrincipal(null, msgs);
+                case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL:
+                    return ((InternalEList)getNamedUsernamePasswordCredential()).basicRemove(otherEnd, msgs);
+                default:
+                    return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+            }
+        }
+        return eBasicSetContainer(null, featureID, msgs);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__DESCRIPTION:
+                return getDescription();
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL:
+                return getPrincipal();
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL:
+                return getNamedUsernamePasswordCredential();
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__REALM_NAME:
+                return getRealmName();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__DESCRIPTION:
+                getDescription().clear();
+                getDescription().addAll((Collection)newValue);
+                return;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL:
+                setPrincipal((PrincipalType)newValue);
+                return;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL:
+                getNamedUsernamePasswordCredential().clear();
+                getNamedUsernamePasswordCredential().addAll((Collection)newValue);
+                return;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__REALM_NAME:
+                setRealmName((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__DESCRIPTION:
+                getDescription().clear();
+                return;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL:
+                setPrincipal((PrincipalType)null);
+                return;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL:
+                getNamedUsernamePasswordCredential().clear();
+                return;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__REALM_NAME:
+                setRealmName(REALM_NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__DESCRIPTION:
+                return description != null && !description.isEmpty();
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__PRINCIPAL:
+                return principal != null;
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__NAMED_USERNAME_PASSWORD_CREDENTIAL:
+                return namedUsernamePasswordCredential != null && !namedUsernamePasswordCredential.isEmpty();
+            case SecurityPackage.DEFAULT_PRINCIPAL_TYPE__REALM_NAME:
+                return REALM_NAME_EDEFAULT == null ? realmName != null : !REALM_NAME_EDEFAULT.equals(realmName);
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (realmName: ");
+        result.append(realmName);
+        result.append(')');
+        return result.toString();
+    }
+
+} //DefaultPrincipalTypeImpl

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,225 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.security.impl;
+
+import org.apache.geronimo.xml.ns.security.DescriptionType;
+import org.apache.geronimo.xml.ns.security.SecurityPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Description Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DescriptionTypeImpl#getValue <em>Value</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DescriptionTypeImpl#getLang <em>Lang</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DescriptionTypeImpl extends EObjectImpl implements DescriptionType {
+    /**
+     * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getValue()
+     * @generated
+     * @ordered
+     */
+    protected static final String VALUE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getValue()
+     * @generated
+     * @ordered
+     */
+    protected String value = VALUE_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLang()
+     * @generated
+     * @ordered
+     */
+    protected static final String LANG_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLang()
+     * @generated
+     * @ordered
+     */
+    protected String lang = LANG_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DescriptionTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return SecurityPackage.eINSTANCE.getDescriptionType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setValue(String newValue) {
+        String oldValue = value;
+        value = newValue;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DESCRIPTION_TYPE__VALUE, oldValue, value));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getLang() {
+        return lang;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setLang(String newLang) {
+        String oldLang = lang;
+        lang = newLang;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DESCRIPTION_TYPE__LANG, oldLang, lang));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DESCRIPTION_TYPE__VALUE:
+                return getValue();
+            case SecurityPackage.DESCRIPTION_TYPE__LANG:
+                return getLang();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DESCRIPTION_TYPE__VALUE:
+                setValue((String)newValue);
+                return;
+            case SecurityPackage.DESCRIPTION_TYPE__LANG:
+                setLang((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DESCRIPTION_TYPE__VALUE:
+                setValue(VALUE_EDEFAULT);
+                return;
+            case SecurityPackage.DESCRIPTION_TYPE__LANG:
+                setLang(LANG_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DESCRIPTION_TYPE__VALUE:
+                return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+            case SecurityPackage.DESCRIPTION_TYPE__LANG:
+                return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (value: ");
+        result.append(value);
+        result.append(", lang: ");
+        result.append(lang);
+        result.append(')');
+        return result.toString();
+    }
+
+} //DescriptionTypeImpl



Mime
View raw message