You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ge...@apache.org on 2005/08/24 23:36:53 UTC

svn commit: r239937 [35/73] - in /geronimo/trunk/sandbox/eclipse-plugin: org.apache.geronimo.core/src/org/apache/geronimo/core/internal/ org.apache.geronimo.core/src/org/apache/geronimo/core/operations/ org.apache.geronimo.deployment.model/src/org/apac...

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java Wed Aug 24 14:34:34 2005
@@ -1,270 +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
+/**
+ * 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

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/SecurityType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,336 +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
+/**
+ * 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

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DefaultPrincipalTypeImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,225 +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
+/**
+ * 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

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DescriptionTypeImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DistinguishedNameTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DistinguishedNameTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DistinguishedNameTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/impl/DistinguishedNameTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,320 +1,320 @@
-/**
- * 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.DescriptionType;
-import org.apache.geronimo.xml.ns.security.DistinguishedNameType;
-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>Distinguished Name Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl#getDescription <em>Description</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl#isDesignatedRunAs <em>Designated Run As</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DistinguishedNameTypeImpl extends EObjectImpl implements DistinguishedNameType {
-    /**
-     * 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 default value of the '{@link #isDesignatedRunAs() <em>Designated Run As</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #isDesignatedRunAs()
-     * @generated
-     * @ordered
-     */
-    protected static final boolean DESIGNATED_RUN_AS_EDEFAULT = false;
-
-    /**
-     * The cached value of the '{@link #isDesignatedRunAs() <em>Designated Run As</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #isDesignatedRunAs()
-     * @generated
-     * @ordered
-     */
-    protected boolean designatedRunAs = DESIGNATED_RUN_AS_EDEFAULT;
-
-    /**
-     * This is true if the Designated Run As attribute has been set.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     * @ordered
-     */
-    protected boolean designatedRunAsESet = false;
-
-    /**
-     * The default value of the '{@link #getName() <em>Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getName()
-     * @generated
-     * @ordered
-     */
-    protected static final String NAME_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getName()
-     * @generated
-     * @ordered
-     */
-    protected String name = NAME_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected DistinguishedNameTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return SecurityPackage.eINSTANCE.getDistinguishedNameType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EList getDescription() {
-        if (description == null) {
-            description = new EObjectContainmentEList(DescriptionType.class, this, SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION);
-        }
-        return description;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean isDesignatedRunAs() {
-        return designatedRunAs;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setDesignatedRunAs(boolean newDesignatedRunAs) {
-        boolean oldDesignatedRunAs = designatedRunAs;
-        designatedRunAs = newDesignatedRunAs;
-        boolean oldDesignatedRunAsESet = designatedRunAsESet;
-        designatedRunAsESet = true;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS, oldDesignatedRunAs, designatedRunAs, !oldDesignatedRunAsESet));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void unsetDesignatedRunAs() {
-        boolean oldDesignatedRunAs = designatedRunAs;
-        boolean oldDesignatedRunAsESet = designatedRunAsESet;
-        designatedRunAs = DESIGNATED_RUN_AS_EDEFAULT;
-        designatedRunAsESet = false;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.UNSET, SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS, oldDesignatedRunAs, DESIGNATED_RUN_AS_EDEFAULT, oldDesignatedRunAsESet));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean isSetDesignatedRunAs() {
-        return designatedRunAsESet;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setName(String newName) {
-        String oldName = name;
-        name = newName;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME, oldName, name));
-    }
-
-    /**
-     * <!-- 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.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
-                    return ((InternalEList)getDescription()).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.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
-                return getDescription();
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
-                return isDesignatedRunAs() ? Boolean.TRUE : Boolean.FALSE;
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
-                return getName();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
-                getDescription().clear();
-                getDescription().addAll((Collection)newValue);
-                return;
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
-                setDesignatedRunAs(((Boolean)newValue).booleanValue());
-                return;
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
-                setName((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
-                getDescription().clear();
-                return;
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
-                unsetDesignatedRunAs();
-                return;
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
-                return description != null && !description.isEmpty();
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
-                return isSetDesignatedRunAs();
-            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
-                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
-        }
-        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(" (designatedRunAs: ");
-        if (designatedRunAsESet) result.append(designatedRunAs); else result.append("<unset>");
-        result.append(", name: ");
-        result.append(name);
-        result.append(')');
-        return result.toString();
-    }
-
-} //DistinguishedNameTypeImpl
+/**
+ * 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.DescriptionType;
+import org.apache.geronimo.xml.ns.security.DistinguishedNameType;
+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>Distinguished Name Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl#getDescription <em>Description</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl#isDesignatedRunAs <em>Designated Run As</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.security.impl.DistinguishedNameTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DistinguishedNameTypeImpl extends EObjectImpl implements DistinguishedNameType {
+    /**
+     * 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 default value of the '{@link #isDesignatedRunAs() <em>Designated Run As</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #isDesignatedRunAs()
+     * @generated
+     * @ordered
+     */
+    protected static final boolean DESIGNATED_RUN_AS_EDEFAULT = false;
+
+    /**
+     * The cached value of the '{@link #isDesignatedRunAs() <em>Designated Run As</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #isDesignatedRunAs()
+     * @generated
+     * @ordered
+     */
+    protected boolean designatedRunAs = DESIGNATED_RUN_AS_EDEFAULT;
+
+    /**
+     * This is true if the Designated Run As attribute has been set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    protected boolean designatedRunAsESet = false;
+
+    /**
+     * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName()
+     * @generated
+     * @ordered
+     */
+    protected static final String NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName()
+     * @generated
+     * @ordered
+     */
+    protected String name = NAME_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DistinguishedNameTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return SecurityPackage.eINSTANCE.getDistinguishedNameType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getDescription() {
+        if (description == null) {
+            description = new EObjectContainmentEList(DescriptionType.class, this, SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION);
+        }
+        return description;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean isDesignatedRunAs() {
+        return designatedRunAs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setDesignatedRunAs(boolean newDesignatedRunAs) {
+        boolean oldDesignatedRunAs = designatedRunAs;
+        designatedRunAs = newDesignatedRunAs;
+        boolean oldDesignatedRunAsESet = designatedRunAsESet;
+        designatedRunAsESet = true;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS, oldDesignatedRunAs, designatedRunAs, !oldDesignatedRunAsESet));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void unsetDesignatedRunAs() {
+        boolean oldDesignatedRunAs = designatedRunAs;
+        boolean oldDesignatedRunAsESet = designatedRunAsESet;
+        designatedRunAs = DESIGNATED_RUN_AS_EDEFAULT;
+        designatedRunAsESet = false;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.UNSET, SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS, oldDesignatedRunAs, DESIGNATED_RUN_AS_EDEFAULT, oldDesignatedRunAsESet));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean isSetDesignatedRunAs() {
+        return designatedRunAsESet;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setName(String newName) {
+        String oldName = name;
+        name = newName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- 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.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
+                    return ((InternalEList)getDescription()).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.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
+                return getDescription();
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
+                return isDesignatedRunAs() ? Boolean.TRUE : Boolean.FALSE;
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
+                return getName();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
+                getDescription().clear();
+                getDescription().addAll((Collection)newValue);
+                return;
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
+                setDesignatedRunAs(((Boolean)newValue).booleanValue());
+                return;
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
+                setName((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
+                getDescription().clear();
+                return;
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
+                unsetDesignatedRunAs();
+                return;
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESCRIPTION:
+                return description != null && !description.isEmpty();
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__DESIGNATED_RUN_AS:
+                return isSetDesignatedRunAs();
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+        }
+        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(" (designatedRunAs: ");
+        if (designatedRunAsESet) result.append(designatedRunAs); else result.append("<unset>");
+        result.append(", name: ");
+        result.append(name);
+        result.append(')');
+        return result.toString();
+    }
+
+} //DistinguishedNameTypeImpl