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 [40/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/util/SecuritySwitch.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.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/util/SecuritySwitch.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.java Wed Aug 24 14:34:34 2005
@@ -1,328 +1,328 @@
-/**
- * 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.util;
-
-import java.util.List;
-
-import org.apache.geronimo.xml.ns.security.*;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.apache.geronimo.xml.ns.security.SecurityPackage
- * @generated
- */
-public class SecuritySwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SecurityPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecuritySwitch() {
- if (modelPackage == null) {
- modelPackage = SecurityPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public Object doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch((EClass)eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected Object doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case SecurityPackage.DEFAULT_PRINCIPAL_TYPE: {
- DefaultPrincipalType defaultPrincipalType = (DefaultPrincipalType)theEObject;
- Object result = caseDefaultPrincipalType(defaultPrincipalType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.DESCRIPTION_TYPE: {
- DescriptionType descriptionType = (DescriptionType)theEObject;
- Object result = caseDescriptionType(descriptionType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.DISTINGUISHED_NAME_TYPE: {
- DistinguishedNameType distinguishedNameType = (DistinguishedNameType)theEObject;
- Object result = caseDistinguishedNameType(distinguishedNameType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- Object result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE: {
- NamedUsernamePasswordCredentialType namedUsernamePasswordCredentialType = (NamedUsernamePasswordCredentialType)theEObject;
- Object result = caseNamedUsernamePasswordCredentialType(namedUsernamePasswordCredentialType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.PRINCIPAL_TYPE: {
- PrincipalType principalType = (PrincipalType)theEObject;
- Object result = casePrincipalType(principalType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.REALM_TYPE: {
- RealmType realmType = (RealmType)theEObject;
- Object result = caseRealmType(realmType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.ROLE_MAPPINGS_TYPE: {
- RoleMappingsType roleMappingsType = (RoleMappingsType)theEObject;
- Object result = caseRoleMappingsType(roleMappingsType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.ROLE_TYPE: {
- RoleType roleType = (RoleType)theEObject;
- Object result = caseRoleType(roleType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SecurityPackage.SECURITY_TYPE: {
- SecurityType securityType = (SecurityType)theEObject;
- Object result = caseSecurityType(securityType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Default Principal Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Default Principal Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDefaultPrincipalType(DefaultPrincipalType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Description Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Description Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDescriptionType(DescriptionType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Distinguished Name Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Distinguished Name Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDistinguishedNameType(DistinguishedNameType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Named Username Password Credential Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Named Username Password Credential Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseNamedUsernamePasswordCredentialType(NamedUsernamePasswordCredentialType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Principal Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Principal Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object casePrincipalType(PrincipalType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Realm Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Realm Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseRealmType(RealmType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Role Mappings Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Role Mappings Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseRoleMappingsType(RoleMappingsType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Role Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Role Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseRoleType(RoleType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Type</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSecurityType(SecurityType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public Object defaultCase(EObject object) {
- return null;
- }
-
-} //SecuritySwitch
+/**
+ * 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.util;
+
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.security.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.apache.geronimo.xml.ns.security.SecurityPackage
+ * @generated
+ */
+public class SecuritySwitch {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static SecurityPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SecuritySwitch() {
+ if (modelPackage == null) {
+ modelPackage = SecurityPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public Object doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected Object doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch((EClass)eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected Object doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case SecurityPackage.DEFAULT_PRINCIPAL_TYPE: {
+ DefaultPrincipalType defaultPrincipalType = (DefaultPrincipalType)theEObject;
+ Object result = caseDefaultPrincipalType(defaultPrincipalType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.DESCRIPTION_TYPE: {
+ DescriptionType descriptionType = (DescriptionType)theEObject;
+ Object result = caseDescriptionType(descriptionType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.DISTINGUISHED_NAME_TYPE: {
+ DistinguishedNameType distinguishedNameType = (DistinguishedNameType)theEObject;
+ Object result = caseDistinguishedNameType(distinguishedNameType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ Object result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE: {
+ NamedUsernamePasswordCredentialType namedUsernamePasswordCredentialType = (NamedUsernamePasswordCredentialType)theEObject;
+ Object result = caseNamedUsernamePasswordCredentialType(namedUsernamePasswordCredentialType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.PRINCIPAL_TYPE: {
+ PrincipalType principalType = (PrincipalType)theEObject;
+ Object result = casePrincipalType(principalType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.REALM_TYPE: {
+ RealmType realmType = (RealmType)theEObject;
+ Object result = caseRealmType(realmType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.ROLE_MAPPINGS_TYPE: {
+ RoleMappingsType roleMappingsType = (RoleMappingsType)theEObject;
+ Object result = caseRoleMappingsType(roleMappingsType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.ROLE_TYPE: {
+ RoleType roleType = (RoleType)theEObject;
+ Object result = caseRoleType(roleType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SecurityPackage.SECURITY_TYPE: {
+ SecurityType securityType = (SecurityType)theEObject;
+ Object result = caseSecurityType(securityType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Default Principal Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Default Principal Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseDefaultPrincipalType(DefaultPrincipalType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Description Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Description Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseDescriptionType(DescriptionType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Distinguished Name Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Distinguished Name Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseDistinguishedNameType(DistinguishedNameType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Named Username Password Credential Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Named Username Password Credential Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseNamedUsernamePasswordCredentialType(NamedUsernamePasswordCredentialType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Principal Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Principal Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object casePrincipalType(PrincipalType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Realm Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Realm Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseRealmType(RealmType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Role Mappings Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Role Mappings Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseRoleMappingsType(RoleMappingsType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Role Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Role Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseRoleType(RoleType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseSecurityType(SecurityType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public Object defaultCase(EObject object) {
+ return null;
+ }
+
+} //SecuritySwitch
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.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/web/ConfigParamType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java Wed Aug 24 14:34:34 2005
@@ -1,99 +1,99 @@
-/**
- * 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.web;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Config Param Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * The config-paramType contains a name-value pair for a
- * configuration parameter
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getValue <em>Value</em>}</li>
- * <li>{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType()
- * @model extendedMetaData="name='config-paramType' kind='simple'"
- * @generated
- */
-public interface ConfigParamType extends EObject{
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="name=':0' kind='simple'"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='attribute' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // ConfigParamType
+/**
+ * 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.web;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Config Param Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * The config-paramType contains a name-value pair for a
+ * configuration parameter
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getValue <em>Value</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType()
+ * @model extendedMetaData="name='config-paramType' kind='simple'"
+ * @generated
+ */
+public interface ConfigParamType extends EObject{
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType_Value()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType_Name()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // ConfigParamType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.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/web/ContainerConfigType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java Wed Aug 24 14:34:34 2005
@@ -1,138 +1,138 @@
-/**
- * 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.web;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Container Config Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- *
- * Holds any configuration settings appropriate to the
- * specific web container this application is targeting.
- * Generally speaking this configuration file reflects
- * the commonalities between web containers, and it's
- * possible for a single container to have additional
- * configuration options. We recommend these be avoided
- * wherever possible for the sake of portability.
- *
- * Known containers are:
- * Tomcat
- * Jetty
- *
- * Some known parameters are:
- * Tomcat: VirtualServer
- * Tomcat: TomcatRealm
- * Tomcat: TomcatValveChain
- * An authoritative list is left to the individual container
- * documentation.
- *
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getConfigParam <em>Config Param</em>}</li>
- * <li>{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType()
- * @model extendedMetaData="name='container-configType' kind='elementOnly'"
- * @generated
- */
-public interface ContainerConfigType extends EObject{
- /**
- * Returns the value of the '<em><b>Config Param</b></em>' containment reference list.
- * The list contents are of type {@link org.apache.geronimo.xml.ns.web.ConfigParamType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Config Param</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>Config Param</em>' containment reference list.
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType_ConfigParam()
- * @model type="org.apache.geronimo.xml.ns.web.ConfigParamType" containment="true" resolveProxies="false"
- * extendedMetaData="kind='element' name='config-param' namespace='##targetNamespace'"
- * @generated
- */
- EList getConfigParam();
-
- /**
- * Returns the value of the '<em><b>Container</b></em>' attribute.
- * The default value is <code>"Tomcat"</code>.
- * The literals are from the enumeration {@link org.apache.geronimo.xml.ns.web.WebContainerType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Container</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Container</em>' attribute.
- * @see org.apache.geronimo.xml.ns.web.WebContainerType
- * @see #isSetContainer()
- * @see #unsetContainer()
- * @see #setContainer(WebContainerType)
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType_Container()
- * @model default="Tomcat" unique="false" unsettable="true" required="true"
- * extendedMetaData="kind='attribute' name='container'"
- * @generated
- */
- WebContainerType getContainer();
-
- /**
- * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Container</em>' attribute.
- * @see org.apache.geronimo.xml.ns.web.WebContainerType
- * @see #isSetContainer()
- * @see #unsetContainer()
- * @see #getContainer()
- * @generated
- */
- void setContainer(WebContainerType value);
-
- /**
- * Unsets the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetContainer()
- * @see #getContainer()
- * @see #setContainer(WebContainerType)
- * @generated
- */
- void unsetContainer();
-
- /**
- * Returns whether the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Container</em>' attribute is set.
- * @see #unsetContainer()
- * @see #getContainer()
- * @see #setContainer(WebContainerType)
- * @generated
- */
- boolean isSetContainer();
-
-} // ContainerConfigType
+/**
+ * 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.web;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Container Config Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Holds any configuration settings appropriate to the
+ * specific web container this application is targeting.
+ * Generally speaking this configuration file reflects
+ * the commonalities between web containers, and it's
+ * possible for a single container to have additional
+ * configuration options. We recommend these be avoided
+ * wherever possible for the sake of portability.
+ *
+ * Known containers are:
+ * Tomcat
+ * Jetty
+ *
+ * Some known parameters are:
+ * Tomcat: VirtualServer
+ * Tomcat: TomcatRealm
+ * Tomcat: TomcatValveChain
+ * An authoritative list is left to the individual container
+ * documentation.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getConfigParam <em>Config Param</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType()
+ * @model extendedMetaData="name='container-configType' kind='elementOnly'"
+ * @generated
+ */
+public interface ContainerConfigType extends EObject{
+ /**
+ * Returns the value of the '<em><b>Config Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.apache.geronimo.xml.ns.web.ConfigParamType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Config Param</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>Config Param</em>' containment reference list.
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType_ConfigParam()
+ * @model type="org.apache.geronimo.xml.ns.web.ConfigParamType" containment="true" resolveProxies="false"
+ * extendedMetaData="kind='element' name='config-param' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList getConfigParam();
+
+ /**
+ * Returns the value of the '<em><b>Container</b></em>' attribute.
+ * The default value is <code>"Tomcat"</code>.
+ * The literals are from the enumeration {@link org.apache.geronimo.xml.ns.web.WebContainerType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Container</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Container</em>' attribute.
+ * @see org.apache.geronimo.xml.ns.web.WebContainerType
+ * @see #isSetContainer()
+ * @see #unsetContainer()
+ * @see #setContainer(WebContainerType)
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType_Container()
+ * @model default="Tomcat" unique="false" unsettable="true" required="true"
+ * extendedMetaData="kind='attribute' name='container'"
+ * @generated
+ */
+ WebContainerType getContainer();
+
+ /**
+ * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Container</em>' attribute.
+ * @see org.apache.geronimo.xml.ns.web.WebContainerType
+ * @see #isSetContainer()
+ * @see #unsetContainer()
+ * @see #getContainer()
+ * @generated
+ */
+ void setContainer(WebContainerType value);
+
+ /**
+ * Unsets the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetContainer()
+ * @see #getContainer()
+ * @see #setContainer(WebContainerType)
+ * @generated
+ */
+ void unsetContainer();
+
+ /**
+ * Returns whether the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Container</em>' attribute is set.
+ * @see #unsetContainer()
+ * @see #getContainer()
+ * @see #setContainer(WebContainerType)
+ * @generated
+ */
+ boolean isSetContainer();
+
+} // ContainerConfigType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.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/web/DocumentRoot.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java Wed Aug 24 14:34:34 2005
@@ -1,124 +1,124 @@
-/**
- * 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.web;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getWebApp <em>Web App</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot()
- * @model extendedMetaData="name='' kind='mixed'"
- * @generated
- */
-public interface DocumentRoot extends EObject{
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * extendedMetaData="kind='elementWildcard' name=':mixed'"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * extendedMetaData="kind='attribute' name='xmlns:prefix'"
- * @generated
- */
- EMap getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
- * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
- * @generated
- */
- EMap getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Web App</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Web App</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>Web App</em>' containment reference.
- * @see #setWebApp(WebAppType)
- * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_WebApp()
- * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='web-app' namespace='##targetNamespace'"
- * @generated
- */
- WebAppType getWebApp();
-
- /**
- * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getWebApp <em>Web App</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Web App</em>' containment reference.
- * @see #getWebApp()
- * @generated
- */
- void setWebApp(WebAppType value);
-
-} // DocumentRoot
+/**
+ * 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.web;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getWebApp <em>Web App</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject{
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ EMap getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Web App</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Web App</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>Web App</em>' containment reference.
+ * @see #setWebApp(WebAppType)
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_WebApp()
+ * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='web-app' namespace='##targetNamespace'"
+ * @generated
+ */
+ WebAppType getWebApp();
+
+ /**
+ * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getWebApp <em>Web App</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Web App</em>' containment reference.
+ * @see #getWebApp()
+ * @generated
+ */
+ void setWebApp(WebAppType value);
+
+} // DocumentRoot
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java
------------------------------------------------------------------------------
svn:eol-style = native