Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication')
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthConstraint.java88
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthMethodKind.java213
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ContextParam.java84
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/DispatcherType.java214
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorCodeErrorPage.java46
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorPage.java62
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ExceptionTypeErrorPage.java57
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Filter.java96
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FormLoginConfig.java73
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodType.java54
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodTypeEnum.java297
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/InitParam.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/JSPType.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMapping.java85
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMappingList.java49
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LoginConfig.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/MimeMapping.java72
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ResAuthServletType.java152
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/RoleNameType.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SecurityConstraint.java122
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Servlet.java195
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletMapping.java104
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletType.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SessionConfig.java84
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TagLibRef.java92
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TransportGuaranteeType.java173
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/URLPatternType.java70
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/UserDataConstraint.java131
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebApp.java408
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebAppResource.java48
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebResourceCollection.java157
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebType.java45
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationFactory.java222
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationPackage.java3385
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFile.java58
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFileList.java59
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/AuthConstraintImpl.java319
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ContextParamImpl.java333
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorCodeErrorPageImpl.java160
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorPageImpl.java259
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ExceptionTypeErrorPageImpl.java176
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterImpl.java305
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterMappingImpl.java368
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FormLoginConfigImpl.java292
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/HTTPMethodTypeImpl.java163
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/InitParamImpl.java242
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/JSPTypeImpl.java158
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingImpl.java217
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingListImpl.java149
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LoginConfigImpl.java446
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/MimeMappingImpl.java290
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/RoleNameTypeImpl.java152
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SecurityConstraintImpl.java450
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletImpl.java621
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletMappingImpl.java350
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletTypeImpl.java155
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SessionConfigImpl.java282
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/TagLibRefImpl.java297
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/URLPatternTypeImpl.java244
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/UserDataConstraintImpl.java377
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppImpl.java1224
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceFactory.java100
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceImpl.java208
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebResourceCollectionImpl.java497
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebTypeImpl.java61
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationFactoryImpl.java524
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationPackageImpl.java1861
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileImpl.java245
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileListImpl.java235
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationAdapterFactory.java710
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationSwitch.java856
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/package.xml19
73 files changed, 0 insertions, 20803 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthConstraint.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthConstraint.java
deleted file mode 100644
index e5be05186..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthConstraint.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The auth-constraint element indicates the user roles that should be permitted access to this resource collection. The role used here must appear in a security-role-ref element.
- * @since 1.0
- * @generated
- */
-public interface AuthConstraint extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Description attribute
- * A description of the auth constraint.
- */
- String getDescription();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Description attribute
- */
- void setDescription(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Roles attribute
- * A list of role names for the auth constraint. Each element specifies the name
- * of a security role (a String).
-
- */
- EList getRoles();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The SecConstraint reference
- */
- SecurityConstraint getSecConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value the new value of the SecConstraint reference
- */
- void setSecConstraint(SecurityConstraint value);
-
- /**
- * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Descriptions</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getAuthConstraint_Descriptions()
- * @model type="org.eclipse.jst.j2ee.common.Description" containment="true"
- * @generated
- */
- EList getDescriptions();
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthMethodKind.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthMethodKind.java
deleted file mode 100644
index 2816033f8..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/AuthMethodKind.java
+++ /dev/null
@@ -1,213 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-
-/**
- *
- * @since 1.0
- *
- */
-
-
-public final class AuthMethodKind extends AbstractEnumerator{
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int UNSPECIFIED = 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int BASIC = 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int DIGEST = 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int FORM = 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int CLIENT_CERT = 4;
- /**
- * The '<em><b>UNSPECIFIED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>UNSPECIFIED</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #UNSPECIFIED
- * @generated
- * @ordered
- */
- public static final AuthMethodKind UNSPECIFIED_LITERAL = new AuthMethodKind(UNSPECIFIED, "UNSPECIFIED", "UNSPECIFIED");//$NON-NLS-1$
-
- /**
- * The '<em><b>BASIC</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>BASIC</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #BASIC
- * @generated
- * @ordered
- */
- public static final AuthMethodKind BASIC_LITERAL = new AuthMethodKind(BASIC, "BASIC", "BASIC");//$NON-NLS-1$
-
- /**
- * The '<em><b>DIGEST</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>DIGEST</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DIGEST
- * @generated
- * @ordered
- */
- public static final AuthMethodKind DIGEST_LITERAL = new AuthMethodKind(DIGEST, "DIGEST", "DIGEST");//$NON-NLS-1$
-
- /**
- * The '<em><b>FORM</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>FORM</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #FORM
- * @generated
- * @ordered
- */
- public static final AuthMethodKind FORM_LITERAL = new AuthMethodKind(FORM, "FORM", "FORM");//$NON-NLS-1$
-
- /**
- * The '<em><b>CLIENT CERT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CLIENT CERT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CLIENT_CERT
- * @generated
- * @ordered
- */
- public static final AuthMethodKind CLIENT_CERT_LITERAL = new AuthMethodKind(CLIENT_CERT, "CLIENT_CERT", "CLIENT_CERT");//$NON-NLS-1$
-
- /**
- * An array of all the '<em><b>Auth Method Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final AuthMethodKind[] VALUES_ARRAY =
- new AuthMethodKind[] {
- UNSPECIFIED_LITERAL,
- BASIC_LITERAL,
- DIGEST_LITERAL,
- FORM_LITERAL,
- CLIENT_CERT_LITERAL,
- };
-
- /**
- * A public read-only list of all the '<em><b>Auth Method Kind</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Auth Method Kind</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * @param name passes literal name
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static AuthMethodKind get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- AuthMethodKind result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Auth Method Kind</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AuthMethodKind getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- AuthMethodKind result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Auth Method Kind</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AuthMethodKind get(int value) {
- switch (value) {
- case UNSPECIFIED: return UNSPECIFIED_LITERAL;
- case BASIC: return BASIC_LITERAL;
- case DIGEST: return DIGEST_LITERAL;
- case FORM: return FORM_LITERAL;
- case CLIENT_CERT: return CLIENT_CERT_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private AuthMethodKind(int value, String name, String literal) {
- super(value, name, literal);
- }
-
-} //AuthMethodKind
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ContextParam.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ContextParam.java
deleted file mode 100644
index 995cc1f70..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ContextParam.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The context-param element contains the declaration of a web application's servlet context initialization parameters.
- * @since 1.0
- * @generated
- */
-public interface ContextParam extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ParamName attribute
- * The param-name element contains the name of a parameter.
- */
- String getParamName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ParamName attribute
- */
- void setParamName(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ParamValue attribute
- * The param-value element contains the value of a parameter.
- */
- String getParamValue();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ParamValue attribute
- */
- void setParamValue(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Description attribute
- */
- String getDescription();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Description attribute
- */
- void setDescription(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/DispatcherType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/DispatcherType.java
deleted file mode 100644
index dad6697e1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/DispatcherType.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Dispatcher Type</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getDispatcherType()
- * @model
- * @generated
- */
-public final class DispatcherType extends AbstractEnumerator
-{
- /**
- * The '<em><b>FORWARD</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #FORWARD_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int FORWARD = 0;
-
- /**
- * The '<em><b>INCLUDE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #INCLUDE_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int INCLUDE = 1;
-
- /**
- * The '<em><b>REQUEST</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #REQUEST_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int REQUEST = 2;
-
- /**
- * The '<em><b>ERROR</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #ERROR_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int ERROR = 3;
-
- /**
- * The '<em><b>FORWARD</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>FORWARD</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #FORWARD
- * @generated
- * @ordered
- */
- public static final DispatcherType FORWARD_LITERAL = new DispatcherType(FORWARD, "FORWARD", "FORWARD");//$NON-NLS-1$
-
- /**
- * The '<em><b>INCLUDE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>INCLUDE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INCLUDE
- * @generated
- * @ordered
- */
- public static final DispatcherType INCLUDE_LITERAL = new DispatcherType(INCLUDE, "INCLUDE", "INCLUDE");//$NON-NLS-1$
-
- /**
- * The '<em><b>REQUEST</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>REQUEST</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #REQUEST
- * @generated
- * @ordered
- */
- public static final DispatcherType REQUEST_LITERAL = new DispatcherType(REQUEST, "REQUEST", "REQUEST");//$NON-NLS-1$
-
- /**
- * The '<em><b>ERROR</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>ERROR</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #ERROR
- * @generated
- * @ordered
- */
- public static final DispatcherType ERROR_LITERAL = new DispatcherType(ERROR, "ERROR", "ERROR");//$NON-NLS-1$
-
- /**
- * An array of all the '<em><b>Dispatcher Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final DispatcherType[] VALUES_ARRAY =
- new DispatcherType[] {
- FORWARD_LITERAL,
- INCLUDE_LITERAL,
- REQUEST_LITERAL,
- ERROR_LITERAL,
- };
-
- /**
- * A public read-only list of all the '<em><b>Dispatcher Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Dispatcher Type</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * @param name passes literal name
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static DispatcherType get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- DispatcherType result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Dispatcher Type</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static DispatcherType getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- DispatcherType result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Dispatcher Type</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * @param value passes literal value
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static DispatcherType get(int value) {
- switch (value) {
- case FORWARD: return FORWARD_LITERAL;
- case INCLUDE: return INCLUDE_LITERAL;
- case REQUEST: return REQUEST_LITERAL;
- case ERROR: return ERROR_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private DispatcherType(int value, String name, String literal) {
- super(value, name, literal);
- }
-
-} //DispatcherType
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorCodeErrorPage.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorCodeErrorPage.java
deleted file mode 100644
index 24f051c31..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorCodeErrorPage.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-
-/**
- * @generated
- */
-public interface ErrorCodeErrorPage extends ErrorPage{
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ErrorCode attribute
- * The error-code contains an HTTP error code, ex: 404
-
- */
- String getErrorCode();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ErrorCode attribute
- */
- void setErrorCode(String value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorPage.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorPage.java
deleted file mode 100644
index c069e7948..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ErrorPage.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The error-page element contains a mapping between an error code or exception type to the path of a resource in the web application
- * @generated
- */
-public interface ErrorPage extends J2EEEObject {
-
-public boolean isErrorCode();
-public boolean isExceptionType();
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Location attribute
- * The location element contains the location of the resource in the web
- * application
- */
- String getLocation();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Location attribute
- */
- void setLocation(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ExceptionTypeErrorPage.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ExceptionTypeErrorPage.java
deleted file mode 100644
index a990fc106..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ExceptionTypeErrorPage.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.jem.java.JavaClass;
-/**
- * @generated
- */
-public interface ExceptionTypeErrorPage extends ErrorPage {
-
-
-
-
-public String getExceptionTypeName() ;
-void setExceptionTypeName(String exceptionTypeName) ;
-/**
- * @deprecated Use @link{#setExceptionTypeName(String)}
- */
-void setExceptionTypeName(String exceptionTypeName, ResourceSet context) ;
- /**
- * @generated This field/method will be replaced during code generation
- * @return The ExceptionType reference
- * The exception type contains a fully qualified class name of a Java exception
- * type.
- */
- JavaClass getExceptionType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the ExceptionType reference
- */
- void setExceptionType(JavaClass value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Filter.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Filter.java
deleted file mode 100644
index 770b6d9b9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Filter.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-
-
-/**
- * Declares a filter in the web application application. The filter is mapped to either a servlet or a URL pattern in the filter-mapping element, using the filter-name value to reference. Filters can access the initialization parameters declared in the deployment descriptor at runtime via the FilterConfig interface.
-
- */
-public interface Filter extends CompatibilityDescriptionGroup{
-
-public String getFilterClassName();
-public void setFilterClassName(String filterClassName);
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Name attribute
- * The logical name of the filter. This name is used to map the filter.
- */
- String getName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Name attribute
- */
- void setName(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of InitParams references
- * The init-params contain a name//value pairs as initialization params for the
- * filter
-
- */
- EList getInitParams();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The FilterClass reference
- * The fully qualified classname of the filter.
- */
- JavaClass getFilterClass();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the FilterClass reference
- */
- void setFilterClass(JavaClass value);
-
- /**
- * Returns the value of the '<em><b>Init Param Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.ParamValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Init Param Values</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * The init-param element contains a name/value pair as
- * an initialization param of a servlet filter
- * <!-- end-model-doc -->
- * @return the value of the '<em>Init Param Values</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getFilter_InitParamValues()
- * @model type="org.eclipse.jst.j2ee.common.ParamValue" containment="true"
- * @generated
- */
- EList getInitParamValues();
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java
deleted file mode 100644
index 824879769..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * Declaration of the filter mappings in this web application. The container uses the filter-mapping declarations to decide which filters to apply to a request, and in what order. The container matches the request URI to a Servlet in the normal way. To determine which filters to apply it matches filter-mapping declarations either on servlet-name, or on url-pattern for each filter-mapping element, depending on which style is used. The order in which filters are invoked is the order in which filter-mapping declarations that match a request URI for a servlet appear in the list of filter-mapping elements.The filter-name value must be the value of the <filtername> sub-elements of one of the <filter> declarations in the deployment descriptor.
- *
- * @invariant The filter-name value must be the value of the Filter::name of one of the Filter declarations in the deployment descriptor.
- * @generated
- */
-public interface FilterMapping extends J2EEEObject {
-
-/**
- * Returns the name of the servlet that this mapping applies to.
- */
-public String getServletName();
-/**
- * Sets the name of the servlet that this mapping applies to.
- */
-public void setServletName(String servletName);
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the UrlPattern attribute
- * The url-pattern element contains the url pattern of the mapping. Must follow
- * the rules specified in Section 10 of the Servlet API Specification.
- */
- String getUrlPattern();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the UrlPattern attribute
- */
- void setUrlPattern(String value);
-
- /**
- * Returns the value of the '<em><b>Dispatcher Type</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.webapplication.DispatcherType}.
- * The literals are from the enumeration {@link org.eclipse.jst.j2ee.webapplication.DispatcherType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dispatcher Type</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>Dispatcher Type</em>' attribute list.
- * @see org.eclipse.jst.j2ee.webapplication.DispatcherType
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getFilterMapping_DispatcherType()
- * @model type="org.eclipse.jst.j2ee.webapplication.DispatcherType" upper="4"
- * @generated
- */
- EList getDispatcherType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The Filter reference
- * The filter being mapped
- */
- Filter getFilter();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the Filter reference
- */
- void setFilter(Filter value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The Servlet reference
- * An optional servlet that is mapped by a filter mapping. servletName is used to
- * resolve the servlet reference.
- */
- Servlet getServlet();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the Servlet reference
- */
- void setServlet(Servlet value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FormLoginConfig.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FormLoginConfig.java
deleted file mode 100644
index 1f41b24eb..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FormLoginConfig.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The form-login-config element specifies the login and error pages that should be used in form based login. If form based authentication is not used, these elements are ignored.
- * @generated
- */
-public interface FormLoginConfig extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the FormLoginPage attribute
- * The form-login-page element defines the location in the web app where the page
- * that can be used for login can be found
- */
- String getFormLoginPage();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the FormLoginPage attribute
- */
- void setFormLoginPage(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the FormErrorPage attribute
- * The form-error-page element defines the location in the web app where the error
- * page that is displayed when login is not successful can be found
- */
- String getFormErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the FormErrorPage attribute
- */
- void setFormErrorPage(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The LoginConfig reference
- */
- LoginConfig getLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the LoginConfig reference
- */
- void setLoginConfig(LoginConfig value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodType.java
deleted file mode 100644
index 80a1f55f7..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodType.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-
-/**
- * <!-- begin-user-doc -->
- * @deprecated since 4/25/2003 use list on {@link org.eclipse.jst.j2ee.internal.webapplication.WebResourceCollection}
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.internal.webapplication.HTTPMethodType#getHttpMethod <em>Http Method</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getHTTPMethodType()
- * @model
- * @generated
- */
-public interface HTTPMethodType extends J2EEEObject {
- /**
- * Returns the value of the '<em><b>Http Method</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Http Method</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Http Method</em>' attribute.
- * @see #setHttpMethod(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getHTTPMethodType_HttpMethod()
- * @model
- * @generated
- */
- String getHttpMethod();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.HTTPMethodType#getHttpMethod <em>Http Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Http Method</em>' attribute.
- * @see #getHttpMethod()
- * @generated
- */
- void setHttpMethod(String value);
-
-} // HTTPMethodType
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodTypeEnum.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodTypeEnum.java
deleted file mode 100644
index 2f7c04113..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/HTTPMethodTypeEnum.java
+++ /dev/null
@@ -1,297 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>HTTP Method Type Enum</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getHTTPMethodTypeEnum()
- * @model
- * @generated
- */
-public final class HTTPMethodTypeEnum extends AbstractEnumerator {
- /**
- * The '<em><b>GET</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The http-method contains an HTTP method (GET | POST |...)
- * <!-- end-model-doc -->
- * @see #GET_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int GET = 0;
-
- /**
- * The '<em><b>POST</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #POST_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int POST = 1;
-
- /**
- * The '<em><b>PUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #PUT_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int PUT = 2;
-
- /**
- * The '<em><b>DELETE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #DELETE_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int DELETE = 3;
-
- /**
- * The '<em><b>HEAD</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #HEAD_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int HEAD = 4;
-
- /**
- * The '<em><b>OPTIONS</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #OPTIONS_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int OPTIONS = 5;
-
- /**
- * The '<em><b>TRACE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #TRACE_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int TRACE = 6;
-
- /**
- * The '<em><b>GET</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>GET</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #GET
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum GET_LITERAL = new HTTPMethodTypeEnum(GET, "GET", "GET");//$NON-NLS-1$
-
- /**
- * The '<em><b>POST</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>POST</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #POST
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum POST_LITERAL = new HTTPMethodTypeEnum(POST, "POST", "POST");//$NON-NLS-1$
-
- /**
- * The '<em><b>PUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PUT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #PUT
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum PUT_LITERAL = new HTTPMethodTypeEnum(PUT, "PUT", "PUT");//$NON-NLS-1$
-
- /**
- * The '<em><b>DELETE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #DELETE
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum DELETE_LITERAL = new HTTPMethodTypeEnum(DELETE, "DELETE", "DELETE");//$NON-NLS-1$
-
- /**
- * The '<em><b>HEAD</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>HEAD</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #HEAD
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum HEAD_LITERAL = new HTTPMethodTypeEnum(HEAD, "HEAD", "HEAD");//$NON-NLS-1$
-
- /**
- * The '<em><b>OPTIONS</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>OPTIONS</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #OPTIONS
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum OPTIONS_LITERAL = new HTTPMethodTypeEnum(OPTIONS, "OPTIONS", "OPTIONS");//$NON-NLS-1$
-
- /**
- * The '<em><b>TRACE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>TRACE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #TRACE
- * @generated
- * @ordered
- */
- public static final HTTPMethodTypeEnum TRACE_LITERAL = new HTTPMethodTypeEnum(TRACE, "TRACE", "TRACE");//$NON-NLS-1$
-
- /**
- * An array of all the '<em><b>HTTP Method Type Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final HTTPMethodTypeEnum[] VALUES_ARRAY =
- new HTTPMethodTypeEnum[] {
- GET_LITERAL,
- POST_LITERAL,
- PUT_LITERAL,
- DELETE_LITERAL,
- HEAD_LITERAL,
- OPTIONS_LITERAL,
- TRACE_LITERAL,
- };
-
- /**
- * A public read-only list of all the '<em><b>HTTP Method Type Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>HTTP Method Type Enum</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * @param name passes literal name
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static HTTPMethodTypeEnum get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- HTTPMethodTypeEnum result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>HTTP Method Type Enum</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static HTTPMethodTypeEnum getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- HTTPMethodTypeEnum result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>HTTP Method Type Enum</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * @param value passes literal value
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static HTTPMethodTypeEnum get(int value) {
- switch (value) {
- case GET: return GET_LITERAL;
- case POST: return POST_LITERAL;
- case PUT: return PUT_LITERAL;
- case DELETE: return DELETE_LITERAL;
- case HEAD: return HEAD_LITERAL;
- case OPTIONS: return OPTIONS_LITERAL;
- case TRACE: return TRACE_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private HTTPMethodTypeEnum(int value, String name, String literal) {
- super(value, name, literal);
- }
-
-} //HTTPMethodTypeEnum
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/InitParam.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/InitParam.java
deleted file mode 100644
index 466dc8cb8..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/InitParam.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The init-param element contains a name//value pair as an initialization param of the servlet
- * @generated
- */
-public interface InitParam extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ParamName attribute
- *
- *
-
- */
- String getParamName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ParamName attribute
- */
- void setParamName(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ParamValue attribute
- */
- String getParamValue();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ParamValue attribute
- */
- void setParamValue(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Description attribute
- */
- String getDescription();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Description attribute
- */
- void setDescription(String value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/JSPType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/JSPType.java
deleted file mode 100644
index e0c2c7045..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/JSPType.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-
-/**
- * @generated
- * @since 1.0
- */
-public interface JSPType extends WebType{
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the JspFile attribute
- * The jsp-file element contains the full path to a JSP file within the web
- * application.
-
- */
- String getJspFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the JspFile attribute
- */
- void setJspFile(String value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMapping.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMapping.java
deleted file mode 100644
index 6a64c17f3..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMapping.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Local Encoding Mapping</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getLocale <em>Locale</em>}</li>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getEncoding <em>Encoding</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getLocalEncodingMapping()
- * @model
- * @generated
- */
-public interface LocalEncodingMapping extends J2EEEObject {
- /**
- * Returns the value of the '<em><b>Locale</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Locale</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Locale</em>' attribute.
- * @see #setLocale(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getLocalEncodingMapping_Locale()
- * @model
- * @generated
- */
- String getLocale();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getLocale <em>Locale</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Locale</em>' attribute.
- * @see #getLocale()
- * @generated
- */
- void setLocale(String value);
-
- /**
- * Returns the value of the '<em><b>Encoding</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Encoding</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Encoding</em>' attribute.
- * @see #setEncoding(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getLocalEncodingMapping_Encoding()
- * @model
- * @generated
- */
- String getEncoding();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getEncoding <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Encoding</em>' attribute.
- * @see #getEncoding()
- * @generated
- */
- void setEncoding(String value);
-
-} // LocalEncodingMapping
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMappingList.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMappingList.java
deleted file mode 100644
index ba45cdf5d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LocalEncodingMappingList.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Local Encoding Mapping List</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList#getLocalEncodingMappings <em>Local Encoding Mappings</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getLocalEncodingMappingList()
- * @model
- * @generated
- */
-public interface LocalEncodingMappingList extends J2EEEObject {
- /**
- * Returns the value of the '<em><b>Local Encoding Mappings</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Local Encoding Mappings</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>Local Encoding Mappings</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getLocalEncodingMappingList_LocalEncodingMappings()
- * @model type="org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping" containment="true" required="true"
- * @generated
- */
- EList getLocalEncodingMappings();
-
-} // LocalEncodingMappingList
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LoginConfig.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LoginConfig.java
deleted file mode 100644
index 31677e675..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/LoginConfig.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-
-/**
- * The login-config element is used to configure the authentication method that should be used, the realm name that should be used for this application, and the attributes that are needed by the form login
- * mechanism.
- * @generated
- */
-public interface LoginConfig extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the AuthMethod attribute
- * The auth-method element is used to configure the authentication mechanism for
- * the web application. As a prerequisite to gaining access to any web resources
- * which are protected by an authorization constraint, a user must have
- * authenticated using the configured mechanism. Legal values for this element are
- * "BASIC", "DIGEST", "FORM", or "CLIENT-CERT".
- */
- AuthMethodKind getAuthMethod();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.LoginConfig#getAuthMethod <em>Auth Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Auth Method</em>' attribute.
- * @see org.eclipse.jst.j2ee.webapplication.AuthMethodKind
- * @see #isSetAuthMethod()
- * @see #unsetAuthMethod()
- * @see #getAuthMethod()
- * @generated
- */
- void setAuthMethod(AuthMethodKind value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.j2ee.webapplication.LoginConfig#getAuthMethod <em>Auth Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetAuthMethod()
- * @see #getAuthMethod()
- * @see #setAuthMethod(AuthMethodKind)
- * @generated
- */
- void unsetAuthMethod();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.j2ee.webapplication.LoginConfig#getAuthMethod <em>Auth Method</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Auth Method</em>' attribute is set.
- * @see #unsetAuthMethod()
- * @see #getAuthMethod()
- * @see #setAuthMethod(AuthMethodKind)
- * @generated
- */
- boolean isSetAuthMethod();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the RealmName attribute
- * The realm name element specifies the realm name to use in HTTP Basic
- * authorization
- */
- String getRealmName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the RealmName attribute
- */
- void setRealmName(String value);
-
- /**
- * Returns the value of the '<em><b>Authorization Method</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Authorization Method</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Authorization Method</em>' attribute.
- * @see #setAuthorizationMethod(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getLoginConfig_AuthorizationMethod()
- * @model
- * @generated
- */
- String getAuthorizationMethod();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.LoginConfig#getAuthorizationMethod <em>Authorization Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Authorization Method</em>' attribute.
- * @see #getAuthorizationMethod()
- * @generated
- */
- void setAuthorizationMethod(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The FormLoginConfig reference
- */
- FormLoginConfig getFormLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param l The new value of the FormLoginConfig reference
- */
- void setFormLoginConfig(FormLoginConfig value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/MimeMapping.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/MimeMapping.java
deleted file mode 100644
index fa7211087..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/MimeMapping.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The mime-mapping element defines a mapping between an extension and a mime type.
- * @generated
- * @since 1.0
- */
-public interface MimeMapping extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Extension attribute
- * The extension element contains a string describing an extension. example: "txt"
- */
- String getExtension();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Extension attribute
- */
- void setExtension(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the MimeType attribute
- * The mime-type element contains a defined mime type. example: "text//plain"
- */
- String getMimeType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the MimeType attribute
- */
- void setMimeType(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ResAuthServletType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ResAuthServletType.java
deleted file mode 100644
index fa11b7e33..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ResAuthServletType.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-
-/**
- *@since 1.0
- */
-public final class ResAuthServletType extends AbstractEnumerator{
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int CONTAINER = 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int SERVLET = 1;
- /**
- * The '<em><b>CONTAINER</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CONTAINER</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CONTAINER
- * @generated
- * @ordered
- */
- public static final ResAuthServletType CONTAINER_LITERAL = new ResAuthServletType(CONTAINER, "CONTAINER", "CONTAINER");//$NON-NLS-1$
-
- /**
- * The '<em><b>SERVLET</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>SERVLET</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #SERVLET
- * @generated
- * @ordered
- */
- public static final ResAuthServletType SERVLET_LITERAL = new ResAuthServletType(SERVLET, "SERVLET", "SERVLET");//$NON-NLS-1$
-
- /**
- * An array of all the '<em><b>Res Auth Servlet Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final ResAuthServletType[] VALUES_ARRAY =
- new ResAuthServletType[] {
- CONTAINER_LITERAL,
- SERVLET_LITERAL,
- };
-
- /**
- * A public read-only list of all the '<em><b>Res Auth Servlet Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Res Auth Servlet Type</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * @param name passes literal name
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static ResAuthServletType get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- ResAuthServletType result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Res Auth Servlet Type</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ResAuthServletType getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- ResAuthServletType result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Res Auth Servlet Type</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * @param value passes literal value
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static ResAuthServletType get(int value) {
- switch (value) {
- case CONTAINER: return CONTAINER_LITERAL;
- case SERVLET: return SERVLET_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ResAuthServletType(int value, String name, String literal) {
- super(value, name, literal);
- }
-
-} //ResAuthServletType
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/RoleNameType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/RoleNameType.java
deleted file mode 100644
index 8754df7ac..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/RoleNameType.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * @generated
- * @since 1.0
- */
-public interface RoleNameType extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the RoleName attribute
- */
- String getRoleName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the RoleName attribute
- */
- void setRoleName(String value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SecurityConstraint.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SecurityConstraint.java
deleted file mode 100644
index 39b37b631..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SecurityConstraint.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The security-constraint element is used to associate security constraints with one or more web resource collections
- * @generated
- * @since 1.0
- */
-public interface SecurityConstraint extends J2EEEObject {
- /**
- * Returns the value of the '<em><b>Display Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Display Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4 deprecated, becomes displayNames
- * <!-- end-model-doc -->
- * @return the value of the '<em>Display Name</em>' attribute.
- * @see #setDisplayName(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getSecurityConstraint_DisplayName()
- * @model
- * @generated
- */
- String getDisplayName();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.SecurityConstraint#getDisplayName <em>Display Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Display Name</em>' attribute.
- * @see #getDisplayName()
- * @generated
- */
- void setDisplayName(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of WebResourceCollections references
- */
- EList getWebResourceCollections();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The AuthConstraint reference
- */
- AuthConstraint getAuthConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the AuthConstraint reference
- */
- void setAuthConstraint(AuthConstraint value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The UserDataConstraint reference
- */
- UserDataConstraint getUserDataConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the UserDataConstraint reference
- */
- void setUserDataConstraint(UserDataConstraint value);
-
- /**
- * Returns the value of the '<em><b>Display Names</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.DisplayName}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Display Names</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>Display Names</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getSecurityConstraint_DisplayNames()
- * @model type="org.eclipse.jst.j2ee.common.DisplayName" containment="true"
- * @generated
- */
- EList getDisplayNames();
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Servlet.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Servlet.java
deleted file mode 100644
index 8c43cd520..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/Servlet.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import java.util.List;
-import java.util.Properties;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-import org.eclipse.jst.j2ee.common.RunAsSpecifiedIdentity;
-
-/**
- * The servlet element contains the declarative data of a servlet. If a jsp-file is specified and the load-on-startup element is present, then the JSP should be precompiled and loaded.
- * @since 1.0
- */
-public interface Servlet extends CompatibilityDescriptionGroup{
-
-
- /**
- * Returns an unmodifiable list of the mappings that this
- * servlet participates in. Since servletMappings is not
- * a bi-directional attribute, if you want to add or delete a
- * mapping, this must be done in the web-app.
- * @return java.util.List
- */
- public List getMappings();
-
- /**
- * Gets the Servlet parameters in java.util.Properties
- * @return java.util.Properties
- */
- public Properties getParamsAsProperties() ;
- /**
- * Fix the role-link on any contained role refs
- * @param existingRoleName existing role name
- * @param newRoleName new role name
- */
- public void reSyncSecurityRoleRef(String existingRoleName, String newRoleName);
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ServletName attribute
- * The servlet-name element contains the canonical name of the servlet.
- */
- String getServletName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ServletName attribute
- */
- void setServletName(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the LoadOnStartup attribute
- * The load-on-startup element indicates that this servlet should be loaded on the
- * startup of the web application. The optional contents of these element must be
- * a positive integer indicating the order in which the servlet should be loaded.
- * Lower integers are loaded before higher integers. If no value is specified, or
- * if the value specified is not a positive integer, the container is free to load
- * it at any time in the startup sequence.
-
- */
- Integer getLoadOnStartup();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.Servlet#getLoadOnStartup <em>Load On Startup</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Load On Startup</em>' attribute.
- * @see #isSetLoadOnStartup()
- * @see #unsetLoadOnStartup()
- * @see #getLoadOnStartup()
- * @generated
- */
- void setLoadOnStartup(Integer value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.j2ee.webapplication.Servlet#getLoadOnStartup <em>Load On Startup</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetLoadOnStartup()
- * @see #getLoadOnStartup()
- * @see #setLoadOnStartup(Integer)
- * @generated
- */
- void unsetLoadOnStartup();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.j2ee.webapplication.Servlet#getLoadOnStartup <em>Load On Startup</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Load On Startup</em>' attribute is set.
- * @see #unsetLoadOnStartup()
- * @see #getLoadOnStartup()
- * @see #setLoadOnStartup(Integer)
- * @generated
- */
- boolean isSetLoadOnStartup();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebType reference
- */
- WebType getWebType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebType reference
- */
- void setWebType(WebType value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Params references
- */
- EList getParams();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of SecurityRoleRefs references
- */
- EList getSecurityRoleRefs();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The RunAs reference
- * If defined for a servlet, overrides the security identity used to call an EJB
- * by that servlet in this web application. The role-name is one of the security
- * roles already defined for this web application.
- */
- RunAsSpecifiedIdentity getRunAs();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the RunAs reference
- */
- void setRunAs(RunAsSpecifiedIdentity value);
-
- /**
- * Returns the value of the '<em><b>Init Params</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.ParamValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Init Params</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>Init Params</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getServlet_InitParams()
- * @model type="org.eclipse.jst.j2ee.common.ParamValue" containment="true"
- * @generated
- */
- EList getInitParams();
-
- /**
- * return the java servlet class associated with this servlet
- * @return reference to JavaClass
- */
- public JavaClass getServletClass();
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletMapping.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletMapping.java
deleted file mode 100644
index 2b96ad8a3..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletMapping.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The servlet-mapping element defines a mapping between a servlet and a url pattern
- * @since 1.0
- * @generated
- */
-public interface ServletMapping extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the UrlPattern attribute
- * The url-pattern element contains the url pattern of the mapping. Must follow
- * the rules specified in Section 10 of the Servlet API Specification.
- */
- String getUrlPattern();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the UrlPattern attribute
- */
- void setUrlPattern(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 -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * The servlet-name element contains the canonical name of the
- * servlet. Each servlet name is unique within the web
- * application.
- * <!-- end-model-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getServletMapping_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.ServletMapping#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);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The Servlet reference
- */
- Servlet getServlet();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Servlet reference
- */
- void setServlet(Servlet value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletType.java
deleted file mode 100644
index 1a634b337..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/ServletType.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-
-/**
- * @generated
- * @since 1.0
- */
-public interface ServletType extends WebType{
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the ClassName attribute
- */
- String getClassName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ClassName attribute
- */
- void setClassName(String value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SessionConfig.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SessionConfig.java
deleted file mode 100644
index 80e9d76a8..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/SessionConfig.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The session-config element defines the session parameters for this web application.
- * @since 1.0
- * @generated
- */
-public interface SessionConfig extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the SessionTimeout attribute
- * The session-timeout element defines the default session timeout interval for
- * all sessions created in this web application. The specified timeout must be
- * expressed in a whole number of minutes.
- */
- int getSessionTimeout();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the SessionTimeout attribute
- */
- void setSessionTimeout(int value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.j2ee.webapplication.SessionConfig#getSessionTimeout <em>Session Timeout</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetSessionTimeout()
- * @see #getSessionTimeout()
- * @see #setSessionTimeout(int)
- * @generated
- */
- void unsetSessionTimeout();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.j2ee.webapplication.SessionConfig#getSessionTimeout <em>Session Timeout</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Session Timeout</em>' attribute is set.
- * @see #unsetSessionTimeout()
- * @see #getSessionTimeout()
- * @see #setSessionTimeout(int)
- * @generated
- */
- boolean isSetSessionTimeout();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TagLibRef.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TagLibRef.java
deleted file mode 100644
index 5dc2b04ff..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TagLibRef.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The taglib element is used to describe a JSP tag library.
- * @version since J2EE1.4 deprecated, use org.eclipse.jst.j2ee.internal.jsp.TagLibRef
- * @generated
- * @since 1.0
- */
-public interface TagLibRef extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the TaglibURI attribute
- * The taglib-uri element describes a URI, relative to the location of the web.xml
- * document, identifying a Tag Library used in the Web Application.
- */
- String getTaglibURI();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the TaglibURI attribute
- */
- void setTaglibURI(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the TaglibLocation attribute
- * The taglib-location element contains the location (as a resource relative to
- * the root of the web application) where to find the Tag Libary Description file
- * for the tag library.
- */
- String getTaglibLocation();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the TaglibLocation attribute
- */
- void setTaglibLocation(String value);
-
- /**
- * Returns the value of the '<em><b>Web App</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getTagLibs <em>Tag Libs</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Web App</em>' container 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>' container reference.
- * @see #setWebApp(WebApp)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getTagLibRef_WebApp()
- * @see org.eclipse.jst.j2ee.webapplication.WebApp#getTagLibs
- * @model opposite="tagLibs"
- * @generated
- */
- WebApp getWebApp();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.TagLibRef#getWebApp <em>Web App</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Web App</em>' container reference.
- * @see #getWebApp()
- * @generated
- */
- void setWebApp(WebApp value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TransportGuaranteeType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TransportGuaranteeType.java
deleted file mode 100644
index 3c8e83326..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/TransportGuaranteeType.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-
-
-/**
- *@since 1.0
- */
-
-public final class TransportGuaranteeType extends AbstractEnumerator{
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int NONE = 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int INTEGRAL = 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static final int CONFIDENTIAL = 2;
- /**
- * The '<em><b>NONE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>NONE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #NONE
- * @generated
- * @ordered
- */
- public static final TransportGuaranteeType NONE_LITERAL = new TransportGuaranteeType(NONE, "NONE", "NONE");//$NON-NLS-1$
-
- /**
- * The '<em><b>INTEGRAL</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>INTEGRAL</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #INTEGRAL
- * @generated
- * @ordered
- */
- public static final TransportGuaranteeType INTEGRAL_LITERAL = new TransportGuaranteeType(INTEGRAL, "INTEGRAL", "INTEGRAL");//$NON-NLS-1$
-
- /**
- * The '<em><b>CONFIDENTIAL</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>CONFIDENTIAL</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #CONFIDENTIAL
- * @generated
- * @ordered
- */
- public static final TransportGuaranteeType CONFIDENTIAL_LITERAL = new TransportGuaranteeType(CONFIDENTIAL, "CONFIDENTIAL", "CONFIDENTIAL");//$NON-NLS-1$
-
- /**
- * An array of all the '<em><b>Transport Guarantee Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final TransportGuaranteeType[] VALUES_ARRAY =
- new TransportGuaranteeType[] {
- NONE_LITERAL,
- INTEGRAL_LITERAL,
- CONFIDENTIAL_LITERAL,
- };
-
- /**
- * A public read-only list of all the '<em><b>Transport Guarantee Type</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Transport Guarantee Type</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * @param name passes literal name
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static TransportGuaranteeType get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- TransportGuaranteeType result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Transport Guarantee Type</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static TransportGuaranteeType getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- TransportGuaranteeType result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Transport Guarantee Type</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * @param value passes literal value
- * @return literal instance
- * <!-- end-user-doc -->
- * @generated
- */
- public static TransportGuaranteeType get(int value) {
- switch (value) {
- case NONE: return NONE_LITERAL;
- case INTEGRAL: return INTEGRAL_LITERAL;
- case CONFIDENTIAL: return CONFIDENTIAL_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private TransportGuaranteeType(int value, String name, String literal) {
- super(value, name, literal);
- }
-
-} //TransportGuaranteeType
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/URLPatternType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/URLPatternType.java
deleted file mode 100644
index 058d5b3b9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/URLPatternType.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * <!-- begin-user-doc -->
- * @deprecated since 4/25/2003 use list on {@link org.eclipse.jst.j2ee.internal.webapplication.WebResourceCollection}
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.URLPatternType#getUrlPattern <em>Url Pattern</em>}</li>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.URLPatternType#getResCollection <em>Res Collection</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getURLPatternType()
- * @model
- * @generated
- */
-public interface URLPatternType extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the UrlPattern attribute
- */
- String getUrlPattern();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the UrlPattern attribute
- */
- void setUrlPattern(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The ResCollection reference
- */
- WebResourceCollection getResCollection();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the ResCollection reference
- */
- void setResCollection(WebResourceCollection value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/UserDataConstraint.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/UserDataConstraint.java
deleted file mode 100644
index 845ba8fc7..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/UserDataConstraint.java
+++ /dev/null
@@ -1,131 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-
-/**
- * The user-data-constraint element is used to indicate how data communicated between the client and container should be protected
- * @since 1.0
- * @generated
- */
-public interface UserDataConstraint extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Description attribute
- * A description for the user data constraint.
- */
- String getDescription();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Description attribute
- */
- void setDescription(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the TransportGuarantee attribute
- * The transport-guarantee element specifies that the communication between client
- * and server should be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the
- * application does not require any
- * transport guarantees. A value of INTEGRAL means that the application requires
- * that the data sent between the client and server be sent in such a way that it
- * can't be changed in transit. CONFIDENTIAL means that the application requires
- * that the data be transmitted in a fashion that prevents other entities from
- * observing the contents of the transmission. In most cases, the presence of the
- * INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required.
- */
- TransportGuaranteeType getTransportGuarantee();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.UserDataConstraint#getTransportGuarantee <em>Transport Guarantee</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Transport Guarantee</em>' attribute.
- * @see org.eclipse.jst.j2ee.webapplication.TransportGuaranteeType
- * @see #isSetTransportGuarantee()
- * @see #unsetTransportGuarantee()
- * @see #getTransportGuarantee()
- * @generated
- */
- void setTransportGuarantee(TransportGuaranteeType value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.j2ee.webapplication.UserDataConstraint#getTransportGuarantee <em>Transport Guarantee</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetTransportGuarantee()
- * @see #getTransportGuarantee()
- * @see #setTransportGuarantee(TransportGuaranteeType)
- * @generated
- */
- void unsetTransportGuarantee();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.j2ee.webapplication.UserDataConstraint#getTransportGuarantee <em>Transport Guarantee</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Transport Guarantee</em>' attribute is set.
- * @see #unsetTransportGuarantee()
- * @see #getTransportGuarantee()
- * @see #setTransportGuarantee(TransportGuaranteeType)
- * @generated
- */
- boolean isSetTransportGuarantee();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The SecConstraint reference
- */
- SecurityConstraint getSecConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the SecConstraint reference
- */
- void setSecConstraint(SecurityConstraint value);
-
- /**
- * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Descriptions</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getUserDataConstraint_Descriptions()
- * @model type="org.eclipse.jst.j2ee.common.Description" containment="true"
- * @generated
- */
- EList getDescriptions();
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebApp.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebApp.java
deleted file mode 100644
index b6abae256..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebApp.java
+++ /dev/null
@@ -1,408 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import java.util.List;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.jsp.JSPConfig;
-
-/**
- * The web-app element is the root of the deployment descriptor for
- * a web application.
- * @since 1.0
- */
-public interface WebApp extends JNDIEnvRefsGroup{
-
- /**
- * Returns true if there is a SecurityRole with the name passed
- * @param name name of the SecurityRole
- * @return boolean value
- */
- public boolean containsSecurityRole(String name);
-
- /**
- * Returns an ErrorPage if it has the specified error code
- * @param code the error code
- * @return refernce to ErrorPage
- */
- ErrorPage getErrorPageByCode(Integer code) ;
-
- /**
- * Returns an ErrorPage given an exceptionType
- * @param exceptionType the java Exception Type
- * @return refernce to ErrorPage
- */
- ErrorPage getErrorPageByExceptionType(String exceptionType) ;
- /**
- * Finds a filter mapping for a specified filter.
- * @param aFilter The filter to find the mappings for.
- * @return The filter mapping for the specified filter, or null if no
- * mapping exists for the filter.
- */
-
- FilterMapping getFilterMapping(Filter aFilter);
-
- /**
- * Gets refernce to the instance of Filter which has the specified name
- * @param name the name of the Filter to look for
- * @return refernce to teh Filter
- */
- public Filter getFilterNamed(String name);
- /**
- * Gets the names of the filters defined for this web application.
- * @return A list of filter names (Strings).
- */
-
- List getFilterNames() ;
- /**
- * Returns the mime type for the specified extension
- * @param extension to find the mime type for.
- * @return String value
- */
- String getMimeType(String extension);
-
- /**
- * Returns the SecurityRole with the specified name
- * @param roleName the name of the SecurityRole to be searched for
- * @return reference to the model object SecurityRole
- */
- public SecurityRole getSecurityRoleNamed(String roleName);
-
- /**
- * Finds a servlet mapping for a specified servlet.
- * @param aServlet The servlet to find the mappings for.
- * @return The servlet mapping for the specified servlet, or null if no
- * mapping exists for the servlet.
- */
- ServletMapping getServletMapping(Servlet aServlet);
-
- /**
- * Returns a Servlet with the specified name
- * @param name the name of the Servlet to search for
- * @return reference to the model object Servlet
- */
- public Servlet getServletNamed(String name);
-
- /**
- * Gets the names of the servlets defined for this web application.
- * @return A list of servlet names (Strings).
- */
- List getServletNames() ;
- /**
- * Return boolean indicating if this Web App was populated from an Servlet2.2 compliant descriptor
- * @return boolean
- * @deprecated Use getVersionID() to determine module level
- */
- public boolean isVersion2_2Descriptor();
- /**
- * Return boolean indicating if this Web App was populated from an Servlet2.3 compliant descriptor
- * @return boolean
- * @deprecated Use getVersionID() to determine module level
- */
- public boolean isVersion2_3Descriptor();
- /**
- * Rename the security role if it exists; for each servlet, fix the role-link on any contained role
- * refs
- * @param existingRoleName curent security role name
- * @param newRoleName new security role name
- */
- public void renameSecurityRole(String existingRoleName, String newRoleName);
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Distributable attribute
- * The distributable element, by its presence in a web application deployment
- * descriptor, indicates that this web application is programmed appropriately to
- * be deployed into a distributed servlet container
- */
- boolean isDistributable();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Distributable attribute
- */
- void setDistributable(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.jst.j2ee.webapplication.WebApp#isDistributable <em>Distributable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetDistributable()
- * @see #isDistributable()
- * @see #setDistributable(boolean)
- * @generated
- */
- void unsetDistributable();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.jst.j2ee.webapplication.WebApp#isDistributable <em>Distributable</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Distributable</em>' attribute is set.
- * @see #unsetDistributable()
- * @see #isDistributable()
- * @see #setDistributable(boolean)
- * @generated
- */
- boolean isSetDistributable();
-
- /**
- * Returns the value of the '<em><b>Version</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Version</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Version</em>' attribute.
- * @see #setVersion(String)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebApp_Version()
- * @model
- * @generated
- */
- String getVersion();
-
- /**
- * This returns the module version id. Compare with J2EEVersionConstants to determine module level
- *@throws IllegalStateException the exception is thrown if a problem is encountered in finding the
- *module version. *
- * @return the module version id represented in the int e.g. 22, 23, 24
- */
- public int getVersionID() throws IllegalStateException ;
- /**
- *This returns the j2ee version id. Compare with J2EEVersionConstants to determine j2ee level
- *@throws IllegalStateException the exception is thrown if a problem is encountered in finding the
- *j2ee version.
- *@return the j2ee version represented in the int
- */
- public int getJ2EEVersionID() throws IllegalStateException ;
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getVersion <em>Version</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Version</em>' attribute.
- * @see #getVersion()
- * @generated
- */
- void setVersion(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Contexts references
- */
- EList getContexts();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of ErrorPages references
- */
- EList getErrorPages();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The FileList reference
- */
- WelcomeFileList getFileList();
-
- /**
- * @deprecated : Use getEnvironmentProperties()
- * @return reference to EList
- */
- EList getEnvEntries();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the FileList reference
- */
- void setFileList(WelcomeFileList value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of TagLibs references
- */
- EList getTagLibs();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Constraints references
- */
- EList getConstraints();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The LoginConfig reference
- */
- LoginConfig getLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the LoginConfig reference
- */
- void setLoginConfig(LoginConfig value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of MimeMappings references
- */
- EList getMimeMappings();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The SessionConfig reference
- */
- SessionConfig getSessionConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the SessionConfig reference
- */
- void setSessionConfig(SessionConfig value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of ServletMappings references
- */
- EList getServletMappings();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Servlets references
- */
- EList getServlets();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of SecurityRoles references
- */
- EList getSecurityRoles();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Filters references
- */
- EList getFilters();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of FilterMappings references
- * Filter mappings defined for the web app
- */
- EList getFilterMappings();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of Listeners references
- * The listeners collection contains deployment properties for a web application
- * listener beans in the web app.
- */
- EList getListeners();
-
- /**
- * Returns the value of the '<em><b>Context Params</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.ParamValue}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Context Params</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>Context Params</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebApp_ContextParams()
- * @model type="org.eclipse.jst.j2ee.common.ParamValue" containment="true"
- * @generated
- */
- EList getContextParams();
-
- /**
- * Returns the value of the '<em><b>Jsp Config</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Jsp Config</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Jsp Config</em>' containment reference.
- * @see #setJspConfig(JSPConfig)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebApp_JspConfig()
- * @model containment="true"
- * @generated
- */
- JSPConfig getJspConfig();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getJspConfig <em>Jsp Config</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Jsp Config</em>' containment reference.
- * @see #getJspConfig()
- * @generated
- */
- void setJspConfig(JSPConfig value);
-
- /**
- * Returns the value of the '<em><b>Message Destinations</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.MessageDestination}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Message Destinations</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>Message Destinations</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebApp_MessageDestinations()
- * @model type="org.eclipse.jst.j2ee.common.MessageDestination" containment="true"
- * @generated
- */
- EList getMessageDestinations();
-
- /**
- * Returns the value of the '<em><b>Local Encoding Mapping List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Local Encoding Mapping List</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>Local Encoding Mapping List</em>' containment reference.
- * @see #setLocalEncodingMappingList(LocalEncodingMappingList)
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebApp_LocalEncodingMappingList()
- * @model containment="true"
- * @generated
- */
- LocalEncodingMappingList getLocalEncodingMappingList();
-
- /**
- * Sets the value of the '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getLocalEncodingMappingList <em>Local Encoding Mapping List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Local Encoding Mapping List</em>' containment reference.
- * @see #getLocalEncodingMappingList()
- * @generated
- */
- void setLocalEncodingMappingList(LocalEncodingMappingList value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebAppResource.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebAppResource.java
deleted file mode 100644
index d87771ce2..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebAppResource.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 18, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-
-/**
- * @author schacher
- * @since 1.0
- */
-public interface WebAppResource extends XMLResource {
-
- /**
- * Returns reference to the model object WebApp
- * @return reference to model object WebApp
- */
- WebApp getWebApp();
- /**
- * Return true if this Resource supports the Web 2.2 spec.
- * @return boolean value
- */
- boolean isWeb2_2();
- /**
- * Return true if this Resource supports the Web 2.3 spec.
- * @return boolean value
- */
- boolean isWeb2_3();
- /**
- * Return true if this Resource supports the Web 2.4 spec.
- * @return boolean value
- */
- boolean isWeb2_4();
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebResourceCollection.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebResourceCollection.java
deleted file mode 100644
index 57d56ecc9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebResourceCollection.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * @generated
- * The web-resource-collection element is used to identify a subset of the resources and HTTP methods on those resources within a web application to which a security constraint applies. If no HTTP methods are specified, then the security constraint applies to all HTTP methods.
- * @since 1.0
- */
-public interface WebResourceCollection extends J2EEEObject {
-
- /**
- * Adds instance of HTTPMethodType
- * @param httpMethod name of the httpMethod to add
- */
- public void addHTTP(String httpMethod);
-
- /**
- * Adds instance of URLPatternType
- * @param urlPattern name of the url to add
- */
- public void addURL(String urlPattern);
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the WebResourceName attribute
- * The web-resource-name contains the name of this web resource collection
- */
- String getWebResourceName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebResourceName attribute
- */
- void setWebResourceName(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the Description attribute
- */
- String getDescription();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the Description attribute
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Url Pattern</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Url Pattern</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Url Pattern</em>' attribute list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebResourceCollection_UrlPattern()
- * @model type="java.lang.String" unique="false" required="true"
- * @generated
- */
- EList getUrlPattern();
-
- /**
- * Returns the value of the '<em><b>Http Method</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum}.
- * The literals are from the enumeration {@link org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Http Method</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Http Method</em>' attribute list.
- * @see org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebResourceCollection_HttpMethod()
- * @model type="org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum"
- * @generated
- */
- EList getHttpMethod();
-
- /**
- * @deprecated : Use getHttpMethod();
- * @return List of HttpMethods
- */
- EList getHTTPs();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The SecConstraint reference
- */
-
-
- SecurityConstraint getSecConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the SecConstraint reference
- */
- void setSecConstraint(SecurityConstraint value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of URLs references
- */
- EList getURLs();
-
- /**
- * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * @version J2EE1.4
- * <!-- end-model-doc -->
- * @return the value of the '<em>Descriptions</em>' containment reference list.
- * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getWebResourceCollection_Descriptions()
- * @model type="org.eclipse.jst.j2ee.common.Description" containment="true"
- * @generated
- */
- EList getDescriptions();
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebType.java
deleted file mode 100644
index 1b0b94d32..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebType.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * @generated
- * @since 1.0
- */
-public interface WebType extends J2EEEObject {
-
- /**
- * Returns true if the type denotes a JSP
- * @return boolean value
- */
- public boolean isJspType();
-
- /**
- * Returns true if the type denotes a servlet
- * @return boolean value
- */
- public boolean isServletType();
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationFactory.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationFactory.java
deleted file mode 100644
index a012c9353..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationFactory.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.ecore.EFactory;
-/**
- * @generated
- * @since 1.0
- */
-public interface WebapplicationFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- WebapplicationFactory eINSTANCE = org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationFactoryImpl.init();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebApp value
- */
- WebApp createWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ContextParam value
- */
- ContextParam createContextParam();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ErrorPage value
- */
- ErrorPage createErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ExceptionTypeErrorPage value
- */
- ExceptionTypeErrorPage createExceptionTypeErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ErrorCodeErrorPage value
- */
- ErrorCodeErrorPage createErrorCodeErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WelcomeFileList value
- */
- WelcomeFileList createWelcomeFileList();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WelcomeFile value
- */
- WelcomeFile createWelcomeFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return TagLibRef value
- */
- TagLibRef createTagLibRef();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return SecurityConstraint value
- */
- SecurityConstraint createSecurityConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebResourceCollection value
- */
- WebResourceCollection createWebResourceCollection();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return URLPatternType value
- */
- URLPatternType createURLPatternType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return AuthConstraint value
- */
- AuthConstraint createAuthConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return UserDataConstraint value
- */
- UserDataConstraint createUserDataConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return LoginConfig value
- */
- LoginConfig createLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return FormLoginConfig value
- */
- FormLoginConfig createFormLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return MimeMapping value
- */
- MimeMapping createMimeMapping();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return SessionConfig value
- */
- SessionConfig createSessionConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ServletMapping value
- */
- ServletMapping createServletMapping();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Servlet value
- */
- Servlet createServlet();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ServletType value
- */
- ServletType createServletType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return JSPType value
- */
- JSPType createJSPType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return InitParam value
- */
- InitParam createInitParam();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Filter value
- */
- Filter createFilter();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return FilterMapping value
- */
- FilterMapping createFilterMapping();
-
- /**
- * Returns a new object of class '<em>Local Encoding Mapping List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Local Encoding Mapping List</em>'.
- * @generated
- */
- LocalEncodingMappingList createLocalEncodingMappingList();
-
- /**
- * Returns a new object of class '<em>Local Encoding Mapping</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Local Encoding Mapping</em>'.
- * @generated
- */
- LocalEncodingMapping createLocalEncodingMapping();
-
- /**
- * Returns a new object of class '<em>HTTP Method Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>HTTP Method Type</em>'.
- * @generated
- */
- HTTPMethodType createHTTPMethodType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return RoleNameType value
- */
- RoleNameType createRoleNameType();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * This method is NOT api, and may change in future releases.
- * EMF package classes should be access via their "eINSTANCE" static fields
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- WebapplicationPackage getWebapplicationPackage();
-
-}
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationPackage.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationPackage.java
deleted file mode 100644
index 73ed8a9ab..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WebapplicationPackage.java
+++ /dev/null
@@ -1,3385 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-
-
-/**
- * <p>
- * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
- * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
- * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
- * (repeatedly) as the API evolves.
- * </p>
- * @since 1.0
- */
-public interface WebapplicationPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "webapplication";//$NON-NLS-1$
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP = 0;
- /**
- * The feature id for the '<em><b>Icons</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__ICONS = CommonPackage.JNDI_ENV_REFS_GROUP__ICONS;
-
- /**
- * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__DISPLAY_NAMES = CommonPackage.JNDI_ENV_REFS_GROUP__DISPLAY_NAMES;
-
- /**
- * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__DESCRIPTIONS = CommonPackage.JNDI_ENV_REFS_GROUP__DESCRIPTIONS;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__SMALL_ICON = CommonPackage.JNDI_ENV_REFS_GROUP__SMALL_ICON;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__LARGE_ICON = CommonPackage.JNDI_ENV_REFS_GROUP__LARGE_ICON;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__DESCRIPTION = CommonPackage.JNDI_ENV_REFS_GROUP__DESCRIPTION;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__DISPLAY_NAME = CommonPackage.JNDI_ENV_REFS_GROUP__DISPLAY_NAME;
- /**
- * The feature id for the '<em><b>Environment Properties</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__ENVIRONMENT_PROPERTIES = CommonPackage.JNDI_ENV_REFS_GROUP__ENVIRONMENT_PROPERTIES;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__RESOURCE_REFS = CommonPackage.JNDI_ENV_REFS_GROUP__RESOURCE_REFS;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__EJB_REFS = CommonPackage.JNDI_ENV_REFS_GROUP__EJB_REFS;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__RESOURCE_ENV_REFS = CommonPackage.JNDI_ENV_REFS_GROUP__RESOURCE_ENV_REFS;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__EJB_LOCAL_REFS = CommonPackage.JNDI_ENV_REFS_GROUP__EJB_LOCAL_REFS;
- /**
- * The feature id for the '<em><b>Message Destination Refs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__MESSAGE_DESTINATION_REFS = CommonPackage.JNDI_ENV_REFS_GROUP__MESSAGE_DESTINATION_REFS;
-
- /**
- * The feature id for the '<em><b>Service Refs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__SERVICE_REFS = CommonPackage.JNDI_ENV_REFS_GROUP__SERVICE_REFS;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__DISTRIBUTABLE = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 0;
- /**
- * The feature id for the '<em><b>Version</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__VERSION = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__CONTEXTS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__ERROR_PAGES = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__FILE_LIST = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 4;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__TAG_LIBS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 5;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__CONSTRAINTS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 6;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__LOGIN_CONFIG = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 7;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__MIME_MAPPINGS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 8;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__SESSION_CONFIG = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 9;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__SERVLET_MAPPINGS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 10;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__SERVLETS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 11;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__SECURITY_ROLES = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 12;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__FILTERS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 13;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__FILTER_MAPPINGS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 14;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_APP__LISTENERS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 15;
- /**
- * The feature id for the '<em><b>Context Params</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__CONTEXT_PARAMS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 16;
-
- /**
- * The feature id for the '<em><b>Jsp Config</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__JSP_CONFIG = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 17;
-
- /**
- * The feature id for the '<em><b>Message Destinations</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__MESSAGE_DESTINATIONS = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 18;
-
- /**
- * The feature id for the '<em><b>Local Encoding Mapping List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP__LOCAL_ENCODING_MAPPING_LIST = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 19;
-
- /**
- * The number of structural features of the '<em>Web App</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_APP_FEATURE_COUNT = CommonPackage.JNDI_ENV_REFS_GROUP_FEATURE_COUNT + 20;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTEXT_PARAM = 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTEXT_PARAM__PARAM_NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTEXT_PARAM__PARAM_VALUE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTEXT_PARAM__DESCRIPTION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int CONTEXT_PARAM__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Context Param</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTEXT_PARAM_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_PAGE = 7;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EXCEPTION_TYPE_ERROR_PAGE = 22;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_CODE_ERROR_PAGE = 23;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WELCOME_FILE_LIST = 6;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WELCOME_FILE = 21;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int TAG_LIB_REF = 8;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SECURITY_CONSTRAINT = 9;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_RESOURCE_COLLECTION = 10;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int URL_PATTERN_TYPE = 19;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int HTTP_METHOD_TYPE = 28;
- /**
- * @generated This field/method will be replaced during code generation.
- */
-
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int AUTH_CONSTRAINT = 11;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int USER_DATA_CONSTRAINT = 12;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int LOGIN_CONFIG = 13;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FORM_LOGIN_CONFIG = 14;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MIME_MAPPING = 5;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SESSION_CONFIG = 4;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET_MAPPING = 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET = 2;
- /**
- * The feature id for the '<em><b>Icons</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET__ICONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__ICONS;
-
- /**
- * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET__DISPLAY_NAMES = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DISPLAY_NAMES;
-
- /**
- * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET__DESCRIPTIONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DESCRIPTIONS;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__SMALL_ICON = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__SMALL_ICON;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__LARGE_ICON = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__LARGE_ICON;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__DESCRIPTION = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DESCRIPTION;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__DISPLAY_NAME = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DISPLAY_NAME;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__SERVLET_NAME = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__LOAD_ON_STARTUP = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__WEB_APP = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__WEB_TYPE = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__PARAMS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 4;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__SECURITY_ROLE_REFS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 5;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET__RUN_AS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>Init Params</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET__INIT_PARAMS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 7;
-
- /**
- * The number of structural features of the '<em>Servlet</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET_FEATURE_COUNT = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 8;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET_MAPPING__URL_PATTERN = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET_MAPPING__NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET_MAPPING__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET_MAPPING__SERVLET = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Servlet Mapping</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET_MAPPING_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SESSION_CONFIG__SESSION_TIMEOUT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SESSION_CONFIG__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Session Config</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SESSION_CONFIG_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MIME_MAPPING__EXTENSION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MIME_MAPPING__MIME_TYPE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int MIME_MAPPING__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Mime Mapping</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MIME_MAPPING_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WELCOME_FILE_LIST__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WELCOME_FILE_LIST__FILE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Welcome File List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WELCOME_FILE_LIST_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_PAGE__LOCATION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_PAGE__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Error Page</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ERROR_PAGE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int TAG_LIB_REF__TAGLIB_URI = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int TAG_LIB_REF__TAGLIB_LOCATION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * The feature id for the '<em><b>Web App</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAG_LIB_REF__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Tag Lib Ref</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TAG_LIB_REF_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The feature id for the '<em><b>Display Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SECURITY_CONSTRAINT__DISPLAY_NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SECURITY_CONSTRAINT__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SECURITY_CONSTRAINT__AUTH_CONSTRAINT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SECURITY_CONSTRAINT__DISPLAY_NAMES = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 5;
-
- /**
- * The number of structural features of the '<em>Security Constraint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SECURITY_CONSTRAINT_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 6;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_RESOURCE_COLLECTION__DESCRIPTION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * The feature id for the '<em><b>Url Pattern</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_RESOURCE_COLLECTION__URL_PATTERN = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Http Method</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_RESOURCE_COLLECTION__HTTP_METHOD = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_RESOURCE_COLLECTION__UR_LS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 5;
- /**
- * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_RESOURCE_COLLECTION__DESCRIPTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 6;
-
- /**
- * The feature id for the '<em><b>HTT Ps</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_RESOURCE_COLLECTION__HTT_PS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 7;
-
- /**
- * The number of structural features of the '<em>Web Resource Collection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_RESOURCE_COLLECTION_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 8;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int AUTH_CONSTRAINT__DESCRIPTION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int AUTH_CONSTRAINT__ROLES = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int AUTH_CONSTRAINT__SEC_CONSTRAINT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AUTH_CONSTRAINT__DESCRIPTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Auth Constraint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AUTH_CONSTRAINT_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int USER_DATA_CONSTRAINT__DESCRIPTION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int USER_DATA_CONSTRAINT__SEC_CONSTRAINT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USER_DATA_CONSTRAINT__DESCRIPTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>User Data Constraint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int USER_DATA_CONSTRAINT_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int LOGIN_CONFIG__AUTH_METHOD = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int LOGIN_CONFIG__REALM_NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * The feature id for the '<em><b>Authorization Method</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOGIN_CONFIG__AUTHORIZATION_METHOD = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int LOGIN_CONFIG__WEB_APP = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int LOGIN_CONFIG__FORM_LOGIN_CONFIG = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * The number of structural features of the '<em>Login Config</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOGIN_CONFIG_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 5;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FORM_LOGIN_CONFIG__FORM_ERROR_PAGE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FORM_LOGIN_CONFIG__LOGIN_CONFIG = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Form Login Config</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FORM_LOGIN_CONFIG_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WEB_TYPE = 16;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET_TYPE = 17;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int JSP_TYPE = 18;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int INIT_PARAM = 15;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int INIT_PARAM__PARAM_NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int INIT_PARAM__PARAM_VALUE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int INIT_PARAM__DESCRIPTION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
- /**
- * The number of structural features of the '<em>Init Param</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INIT_PARAM_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Web Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WEB_TYPE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int SERVLET_TYPE__CLASS_NAME = WEB_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Servlet Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SERVLET_TYPE_FEATURE_COUNT = WEB_TYPE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int JSP_TYPE__JSP_FILE = WEB_TYPE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>JSP Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JSP_TYPE_FEATURE_COUNT = WEB_TYPE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int URL_PATTERN_TYPE__URL_PATTERN = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int URL_PATTERN_TYPE__RES_COLLECTION = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>URL Pattern Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int URL_PATTERN_TYPE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER = 25;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER_MAPPING = 24;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ROLE_NAME_TYPE = 20;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ROLE_NAME_TYPE__ROLE_NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Role Name Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ROLE_NAME_TYPE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WELCOME_FILE__WELCOME_FILE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int WELCOME_FILE__FILE_LIST = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Welcome File</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int WELCOME_FILE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EXCEPTION_TYPE_ERROR_PAGE__LOCATION = ERROR_PAGE__LOCATION;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EXCEPTION_TYPE_ERROR_PAGE__WEB_APP = ERROR_PAGE__WEB_APP;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE = ERROR_PAGE_FEATURE_COUNT + 0;
- /**
- * The number of structural features of the '<em>Exception Type Error Page</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXCEPTION_TYPE_ERROR_PAGE_FEATURE_COUNT = ERROR_PAGE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_CODE_ERROR_PAGE__LOCATION = ERROR_PAGE__LOCATION;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_CODE_ERROR_PAGE__WEB_APP = ERROR_PAGE__WEB_APP;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int ERROR_CODE_ERROR_PAGE__ERROR_CODE = ERROR_PAGE_FEATURE_COUNT + 0;
- /**
- * The number of structural features of the '<em>Error Code Error Page</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ERROR_CODE_ERROR_PAGE_FEATURE_COUNT = ERROR_PAGE_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER_MAPPING__URL_PATTERN = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
- /**
- * The feature id for the '<em><b>Dispatcher Type</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER_MAPPING__DISPATCHER_TYPE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER_MAPPING__FILTER = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER_MAPPING__SERVLET = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Filter Mapping</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER_MAPPING_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4;
-
- /**
- * The feature id for the '<em><b>Icons</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER__ICONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__ICONS;
-
- /**
- * The feature id for the '<em><b>Display Names</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER__DISPLAY_NAMES = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DISPLAY_NAMES;
-
- /**
- * The feature id for the '<em><b>Descriptions</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER__DESCRIPTIONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DESCRIPTIONS;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__SMALL_ICON = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__SMALL_ICON;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__LARGE_ICON = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__LARGE_ICON;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__DESCRIPTION = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DESCRIPTION;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__DISPLAY_NAME = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DISPLAY_NAME;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__NAME = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 0;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__INIT_PARAMS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 1;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int FILTER__FILTER_CLASS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Init Param Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER__INIT_PARAM_VALUES = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Filter</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int FILTER_FEATURE_COUNT = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingListImpl <em>Local Encoding Mapping List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingListImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getLocalEncodingMappingList()
- * @generated
- */
- int LOCAL_ENCODING_MAPPING_LIST = 26;
-
- /**
- * The feature id for the '<em><b>Local Encoding Mappings</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Local Encoding Mapping List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOCAL_ENCODING_MAPPING_LIST_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingImpl <em>Local Encoding Mapping</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getLocalEncodingMapping()
- * @generated
- */
- int LOCAL_ENCODING_MAPPING = 27;
-
- /**
- * The feature id for the '<em><b>Locale</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOCAL_ENCODING_MAPPING__LOCALE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Encoding</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOCAL_ENCODING_MAPPING__ENCODING = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Local Encoding Mapping</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LOCAL_ENCODING_MAPPING_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Http Method</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_METHOD_TYPE__HTTP_METHOD = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>HTTP Method Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int HTTP_METHOD_TYPE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.jst.j2ee.webapplication.ResAuthServletType <em>Res Auth Servlet Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.ResAuthServletType
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getResAuthServletType()
- * @generated
- */
- int RES_AUTH_SERVLET_TYPE = 29;
-
- /**
- * The meta object id for the '{@link org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum <em>HTTP Method Type Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getHTTPMethodTypeEnum()
- * @generated
- */
- int HTTP_METHOD_TYPE_ENUM = 30;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- int TRANSPORT_GUARANTEE_TYPE = 31;
- /**
- * The meta object id for the '{@link org.eclipse.jst.j2ee.webapplication.DispatcherType <em>Dispatcher Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.DispatcherType
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getDispatcherType()
- * @generated
- */
- int DISPATCHER_TYPE = 32;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.jst.j2ee.webapplication.AuthMethodKind <em>Auth Method Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.AuthMethodKind
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getAuthMethodKind()
- * @generated
- */
- int AUTH_METHOD_KIND = 33;
-
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- String eNS_URI = "webapplication.xmi";//$NON-NLS-1$
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "org.eclipse.jst.j2ee.webapplication";//$NON-NLS-1$
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- WebapplicationPackage eINSTANCE = org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl.init();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebApp object
- */
- EClass getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EAttribute getWebApp_Distributable();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getVersion <em>Version</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Version</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebApp#getVersion()
- * @see #getWebApp()
- * @generated
- */
- EAttribute getWebApp_Version();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_Contexts();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_ErrorPages();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_FileList();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_TagLibs();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_Constraints();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_LoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_MimeMappings();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_SessionConfig();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_ServletMappings();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_Servlets();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_SecurityRoles();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_Filters();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_FilterMappings();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return
- */
- EReference getWebApp_Listeners();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getContextParams <em>Context Params</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Context Params</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebApp#getContextParams()
- * @see #getWebApp()
- * @generated
- */
- EReference getWebApp_ContextParams();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getJspConfig <em>Jsp Config</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Jsp Config</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebApp#getJspConfig()
- * @see #getWebApp()
- * @generated
- */
- EReference getWebApp_JspConfig();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getMessageDestinations <em>Message Destinations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Message Destinations</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebApp#getMessageDestinations()
- * @see #getWebApp()
- * @generated
- */
- EReference getWebApp_MessageDestinations();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.jst.j2ee.webapplication.WebApp#getLocalEncodingMappingList <em>Local Encoding Mapping List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Local Encoding Mapping List</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebApp#getLocalEncodingMappingList()
- * @see #getWebApp()
- * @generated
- */
- EReference getWebApp_LocalEncodingMappingList();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ContextParam object
- */
- EClass getContextParam();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return Name
- */
- EAttribute getContextParam_ParamName();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return Value
- */
- EAttribute getContextParam_ParamValue();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return Description
- */
- EAttribute getContextParam_Description();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return WebApp
- */
- EReference getContextParam_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ErrorPage object
- */
- EClass getErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return Location
- */
- EAttribute getErrorPage_Location();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return WebApp
- */
- EReference getErrorPage_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ExceptionTypeErrorPage object
- */
- EClass getExceptionTypeErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getExceptionTypeErrorPage_ExceptionType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ErrorCodeErrorPage object
- */
- /**
- * @return ErrorCodeErrorPage object
- */
- EClass getErrorCodeErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return ErrorCode
- */
- EAttribute getErrorCodeErrorPage_ErrorCode();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WelcomeFileList object
- */
- EClass getWelcomeFileList();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getWelcomeFileList_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getWelcomeFileList_File();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WelcomeFile object
- */
- EClass getWelcomeFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getWelcomeFile_WelcomeFile();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getWelcomeFile_FileList();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return TagLibRef object
- */
- EClass getTagLibRef();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getTagLibRef_TaglibURI();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getTagLibRef_TaglibLocation();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.jst.j2ee.webapplication.TagLibRef#getWebApp <em>Web App</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Web App</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.TagLibRef#getWebApp()
- * @see #getTagLibRef()
- * @generated
- */
- EReference getTagLibRef_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return SecurityConstraint object
- */
- EClass getSecurityConstraint();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.SecurityConstraint#getDisplayName <em>Display Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Display Name</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.SecurityConstraint#getDisplayName()
- * @see #getSecurityConstraint()
- * @generated
- */
- EAttribute getSecurityConstraint_DisplayName();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getSecurityConstraint_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getSecurityConstraint_WebResourceCollections();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getSecurityConstraint_AuthConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getSecurityConstraint_UserDataConstraint();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.SecurityConstraint#getDisplayNames <em>Display Names</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Display Names</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.SecurityConstraint#getDisplayNames()
- * @see #getSecurityConstraint()
- * @generated
- */
- EReference getSecurityConstraint_DisplayNames();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebResourceCollection object
- */
- EClass getWebResourceCollection();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getWebResourceCollection_WebResourceName();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getWebResourceCollection_Description();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getUrlPattern <em>Url Pattern</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Url Pattern</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getUrlPattern()
- * @see #getWebResourceCollection()
- * @generated
- */
- EAttribute getWebResourceCollection_UrlPattern();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getHttpMethod <em>Http Method</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Http Method</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getHttpMethod()
- * @see #getWebResourceCollection()
- * @generated
- */
- EAttribute getWebResourceCollection_HttpMethod();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getWebResourceCollection_SecConstraint();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getURLs <em>UR Ls</em>}'.
- * <!-- begin-user-doc -->
- * @deprecated since 4/25/2003 use {@link #getWebResourceCollection_UrlPattern()}
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>UR Ls</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getURLs()
- * @see #getWebResourceCollection()
- * @generated
- */
- EReference getWebResourceCollection_URLs();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getDescriptions <em>Descriptions</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Descriptions</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getDescriptions()
- * @see #getWebResourceCollection()
- * @generated
- */
- EReference getWebResourceCollection_Descriptions();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getHTTPs <em>HTT Ps</em>}'.
- * <!-- begin-user-doc -->
- * @deprecated since 4/25/2003 use {@link #getWebResourceCollection_HttpMethod()}
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>HTT Ps</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.WebResourceCollection#getHTTPs()
- * @see #getWebResourceCollection()
- * @generated
- */
- EReference getWebResourceCollection_HTTPs();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return URLPatternType object
- */
- EClass getURLPatternType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getURLPatternType_UrlPattern();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getURLPatternType_ResCollection();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return HTTPMethodType object
- */
- EClass getHTTPMethodType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.HTTPMethodType#getHttpMethod <em>Http Method</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Http Method</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.HTTPMethodType#getHttpMethod()
- * @see #getHTTPMethodType()
- * @generated
- */
- EAttribute getHTTPMethodType_HttpMethod();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return AuthConstraint object
- */
- EClass getAuthConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return Description
- */
- EAttribute getAuthConstraint_Description();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return Roles
- */
- EAttribute getAuthConstraint_Roles();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @return SecConstraint object
- */
- EReference getAuthConstraint_SecConstraint();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.AuthConstraint#getDescriptions <em>Descriptions</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Descriptions</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.AuthConstraint#getDescriptions()
- * @see #getAuthConstraint()
- * @generated
- */
- EReference getAuthConstraint_Descriptions();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return UserDataConstraint object
- */
- EClass getUserDataConstraint();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getUserDataConstraint_Description();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getUserDataConstraint_TransportGuarantee();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getUserDataConstraint_SecConstraint();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.UserDataConstraint#getDescriptions <em>Descriptions</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Descriptions</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.UserDataConstraint#getDescriptions()
- * @see #getUserDataConstraint()
- * @generated
- */
- EReference getUserDataConstraint_Descriptions();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return LoginConfig object
- */
- EClass getLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getLoginConfig_AuthMethod();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getLoginConfig_RealmName();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.LoginConfig#getAuthorizationMethod <em>Authorization Method</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Authorization Method</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.LoginConfig#getAuthorizationMethod()
- * @see #getLoginConfig()
- * @generated
- */
- EAttribute getLoginConfig_AuthorizationMethod();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getLoginConfig_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getLoginConfig_FormLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return FormLoginConfig object
- */
- EClass getFormLoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFormLoginConfig_FormLoginPage();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFormLoginConfig_FormErrorPage();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFormLoginConfig_LoginConfig();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return MimeMapping object
- */
- EClass getMimeMapping();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getMimeMapping_Extension();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getMimeMapping_MimeType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getMimeMapping_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return SessionConfig object
- */
- EClass getSessionConfig();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getSessionConfig_SessionTimeout();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getSessionConfig_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ServletMapping object
- */
- EClass getServletMapping();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getServletMapping_UrlPattern();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.ServletMapping#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.ServletMapping#getName()
- * @see #getServletMapping()
- * @generated
- */
- EAttribute getServletMapping_Name();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServletMapping_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServletMapping_Servlet();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Servlet object
- */
- EClass getServlet();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getServlet_ServletName();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getServlet_LoadOnStartup();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServlet_WebApp();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServlet_WebType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServlet_Params();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServlet_SecurityRoleRefs();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getServlet_RunAs();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.Servlet#getInitParams <em>Init Params</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Init Params</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.Servlet#getInitParams()
- * @see #getServlet()
- * @generated
- */
- EReference getServlet_InitParams();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return WebType object
- */
- EClass getWebType();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return ServletType object
- */
- EClass getServletType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getServletType_ClassName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return JSPType object
- */
- EClass getJSPType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getJSPType_JspFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return InitParam object
- */
- EClass getInitParam();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getInitParam_ParamName();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getInitParam_ParamValue();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getInitParam_Description();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return Filter object
- */
- EClass getFilter();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFilter_Name();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFilter_InitParams();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFilter_FilterClass();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.Filter#getInitParamValues <em>Init Param Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Init Param Values</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.Filter#getInitParamValues()
- * @see #getFilter()
- * @generated
- */
- EReference getFilter_InitParamValues();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return FilterMapping object
- */
- EClass getFilterMapping();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getFilterMapping_UrlPattern();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.jst.j2ee.webapplication.FilterMapping#getDispatcherType <em>Dispatcher Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Dispatcher Type</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.FilterMapping#getDispatcherType()
- * @see #getFilterMapping()
- * @generated
- */
- EAttribute getFilterMapping_DispatcherType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFilterMapping_Filter();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EReference getFilterMapping_Servlet();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList <em>Local Encoding Mapping List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Local Encoding Mapping List</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList
- * @generated
- */
- EClass getLocalEncodingMappingList();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList#getLocalEncodingMappings <em>Local Encoding Mappings</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Local Encoding Mappings</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList#getLocalEncodingMappings()
- * @see #getLocalEncodingMappingList()
- * @generated
- */
- EReference getLocalEncodingMappingList_LocalEncodingMappings();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping <em>Local Encoding Mapping</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Local Encoding Mapping</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping
- * @generated
- */
- EClass getLocalEncodingMapping();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getLocale <em>Locale</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Locale</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getLocale()
- * @see #getLocalEncodingMapping()
- * @generated
- */
- EAttribute getLocalEncodingMapping_Locale();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getEncoding <em>Encoding</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Encoding</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping#getEncoding()
- * @see #getLocalEncodingMapping()
- * @generated
- */
- EAttribute getLocalEncodingMapping_Encoding();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.jst.j2ee.webapplication.ResAuthServletType <em>Res Auth Servlet Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Res Auth Servlet Type</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.ResAuthServletType
- * @generated
- */
- EEnum getResAuthServletType();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum <em>HTTP Method Type Enum</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>HTTP Method Type Enum</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum
- * @generated
- */
- EEnum getHTTPMethodTypeEnum();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return RoleNameType object
- */
- EClass getRoleNameType();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- EAttribute getRoleNameType_RoleName();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return TransportGuaranteeType object
- */
- EEnum getTransportGuaranteeType();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.jst.j2ee.webapplication.DispatcherType <em>Dispatcher Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Dispatcher Type</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.DispatcherType
- * @generated
- */
- EEnum getDispatcherType();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.jst.j2ee.webapplication.AuthMethodKind <em>Auth Method Kind</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Auth Method Kind</em>'.
- * @see org.eclipse.jst.j2ee.webapplication.AuthMethodKind
- * @generated
- */
- EEnum getAuthMethodKind();
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- WebapplicationFactory getWebapplicationFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.WebAppImpl <em>Web App</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebAppImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getWebApp()
- * @generated
- */
- EClass WEB_APP = eINSTANCE.getWebApp();
-
- /**
- * The meta object literal for the '<em><b>Distributable</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WEB_APP__DISTRIBUTABLE = eINSTANCE.getWebApp_Distributable();
-
- /**
- * The meta object literal for the '<em><b>Version</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WEB_APP__VERSION = eINSTANCE.getWebApp_Version();
-
- /**
- * The meta object literal for the '<em><b>Contexts</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__CONTEXTS = eINSTANCE.getWebApp_Contexts();
-
- /**
- * The meta object literal for the '<em><b>Error Pages</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__ERROR_PAGES = eINSTANCE.getWebApp_ErrorPages();
-
- /**
- * The meta object literal for the '<em><b>File List</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__FILE_LIST = eINSTANCE.getWebApp_FileList();
-
- /**
- * The meta object literal for the '<em><b>Tag Libs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__TAG_LIBS = eINSTANCE.getWebApp_TagLibs();
-
- /**
- * The meta object literal for the '<em><b>Constraints</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__CONSTRAINTS = eINSTANCE.getWebApp_Constraints();
-
- /**
- * The meta object literal for the '<em><b>Login Config</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__LOGIN_CONFIG = eINSTANCE.getWebApp_LoginConfig();
-
- /**
- * The meta object literal for the '<em><b>Mime Mappings</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__MIME_MAPPINGS = eINSTANCE.getWebApp_MimeMappings();
-
- /**
- * The meta object literal for the '<em><b>Session Config</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__SESSION_CONFIG = eINSTANCE.getWebApp_SessionConfig();
-
- /**
- * The meta object literal for the '<em><b>Servlet Mappings</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__SERVLET_MAPPINGS = eINSTANCE.getWebApp_ServletMappings();
-
- /**
- * The meta object literal for the '<em><b>Servlets</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__SERVLETS = eINSTANCE.getWebApp_Servlets();
-
- /**
- * The meta object literal for the '<em><b>Security Roles</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__SECURITY_ROLES = eINSTANCE.getWebApp_SecurityRoles();
-
- /**
- * The meta object literal for the '<em><b>Filters</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__FILTERS = eINSTANCE.getWebApp_Filters();
-
- /**
- * The meta object literal for the '<em><b>Filter Mappings</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__FILTER_MAPPINGS = eINSTANCE.getWebApp_FilterMappings();
-
- /**
- * The meta object literal for the '<em><b>Listeners</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__LISTENERS = eINSTANCE.getWebApp_Listeners();
-
- /**
- * The meta object literal for the '<em><b>Context Params</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__CONTEXT_PARAMS = eINSTANCE.getWebApp_ContextParams();
-
- /**
- * The meta object literal for the '<em><b>Jsp Config</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__JSP_CONFIG = eINSTANCE.getWebApp_JspConfig();
-
- /**
- * The meta object literal for the '<em><b>Message Destinations</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__MESSAGE_DESTINATIONS = eINSTANCE.getWebApp_MessageDestinations();
-
- /**
- * The meta object literal for the '<em><b>Local Encoding Mapping List</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_APP__LOCAL_ENCODING_MAPPING_LIST = eINSTANCE.getWebApp_LocalEncodingMappingList();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ContextParamImpl <em>Context Param</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ContextParamImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getContextParam()
- * @generated
- */
- EClass CONTEXT_PARAM = eINSTANCE.getContextParam();
-
- /**
- * The meta object literal for the '<em><b>Param Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONTEXT_PARAM__PARAM_NAME = eINSTANCE.getContextParam_ParamName();
-
- /**
- * The meta object literal for the '<em><b>Param Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONTEXT_PARAM__PARAM_VALUE = eINSTANCE.getContextParam_ParamValue();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONTEXT_PARAM__DESCRIPTION = eINSTANCE.getContextParam_Description();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTEXT_PARAM__WEB_APP = eINSTANCE.getContextParam_WebApp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ServletImpl <em>Servlet</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ServletImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getServlet()
- * @generated
- */
- EClass SERVLET = eINSTANCE.getServlet();
-
- /**
- * The meta object literal for the '<em><b>Servlet Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SERVLET__SERVLET_NAME = eINSTANCE.getServlet_ServletName();
-
- /**
- * The meta object literal for the '<em><b>Load On Startup</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SERVLET__LOAD_ON_STARTUP = eINSTANCE.getServlet_LoadOnStartup();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET__WEB_APP = eINSTANCE.getServlet_WebApp();
-
- /**
- * The meta object literal for the '<em><b>Web Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET__WEB_TYPE = eINSTANCE.getServlet_WebType();
-
- /**
- * The meta object literal for the '<em><b>Params</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET__PARAMS = eINSTANCE.getServlet_Params();
-
- /**
- * The meta object literal for the '<em><b>Security Role Refs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET__SECURITY_ROLE_REFS = eINSTANCE.getServlet_SecurityRoleRefs();
-
- /**
- * The meta object literal for the '<em><b>Run As</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET__RUN_AS = eINSTANCE.getServlet_RunAs();
-
- /**
- * The meta object literal for the '<em><b>Init Params</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET__INIT_PARAMS = eINSTANCE.getServlet_InitParams();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ServletMappingImpl <em>Servlet Mapping</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ServletMappingImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getServletMapping()
- * @generated
- */
- EClass SERVLET_MAPPING = eINSTANCE.getServletMapping();
-
- /**
- * The meta object literal for the '<em><b>Url Pattern</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SERVLET_MAPPING__URL_PATTERN = eINSTANCE.getServletMapping_UrlPattern();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SERVLET_MAPPING__NAME = eINSTANCE.getServletMapping_Name();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET_MAPPING__WEB_APP = eINSTANCE.getServletMapping_WebApp();
-
- /**
- * The meta object literal for the '<em><b>Servlet</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SERVLET_MAPPING__SERVLET = eINSTANCE.getServletMapping_Servlet();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.SessionConfigImpl <em>Session Config</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.SessionConfigImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getSessionConfig()
- * @generated
- */
- EClass SESSION_CONFIG = eINSTANCE.getSessionConfig();
-
- /**
- * The meta object literal for the '<em><b>Session Timeout</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SESSION_CONFIG__SESSION_TIMEOUT = eINSTANCE.getSessionConfig_SessionTimeout();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SESSION_CONFIG__WEB_APP = eINSTANCE.getSessionConfig_WebApp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.MimeMappingImpl <em>Mime Mapping</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.MimeMappingImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getMimeMapping()
- * @generated
- */
- EClass MIME_MAPPING = eINSTANCE.getMimeMapping();
-
- /**
- * The meta object literal for the '<em><b>Extension</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MIME_MAPPING__EXTENSION = eINSTANCE.getMimeMapping_Extension();
-
- /**
- * The meta object literal for the '<em><b>Mime Type</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MIME_MAPPING__MIME_TYPE = eINSTANCE.getMimeMapping_MimeType();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MIME_MAPPING__WEB_APP = eINSTANCE.getMimeMapping_WebApp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.WelcomeFileListImpl <em>Welcome File List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WelcomeFileListImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getWelcomeFileList()
- * @generated
- */
- EClass WELCOME_FILE_LIST = eINSTANCE.getWelcomeFileList();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WELCOME_FILE_LIST__WEB_APP = eINSTANCE.getWelcomeFileList_WebApp();
-
- /**
- * The meta object literal for the '<em><b>File</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WELCOME_FILE_LIST__FILE = eINSTANCE.getWelcomeFileList_File();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ErrorPageImpl <em>Error Page</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ErrorPageImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getErrorPage()
- * @generated
- */
- EClass ERROR_PAGE = eINSTANCE.getErrorPage();
-
- /**
- * The meta object literal for the '<em><b>Location</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ERROR_PAGE__LOCATION = eINSTANCE.getErrorPage_Location();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ERROR_PAGE__WEB_APP = eINSTANCE.getErrorPage_WebApp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.TagLibRefImpl <em>Tag Lib Ref</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.TagLibRefImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getTagLibRef()
- * @generated
- */
- EClass TAG_LIB_REF = eINSTANCE.getTagLibRef();
-
- /**
- * The meta object literal for the '<em><b>Taglib URI</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute TAG_LIB_REF__TAGLIB_URI = eINSTANCE.getTagLibRef_TaglibURI();
-
- /**
- * The meta object literal for the '<em><b>Taglib Location</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute TAG_LIB_REF__TAGLIB_LOCATION = eINSTANCE.getTagLibRef_TaglibLocation();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TAG_LIB_REF__WEB_APP = eINSTANCE.getTagLibRef_WebApp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.SecurityConstraintImpl <em>Security Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.SecurityConstraintImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getSecurityConstraint()
- * @generated
- */
- EClass SECURITY_CONSTRAINT = eINSTANCE.getSecurityConstraint();
-
- /**
- * The meta object literal for the '<em><b>Display Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SECURITY_CONSTRAINT__DISPLAY_NAME = eINSTANCE.getSecurityConstraint_DisplayName();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SECURITY_CONSTRAINT__WEB_APP = eINSTANCE.getSecurityConstraint_WebApp();
-
- /**
- * The meta object literal for the '<em><b>Web Resource Collections</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS = eINSTANCE.getSecurityConstraint_WebResourceCollections();
-
- /**
- * The meta object literal for the '<em><b>Auth Constraint</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SECURITY_CONSTRAINT__AUTH_CONSTRAINT = eINSTANCE.getSecurityConstraint_AuthConstraint();
-
- /**
- * The meta object literal for the '<em><b>User Data Constraint</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT = eINSTANCE.getSecurityConstraint_UserDataConstraint();
-
- /**
- * The meta object literal for the '<em><b>Display Names</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SECURITY_CONSTRAINT__DISPLAY_NAMES = eINSTANCE.getSecurityConstraint_DisplayNames();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.WebResourceCollectionImpl <em>Web Resource Collection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebResourceCollectionImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getWebResourceCollection()
- * @generated
- */
- EClass WEB_RESOURCE_COLLECTION = eINSTANCE.getWebResourceCollection();
-
- /**
- * The meta object literal for the '<em><b>Web Resource Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME = eINSTANCE.getWebResourceCollection_WebResourceName();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WEB_RESOURCE_COLLECTION__DESCRIPTION = eINSTANCE.getWebResourceCollection_Description();
-
- /**
- * The meta object literal for the '<em><b>Url Pattern</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WEB_RESOURCE_COLLECTION__URL_PATTERN = eINSTANCE.getWebResourceCollection_UrlPattern();
-
- /**
- * The meta object literal for the '<em><b>Http Method</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WEB_RESOURCE_COLLECTION__HTTP_METHOD = eINSTANCE.getWebResourceCollection_HttpMethod();
-
- /**
- * The meta object literal for the '<em><b>Sec Constraint</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT = eINSTANCE.getWebResourceCollection_SecConstraint();
-
- /**
- * The meta object literal for the '<em><b>UR Ls</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_RESOURCE_COLLECTION__UR_LS = eINSTANCE.getWebResourceCollection_URLs();
-
- /**
- * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_RESOURCE_COLLECTION__DESCRIPTIONS = eINSTANCE.getWebResourceCollection_Descriptions();
-
- /**
- * The meta object literal for the '<em><b>HTT Ps</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WEB_RESOURCE_COLLECTION__HTT_PS = eINSTANCE.getWebResourceCollection_HTTPs();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.AuthConstraintImpl <em>Auth Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.AuthConstraintImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getAuthConstraint()
- * @generated
- */
- EClass AUTH_CONSTRAINT = eINSTANCE.getAuthConstraint();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute AUTH_CONSTRAINT__DESCRIPTION = eINSTANCE.getAuthConstraint_Description();
-
- /**
- * The meta object literal for the '<em><b>Roles</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute AUTH_CONSTRAINT__ROLES = eINSTANCE.getAuthConstraint_Roles();
-
- /**
- * The meta object literal for the '<em><b>Sec Constraint</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference AUTH_CONSTRAINT__SEC_CONSTRAINT = eINSTANCE.getAuthConstraint_SecConstraint();
-
- /**
- * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference AUTH_CONSTRAINT__DESCRIPTIONS = eINSTANCE.getAuthConstraint_Descriptions();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.UserDataConstraintImpl <em>User Data Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.UserDataConstraintImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getUserDataConstraint()
- * @generated
- */
- EClass USER_DATA_CONSTRAINT = eINSTANCE.getUserDataConstraint();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute USER_DATA_CONSTRAINT__DESCRIPTION = eINSTANCE.getUserDataConstraint_Description();
-
- /**
- * The meta object literal for the '<em><b>Transport Guarantee</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE = eINSTANCE.getUserDataConstraint_TransportGuarantee();
-
- /**
- * The meta object literal for the '<em><b>Sec Constraint</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USER_DATA_CONSTRAINT__SEC_CONSTRAINT = eINSTANCE.getUserDataConstraint_SecConstraint();
-
- /**
- * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference USER_DATA_CONSTRAINT__DESCRIPTIONS = eINSTANCE.getUserDataConstraint_Descriptions();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LoginConfigImpl <em>Login Config</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.LoginConfigImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getLoginConfig()
- * @generated
- */
- EClass LOGIN_CONFIG = eINSTANCE.getLoginConfig();
-
- /**
- * The meta object literal for the '<em><b>Auth Method</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LOGIN_CONFIG__AUTH_METHOD = eINSTANCE.getLoginConfig_AuthMethod();
-
- /**
- * The meta object literal for the '<em><b>Realm Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LOGIN_CONFIG__REALM_NAME = eINSTANCE.getLoginConfig_RealmName();
-
- /**
- * The meta object literal for the '<em><b>Authorization Method</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LOGIN_CONFIG__AUTHORIZATION_METHOD = eINSTANCE.getLoginConfig_AuthorizationMethod();
-
- /**
- * The meta object literal for the '<em><b>Web App</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LOGIN_CONFIG__WEB_APP = eINSTANCE.getLoginConfig_WebApp();
-
- /**
- * The meta object literal for the '<em><b>Form Login Config</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LOGIN_CONFIG__FORM_LOGIN_CONFIG = eINSTANCE.getLoginConfig_FormLoginConfig();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.FormLoginConfigImpl <em>Form Login Config</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.FormLoginConfigImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getFormLoginConfig()
- * @generated
- */
- EClass FORM_LOGIN_CONFIG = eINSTANCE.getFormLoginConfig();
-
- /**
- * The meta object literal for the '<em><b>Form Login Page</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE = eINSTANCE.getFormLoginConfig_FormLoginPage();
-
- /**
- * The meta object literal for the '<em><b>Form Error Page</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FORM_LOGIN_CONFIG__FORM_ERROR_PAGE = eINSTANCE.getFormLoginConfig_FormErrorPage();
-
- /**
- * The meta object literal for the '<em><b>Login Config</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FORM_LOGIN_CONFIG__LOGIN_CONFIG = eINSTANCE.getFormLoginConfig_LoginConfig();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.InitParamImpl <em>Init Param</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.InitParamImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getInitParam()
- * @generated
- */
- EClass INIT_PARAM = eINSTANCE.getInitParam();
-
- /**
- * The meta object literal for the '<em><b>Param Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INIT_PARAM__PARAM_NAME = eINSTANCE.getInitParam_ParamName();
-
- /**
- * The meta object literal for the '<em><b>Param Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INIT_PARAM__PARAM_VALUE = eINSTANCE.getInitParam_ParamValue();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INIT_PARAM__DESCRIPTION = eINSTANCE.getInitParam_Description();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.WebTypeImpl <em>Web Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebTypeImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getWebType()
- * @generated
- */
- EClass WEB_TYPE = eINSTANCE.getWebType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ServletTypeImpl <em>Servlet Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ServletTypeImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getServletType()
- * @generated
- */
- EClass SERVLET_TYPE = eINSTANCE.getServletType();
-
- /**
- * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SERVLET_TYPE__CLASS_NAME = eINSTANCE.getServletType_ClassName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.JSPTypeImpl <em>JSP Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.JSPTypeImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getJSPType()
- * @generated
- */
- EClass JSP_TYPE = eINSTANCE.getJSPType();
-
- /**
- * The meta object literal for the '<em><b>Jsp File</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute JSP_TYPE__JSP_FILE = eINSTANCE.getJSPType_JspFile();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.URLPatternTypeImpl <em>URL Pattern Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.URLPatternTypeImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getURLPatternType()
- * @generated
- */
- EClass URL_PATTERN_TYPE = eINSTANCE.getURLPatternType();
-
- /**
- * The meta object literal for the '<em><b>Url Pattern</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute URL_PATTERN_TYPE__URL_PATTERN = eINSTANCE.getURLPatternType_UrlPattern();
-
- /**
- * The meta object literal for the '<em><b>Res Collection</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference URL_PATTERN_TYPE__RES_COLLECTION = eINSTANCE.getURLPatternType_ResCollection();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.RoleNameTypeImpl <em>Role Name Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.RoleNameTypeImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getRoleNameType()
- * @generated
- */
- EClass ROLE_NAME_TYPE = eINSTANCE.getRoleNameType();
-
- /**
- * The meta object literal for the '<em><b>Role Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ROLE_NAME_TYPE__ROLE_NAME = eINSTANCE.getRoleNameType_RoleName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.WelcomeFileImpl <em>Welcome File</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WelcomeFileImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getWelcomeFile()
- * @generated
- */
- EClass WELCOME_FILE = eINSTANCE.getWelcomeFile();
-
- /**
- * The meta object literal for the '<em><b>Welcome File</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute WELCOME_FILE__WELCOME_FILE = eINSTANCE.getWelcomeFile_WelcomeFile();
-
- /**
- * The meta object literal for the '<em><b>File List</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference WELCOME_FILE__FILE_LIST = eINSTANCE.getWelcomeFile_FileList();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ExceptionTypeErrorPageImpl <em>Exception Type Error Page</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ExceptionTypeErrorPageImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getExceptionTypeErrorPage()
- * @generated
- */
- EClass EXCEPTION_TYPE_ERROR_PAGE = eINSTANCE.getExceptionTypeErrorPage();
-
- /**
- * The meta object literal for the '<em><b>Exception Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE = eINSTANCE.getExceptionTypeErrorPage_ExceptionType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.ErrorCodeErrorPageImpl <em>Error Code Error Page</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.ErrorCodeErrorPageImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getErrorCodeErrorPage()
- * @generated
- */
- EClass ERROR_CODE_ERROR_PAGE = eINSTANCE.getErrorCodeErrorPage();
-
- /**
- * The meta object literal for the '<em><b>Error Code</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ERROR_CODE_ERROR_PAGE__ERROR_CODE = eINSTANCE.getErrorCodeErrorPage_ErrorCode();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.FilterMappingImpl <em>Filter Mapping</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.FilterMappingImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getFilterMapping()
- * @generated
- */
- EClass FILTER_MAPPING = eINSTANCE.getFilterMapping();
-
- /**
- * The meta object literal for the '<em><b>Url Pattern</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FILTER_MAPPING__URL_PATTERN = eINSTANCE.getFilterMapping_UrlPattern();
-
- /**
- * The meta object literal for the '<em><b>Dispatcher Type</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FILTER_MAPPING__DISPATCHER_TYPE = eINSTANCE.getFilterMapping_DispatcherType();
-
- /**
- * The meta object literal for the '<em><b>Filter</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FILTER_MAPPING__FILTER = eINSTANCE.getFilterMapping_Filter();
-
- /**
- * The meta object literal for the '<em><b>Servlet</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FILTER_MAPPING__SERVLET = eINSTANCE.getFilterMapping_Servlet();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.FilterImpl <em>Filter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.FilterImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getFilter()
- * @generated
- */
- EClass FILTER = eINSTANCE.getFilter();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute FILTER__NAME = eINSTANCE.getFilter_Name();
-
- /**
- * The meta object literal for the '<em><b>Init Params</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FILTER__INIT_PARAMS = eINSTANCE.getFilter_InitParams();
-
- /**
- * The meta object literal for the '<em><b>Filter Class</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FILTER__FILTER_CLASS = eINSTANCE.getFilter_FilterClass();
-
- /**
- * The meta object literal for the '<em><b>Init Param Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FILTER__INIT_PARAM_VALUES = eINSTANCE.getFilter_InitParamValues();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingListImpl <em>Local Encoding Mapping List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingListImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getLocalEncodingMappingList()
- * @generated
- */
- EClass LOCAL_ENCODING_MAPPING_LIST = eINSTANCE.getLocalEncodingMappingList();
-
- /**
- * The meta object literal for the '<em><b>Local Encoding Mappings</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS = eINSTANCE.getLocalEncodingMappingList_LocalEncodingMappings();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingImpl <em>Local Encoding Mapping</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getLocalEncodingMapping()
- * @generated
- */
- EClass LOCAL_ENCODING_MAPPING = eINSTANCE.getLocalEncodingMapping();
-
- /**
- * The meta object literal for the '<em><b>Locale</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LOCAL_ENCODING_MAPPING__LOCALE = eINSTANCE.getLocalEncodingMapping_Locale();
-
- /**
- * The meta object literal for the '<em><b>Encoding</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LOCAL_ENCODING_MAPPING__ENCODING = eINSTANCE.getLocalEncodingMapping_Encoding();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.internal.impl.HTTPMethodTypeImpl <em>HTTP Method Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.HTTPMethodTypeImpl
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getHTTPMethodType()
- * @generated
- */
- EClass HTTP_METHOD_TYPE = eINSTANCE.getHTTPMethodType();
-
- /**
- * The meta object literal for the '<em><b>Http Method</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute HTTP_METHOD_TYPE__HTTP_METHOD = eINSTANCE.getHTTPMethodType_HttpMethod();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.ResAuthServletType <em>Res Auth Servlet Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.ResAuthServletType
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getResAuthServletType()
- * @generated
- */
- EEnum RES_AUTH_SERVLET_TYPE = eINSTANCE.getResAuthServletType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum <em>HTTP Method Type Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getHTTPMethodTypeEnum()
- * @generated
- */
- EEnum HTTP_METHOD_TYPE_ENUM = eINSTANCE.getHTTPMethodTypeEnum();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.TransportGuaranteeType <em>Transport Guarantee Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.TransportGuaranteeType
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getTransportGuaranteeType()
- * @generated
- */
- EEnum TRANSPORT_GUARANTEE_TYPE = eINSTANCE.getTransportGuaranteeType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.DispatcherType <em>Dispatcher Type</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.DispatcherType
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getDispatcherType()
- * @generated
- */
- EEnum DISPATCHER_TYPE = eINSTANCE.getDispatcherType();
-
- /**
- * The meta object literal for the '{@link org.eclipse.jst.j2ee.webapplication.AuthMethodKind <em>Auth Method Kind</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.webapplication.AuthMethodKind
- * @see org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl#getAuthMethodKind()
- * @generated
- */
- EEnum AUTH_METHOD_KIND = eINSTANCE.getAuthMethodKind();
-
- }
-
-} //WebapplicationPackage
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFile.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFile.java
deleted file mode 100644
index 5ddf48c9e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFile.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The welcome-file element contains file name to use as a default welcome file, such as index.html
- * @since 1.0
- * @generated
- */
-public interface WelcomeFile extends J2EEEObject {
- /**
- * @generated This field/method will be replaced during code generation
- * @return The value of the WelcomeFile attribute
- */
- String getWelcomeFile();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WelcomeFile attribute
- */
- void setWelcomeFile(String value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The FileList reference
- */
- WelcomeFileList getFileList();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the FileList reference
- */
- void setFileList(WelcomeFileList value);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFileList.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFileList.java
deleted file mode 100644
index 326eda575..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/WelcomeFileList.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-/**
- * The welcome-file-list contains an ordered list of welcome files elements.
- * @generated
- * @since 1.0
- */
-public interface WelcomeFileList extends J2EEEObject {
-
- /**
- * Adds the file whose name is specified in the parameter
- * @param name the name of the file to be added
- */
- public void addFileNamed(String name);
- /**
- * @generated This field/method will be replaced during code generation
- * @return The WebApp reference
- */
- WebApp getWebApp();
-
- /**
- * @generated This field/method will be replaced during code generation
- * @param value The new value of the WebApp reference
- */
- void setWebApp(WebApp value);
-
- /**
- * @generated This field/method will be replaced during code generation
- * @return The list of File references
- */
- EList getFile();
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/AuthConstraintImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/AuthConstraintImpl.java
deleted file mode 100644
index 3e2461854..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/AuthConstraintImpl.java
+++ /dev/null
@@ -1,319 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.Description;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * The auth-constraint element indicates the user roles that should be permitted access to this resource collection. The role used here must appear in a security-role-ref element.
- * @generated
- */
-public class AuthConstraintImpl extends J2EEEObjectImpl implements AuthConstraint {
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String description = DESCRIPTION_EDEFAULT;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList roles = null;
- /**
- * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescriptions()
- * @generated
- * @ordered
- */
- protected EList descriptions = null;
-
- public AuthConstraintImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.AUTH_CONSTRAINT;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * A description of the auth constraint.
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * A list of role names for the auth constraint. Each element specifies the name
- * of a security role (a String).
-
- */
- public EList getRoles() {
- if (roles == null) {
- roles = new EDataTypeUniqueEList(String.class, this, WebapplicationPackage.AUTH_CONSTRAINT__ROLES);
- }
- return roles;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public SecurityConstraint getSecConstraint() {
- if (eContainerFeatureID != WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT) return null;
- return (SecurityConstraint)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSecConstraint(SecurityConstraint newSecConstraint, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newSecConstraint, WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setSecConstraint(SecurityConstraint newSecConstraint) {
- if (newSecConstraint != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT && newSecConstraint != null)) {
- if (EcoreUtil.isAncestor(this, newSecConstraint))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newSecConstraint != null)
- msgs = ((InternalEObject)newSecConstraint).eInverseAdd(this, WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT, SecurityConstraint.class, msgs);
- msgs = basicSetSecConstraint(newSecConstraint, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT, newSecConstraint, newSecConstraint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDescriptions() {
- if (descriptions == null) {
- descriptions = new EObjectContainmentEList(Description.class, this, WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTIONS);
- }
- return descriptions;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetSecConstraint((SecurityConstraint)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- return basicSetSecConstraint(null, msgs);
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT, SecurityConstraint.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTION:
- return getDescription();
- case WebapplicationPackage.AUTH_CONSTRAINT__ROLES:
- return getRoles();
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- return getSecConstraint();
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTIONS:
- return getDescriptions();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case WebapplicationPackage.AUTH_CONSTRAINT__ROLES:
- getRoles().clear();
- getRoles().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- setSecConstraint((SecurityConstraint)newValue);
- return;
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case WebapplicationPackage.AUTH_CONSTRAINT__ROLES:
- getRoles().clear();
- return;
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- setSecConstraint((SecurityConstraint)null);
- return;
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case WebapplicationPackage.AUTH_CONSTRAINT__ROLES:
- return roles != null && !roles.isEmpty();
- case WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT:
- return getSecConstraint() != null;
- case WebapplicationPackage.AUTH_CONSTRAINT__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(", roles: ");
- result.append(roles);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ContextParamImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ContextParamImpl.java
deleted file mode 100644
index 10e742bf5..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ContextParamImpl.java
+++ /dev/null
@@ -1,333 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The context-param element contains the declaration of a web application's servlet context initialization parameters.
- * @generated
- */
-public class ContextParamImpl extends J2EEEObjectImpl implements ContextParam {
-
- /**
- * The default value of the '{@link #getParamName() <em>Param Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParamName()
- * @generated
- * @ordered
- */
- protected static final String PARAM_NAME_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String paramName = PARAM_NAME_EDEFAULT;
- /**
- * The default value of the '{@link #getParamValue() <em>Param Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParamValue()
- * @generated
- * @ordered
- */
- protected static final String PARAM_VALUE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String paramValue = PARAM_VALUE_EDEFAULT;
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String description = DESCRIPTION_EDEFAULT;
- public ContextParamImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.CONTEXT_PARAM;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The param-name element contains the name of a parameter.
- */
- public String getParamName() {
- return paramName;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setParamName(String newParamName) {
- String oldParamName = paramName;
- paramName = newParamName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.CONTEXT_PARAM__PARAM_NAME, oldParamName, paramName));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The param-value element contains the value of a parameter.
- */
- public String getParamValue() {
- return paramValue;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setParamValue(String newParamValue) {
- String oldParamValue = paramValue;
- paramValue = newParamValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.CONTEXT_PARAM__PARAM_VALUE, oldParamValue, paramValue));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.CONTEXT_PARAM__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.CONTEXT_PARAM__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.CONTEXT_PARAM__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.CONTEXT_PARAM__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__CONTEXTS, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.CONTEXT_PARAM__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- return basicSetWebApp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__CONTEXTS, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_NAME:
- return getParamName();
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_VALUE:
- return getParamValue();
- case WebapplicationPackage.CONTEXT_PARAM__DESCRIPTION:
- return getDescription();
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- return getWebApp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_NAME:
- setParamName((String)newValue);
- return;
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_VALUE:
- setParamValue((String)newValue);
- return;
- case WebapplicationPackage.CONTEXT_PARAM__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_NAME:
- setParamName(PARAM_NAME_EDEFAULT);
- return;
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_VALUE:
- setParamValue(PARAM_VALUE_EDEFAULT);
- return;
- case WebapplicationPackage.CONTEXT_PARAM__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- setWebApp((WebApp)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_NAME:
- return PARAM_NAME_EDEFAULT == null ? paramName != null : !PARAM_NAME_EDEFAULT.equals(paramName);
- case WebapplicationPackage.CONTEXT_PARAM__PARAM_VALUE:
- return PARAM_VALUE_EDEFAULT == null ? paramValue != null : !PARAM_VALUE_EDEFAULT.equals(paramValue);
- case WebapplicationPackage.CONTEXT_PARAM__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case WebapplicationPackage.CONTEXT_PARAM__WEB_APP:
- return getWebApp() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (paramName: ");
- result.append(paramName);
- result.append(", paramValue: ");
- result.append(paramValue);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorCodeErrorPageImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorCodeErrorPageImpl.java
deleted file mode 100644
index f81b6347a..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorCodeErrorPageImpl.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * @generated
- */
-public class ErrorCodeErrorPageImpl extends ErrorPageImpl implements ErrorCodeErrorPage {
-
- /**
- * The default value of the '{@link #getErrorCode() <em>Error Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getErrorCode()
- * @generated
- * @ordered
- */
- protected static final String ERROR_CODE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String errorCode = ERROR_CODE_EDEFAULT;
- public ErrorCodeErrorPageImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.ERROR_CODE_ERROR_PAGE;
- }
-
-/**
- * isErrorCode method comment.
- */
-public boolean isErrorCode() {
- return true;
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The error-code contains an HTTP error code, ex: 404
-
- */
- public String getErrorCode() {
- return errorCode;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setErrorCode(String newErrorCode) {
- String oldErrorCode = errorCode;
- errorCode = newErrorCode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.ERROR_CODE_ERROR_PAGE__ERROR_CODE, oldErrorCode, errorCode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_CODE_ERROR_PAGE__ERROR_CODE:
- return getErrorCode();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_CODE_ERROR_PAGE__ERROR_CODE:
- setErrorCode((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_CODE_ERROR_PAGE__ERROR_CODE:
- setErrorCode(ERROR_CODE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_CODE_ERROR_PAGE__ERROR_CODE:
- return ERROR_CODE_EDEFAULT == null ? errorCode != null : !ERROR_CODE_EDEFAULT.equals(errorCode);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (errorCode: ");
- result.append(errorCode);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorPageImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorPageImpl.java
deleted file mode 100644
index d75e6edb9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ErrorPageImpl.java
+++ /dev/null
@@ -1,259 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The error-page element contains a mapping between an error code or exception type to the path of a resource in the web application
- * @generated
- */
-public class ErrorPageImpl extends J2EEEObjectImpl implements ErrorPage {
-
- /**
- * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String location = LOCATION_EDEFAULT;
- public ErrorPageImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.ERROR_PAGE;
- }
-
-/**
- * isErrorCode method comment.
- */
-public boolean isErrorCode() {
- return false;
-}
-/**
- * isExceptionType method comment.
- */
-public boolean isExceptionType() {
- return false;
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The location element contains the location of the resource in the web
- * application
- */
- public String getLocation() {
- return location;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setLocation(String newLocation) {
- String oldLocation = location;
- location = newLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.ERROR_PAGE__LOCATION, oldLocation, location));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.ERROR_PAGE__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.ERROR_PAGE__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.ERROR_PAGE__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__ERROR_PAGES, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.ERROR_PAGE__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- return basicSetWebApp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__ERROR_PAGES, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_PAGE__LOCATION:
- return getLocation();
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- return getWebApp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_PAGE__LOCATION:
- setLocation((String)newValue);
- return;
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_PAGE__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- setWebApp((WebApp)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.ERROR_PAGE__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case WebapplicationPackage.ERROR_PAGE__WEB_APP:
- return getWebApp() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (location: ");
- result.append(location);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ExceptionTypeErrorPageImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ExceptionTypeErrorPageImpl.java
deleted file mode 100644
index 8471bb0bf..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ExceptionTypeErrorPageImpl.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * @generated
- */
-public class ExceptionTypeErrorPageImpl extends ErrorPageImpl implements ExceptionTypeErrorPage {
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected JavaClass exceptionType = null;
- public ExceptionTypeErrorPageImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.EXCEPTION_TYPE_ERROR_PAGE;
- }
-
-/**
- * Helper method to set the ExceptionType to a JavaClass having a fully qualified
- * name specified by the parameter
- */
-public String getExceptionTypeName() {
- getExceptionType();
- return exceptionType == null ? null : exceptionType.getQualifiedName();
-}/**
- * Helper method to set the ExceptionType to a JavaClass having a fully qualified
- * name specified by the parameter
- */
-public boolean isExceptionType() {
- return true;
-}
-public void setExceptionTypeName(String exceptionTypeName) {
- setExceptionType(JavaRefFactory.eINSTANCE.createClassRef(exceptionTypeName));
-}
-/**
- * @deprecated Use @link{#setExceptionTypeName(String)}
- */
-public void setExceptionTypeName(String exceptionTypeName, ResourceSet context) {
- setExceptionTypeName(exceptionTypeName);
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The exception type contains a fully qualified class name of a Java exception type.
- */
- public JavaClass getExceptionType() {
- if (exceptionType != null && exceptionType.eIsProxy()) {
- InternalEObject oldExceptionType = (InternalEObject)exceptionType;
- exceptionType = (JavaClass)eResolveProxy(oldExceptionType);
- if (exceptionType != oldExceptionType) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE, oldExceptionType, exceptionType));
- }
- }
- return exceptionType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JavaClass basicGetExceptionType() {
- return exceptionType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setExceptionType(JavaClass newExceptionType) {
- JavaClass oldExceptionType = exceptionType;
- exceptionType = newExceptionType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE, oldExceptionType, exceptionType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE:
- if (resolve) return getExceptionType();
- return basicGetExceptionType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE:
- setExceptionType((JavaClass)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE:
- setExceptionType((JavaClass)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE:
- return exceptionType != null;
- }
- return super.eIsSet(featureID);
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterImpl.java
deleted file mode 100644
index d0de3a7bf..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterImpl.java
+++ /dev/null
@@ -1,305 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jst.j2ee.common.ParamValue;
-import org.eclipse.jst.j2ee.common.internal.impl.CompatibilityDescriptionGroupImpl;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * Declares a filter in the web application application. The filter is mapped to either a servlet or a URL pattern in the filter-mapping element, using the filter-name value to reference. Filters can access the initialization parameters declared in the deployment descriptor at runtime via the FilterConfig interface.
-
- */
-public class FilterImpl extends CompatibilityDescriptionGroupImpl implements Filter {
- /**
- * 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;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String name = NAME_EDEFAULT;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList initParams = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected JavaClass filterClass = null;
- /**
- * The cached value of the '{@link #getInitParamValues() <em>Init Param Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInitParamValues()
- * @generated
- * @ordered
- */
- protected EList initParamValues = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected FilterImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.FILTER;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The logical name of the filter. This name is used to map the filter.
- */
- public String getName() {
- return name;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FILTER__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * getInitParams() is used for J2EE1.3
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getInitParams() {
- if (initParams == null) {
- initParams = new EObjectContainmentEList(InitParam.class, this, WebapplicationPackage.FILTER__INIT_PARAMS);
- }
- return initParams;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The fully qualified classname of the filter.
- */
- public JavaClass getFilterClass() {
- if (filterClass != null && filterClass.eIsProxy()) {
- InternalEObject oldFilterClass = (InternalEObject)filterClass;
- filterClass = (JavaClass)eResolveProxy(oldFilterClass);
- if (filterClass != oldFilterClass) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WebapplicationPackage.FILTER__FILTER_CLASS, oldFilterClass, filterClass));
- }
- }
- return filterClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JavaClass basicGetFilterClass() {
- return filterClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFilterClass(JavaClass newFilterClass) {
- JavaClass oldFilterClass = filterClass;
- filterClass = newFilterClass;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FILTER__FILTER_CLASS, oldFilterClass, filterClass));
- }
-
- /**
- * <!-- begin-user-doc -->
- * getInitParamValues() is used for J2EE1.4
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getInitParamValues() {
- if (initParamValues == null) {
- initParamValues = new EObjectContainmentEList(ParamValue.class, this, WebapplicationPackage.FILTER__INIT_PARAM_VALUES);
- }
- return initParamValues;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.FILTER__INIT_PARAMS:
- return ((InternalEList)getInitParams()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.FILTER__INIT_PARAM_VALUES:
- return ((InternalEList)getInitParamValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.FILTER__NAME:
- return getName();
- case WebapplicationPackage.FILTER__INIT_PARAMS:
- return getInitParams();
- case WebapplicationPackage.FILTER__FILTER_CLASS:
- if (resolve) return getFilterClass();
- return basicGetFilterClass();
- case WebapplicationPackage.FILTER__INIT_PARAM_VALUES:
- return getInitParamValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.FILTER__NAME:
- setName((String)newValue);
- return;
- case WebapplicationPackage.FILTER__INIT_PARAMS:
- getInitParams().clear();
- getInitParams().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.FILTER__FILTER_CLASS:
- setFilterClass((JavaClass)newValue);
- return;
- case WebapplicationPackage.FILTER__INIT_PARAM_VALUES:
- getInitParamValues().clear();
- getInitParamValues().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.FILTER__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WebapplicationPackage.FILTER__INIT_PARAMS:
- getInitParams().clear();
- return;
- case WebapplicationPackage.FILTER__FILTER_CLASS:
- setFilterClass((JavaClass)null);
- return;
- case WebapplicationPackage.FILTER__INIT_PARAM_VALUES:
- getInitParamValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.FILTER__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WebapplicationPackage.FILTER__INIT_PARAMS:
- return initParams != null && !initParams.isEmpty();
- case WebapplicationPackage.FILTER__FILTER_CLASS:
- return filterClass != null;
- case WebapplicationPackage.FILTER__INIT_PARAM_VALUES:
- return initParamValues != null && !initParamValues.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-public JavaClass createClassRef(String targetName) {
- return JavaRefFactory.eINSTANCE.createClassRef(targetName);
-}
-
-
-public String getFilterClassName() {
- getFilterClass();
- return (filterClass == null) ? null : filterClass.getQualifiedName();
-}
-public void setFilterClassName(String filterClassName) {
- eSet(WebapplicationPackage.eINSTANCE.getFilter_FilterClass(), createClassRef(filterClassName));
-}
-} //FilterImpl
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterMappingImpl.java
deleted file mode 100644
index 94455bbd1..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FilterMappingImpl.java
+++ /dev/null
@@ -1,368 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-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.util.EDataTypeUniqueEList;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.DispatcherType;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * Declaration of the filter mappings in this web application. The container uses the filter-mapping declarations to decide which filters to apply to a request, and in what order. The container matches the request URI to a Servlet in the normal way. To determine which filters to apply it matches filter-mapping declarations either on servlet-name, or on url-pattern for each filter-mapping element, depending on which style is used. The order in which filters are invoked is the order in which filter-mapping declarations that match a request URI for a servlet appear in the list of filter-mapping elements.The filter-name value must be the value of the <filtername> sub-elements of one of the <filter> declarations in the deployment descriptor.
- *
- * @invariant The filter-name value must be the value of the Filter::name of one of the Filter declarations in the deployment descriptor.
- * @generated
- */
-public class FilterMappingImpl extends J2EEEObjectImpl implements FilterMapping {
-
- /**
- * The default value of the '{@link #getUrlPattern() <em>Url Pattern</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUrlPattern()
- * @generated
- * @ordered
- */
- protected static final String URL_PATTERN_EDEFAULT = null;
-
- protected transient String servletName;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String urlPattern = URL_PATTERN_EDEFAULT;
- /**
- * The cached value of the '{@link #getDispatcherType() <em>Dispatcher Type</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDispatcherType()
- * @generated
- * @ordered
- */
- protected EList dispatcherType = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected Filter filter = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected Servlet servlet = null;
- public FilterMappingImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.FILTER_MAPPING;
- }
-
-/**
- * Returns the name of the servlet that this mapping applies to.
- */
- public Servlet getServlet(){
- Servlet lservlet = this.getServletGen();
- if (lservlet == null && servletName != null){
- WebApp webapp = (WebApp)eContainer();
- if (webapp != null){
- lservlet=webapp.getServletNamed(servletName);
- if (lservlet != null)
- setServlet(lservlet);
- }
- }
- return lservlet;
-}
-/**
- * Returns the name of the servlet that this mapping applies to.
- */
-public String getServletName(){
- String ret = null;
- if (servletName != null)
- ret = servletName;
-
- Servlet lservlet = getServlet();
- if (lservlet != null)
- ret = lservlet.getServletName();
- return ret;
-}
-/**
- * Sets the name of the servlet that this mapping applies to.
- */
-public void setServletName(String servletName){
- this.servletName = servletName;
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The url-pattern element contains the url pattern of the mapping. Must follow
- * the rules specified in Section 10 of the Servlet API Specification.
- */
- public String getUrlPattern() {
- return urlPattern;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setUrlPattern(String newUrlPattern) {
- String oldUrlPattern = urlPattern;
- urlPattern = newUrlPattern;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FILTER_MAPPING__URL_PATTERN, oldUrlPattern, urlPattern));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDispatcherType() {
- if (dispatcherType == null) {
- dispatcherType = new EDataTypeUniqueEList(DispatcherType.class, this, WebapplicationPackage.FILTER_MAPPING__DISPATCHER_TYPE);
- }
- return dispatcherType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The filter being mapped
- */
- public Filter getFilter() {
- if (filter != null && filter.eIsProxy()) {
- InternalEObject oldFilter = (InternalEObject)filter;
- filter = (Filter)eResolveProxy(oldFilter);
- if (filter != oldFilter) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WebapplicationPackage.FILTER_MAPPING__FILTER, oldFilter, filter));
- }
- }
- return filter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Filter basicGetFilter() {
- return filter;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFilter(Filter newFilter) {
- Filter oldFilter = filter;
- filter = newFilter;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FILTER_MAPPING__FILTER, oldFilter, filter));
- }
-
- public void setServlet(Servlet l) {
- servletName = null;
- setServletGen(l);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setServletGen(Servlet newServlet) {
- Servlet oldServlet = servlet;
- servlet = newServlet;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FILTER_MAPPING__SERVLET, oldServlet, servlet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.FILTER_MAPPING__URL_PATTERN:
- return getUrlPattern();
- case WebapplicationPackage.FILTER_MAPPING__DISPATCHER_TYPE:
- return getDispatcherType();
- case WebapplicationPackage.FILTER_MAPPING__FILTER:
- if (resolve) return getFilter();
- return basicGetFilter();
- case WebapplicationPackage.FILTER_MAPPING__SERVLET:
- if (resolve) return getServlet();
- return basicGetServlet();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.FILTER_MAPPING__URL_PATTERN:
- setUrlPattern((String)newValue);
- return;
- case WebapplicationPackage.FILTER_MAPPING__DISPATCHER_TYPE:
- getDispatcherType().clear();
- getDispatcherType().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.FILTER_MAPPING__FILTER:
- setFilter((Filter)newValue);
- return;
- case WebapplicationPackage.FILTER_MAPPING__SERVLET:
- setServlet((Servlet)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.FILTER_MAPPING__URL_PATTERN:
- setUrlPattern(URL_PATTERN_EDEFAULT);
- return;
- case WebapplicationPackage.FILTER_MAPPING__DISPATCHER_TYPE:
- getDispatcherType().clear();
- return;
- case WebapplicationPackage.FILTER_MAPPING__FILTER:
- setFilter((Filter)null);
- return;
- case WebapplicationPackage.FILTER_MAPPING__SERVLET:
- setServlet((Servlet)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.FILTER_MAPPING__URL_PATTERN:
- return URL_PATTERN_EDEFAULT == null ? urlPattern != null : !URL_PATTERN_EDEFAULT.equals(urlPattern);
- case WebapplicationPackage.FILTER_MAPPING__DISPATCHER_TYPE:
- return dispatcherType != null && !dispatcherType.isEmpty();
- case WebapplicationPackage.FILTER_MAPPING__FILTER:
- return filter != null;
- case WebapplicationPackage.FILTER_MAPPING__SERVLET:
- return servlet != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * (Removed Generated flag to preserve override This field/method will NOT be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case WebapplicationPackage.FILTER_MAPPING__URL_PATTERN:
- setUrlPattern((String)newValue);
- return;
- case WebapplicationPackage.FILTER_MAPPING__DISPATCHER_TYPE:
- getDispatcherType().clear();
- getDispatcherType().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.FILTER_MAPPING__FILTER:
- setFilter((Filter)newValue);
- return;
- case WebapplicationPackage.FILTER_MAPPING__SERVLET:
- if(newValue instanceof String)
- setServletName((String)newValue);
- else
- setServlet((Servlet)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (urlPattern: ");
- result.append(urlPattern);
- result.append(", dispatcherType: ");
- result.append(dispatcherType);
- result.append(')');
- return result.toString();
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * An optional servlet that is mapped by a filter mapping. servletName is used to resolve the servlet reference.
- */
- public Servlet getServletGen() {
- if (servlet != null && servlet.eIsProxy()) {
- InternalEObject oldServlet = (InternalEObject)servlet;
- servlet = (Servlet)eResolveProxy(oldServlet);
- if (servlet != oldServlet) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WebapplicationPackage.FILTER_MAPPING__SERVLET, oldServlet, servlet));
- }
- }
- return servlet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Servlet basicGetServlet() {
- return servlet;
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FormLoginConfigImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FormLoginConfigImpl.java
deleted file mode 100644
index 096fa594d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/FormLoginConfigImpl.java
+++ /dev/null
@@ -1,292 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The form-login-config element specifies the login and error pages that should be used in form based login. If form based authentication is not used, these elements are ignored.
- * @generated
- */
-public class FormLoginConfigImpl extends J2EEEObjectImpl implements FormLoginConfig {
-
- /**
- * The default value of the '{@link #getFormLoginPage() <em>Form Login Page</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormLoginPage()
- * @generated
- * @ordered
- */
- protected static final String FORM_LOGIN_PAGE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String formLoginPage = FORM_LOGIN_PAGE_EDEFAULT;
- /**
- * The default value of the '{@link #getFormErrorPage() <em>Form Error Page</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFormErrorPage()
- * @generated
- * @ordered
- */
- protected static final String FORM_ERROR_PAGE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String formErrorPage = FORM_ERROR_PAGE_EDEFAULT;
- public FormLoginConfigImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.FORM_LOGIN_CONFIG;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The form-login-page element defines the location in the web app where the page
- * that can be used for login can be found
- */
- public String getFormLoginPage() {
- return formLoginPage;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFormLoginPage(String newFormLoginPage) {
- String oldFormLoginPage = formLoginPage;
- formLoginPage = newFormLoginPage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE, oldFormLoginPage, formLoginPage));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The form-error-page element defines the location in the web app where the error
- * page that is displayed when login is not successful can be found
- */
- public String getFormErrorPage() {
- return formErrorPage;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFormErrorPage(String newFormErrorPage) {
- String oldFormErrorPage = formErrorPage;
- formErrorPage = newFormErrorPage;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_ERROR_PAGE, oldFormErrorPage, formErrorPage));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public LoginConfig getLoginConfig() {
- if (eContainerFeatureID != WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG) return null;
- return (LoginConfig)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLoginConfig(LoginConfig newLoginConfig, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newLoginConfig, WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setLoginConfig(LoginConfig newLoginConfig) {
- if (newLoginConfig != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG && newLoginConfig != null)) {
- if (EcoreUtil.isAncestor(this, newLoginConfig))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newLoginConfig != null)
- msgs = ((InternalEObject)newLoginConfig).eInverseAdd(this, WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG, LoginConfig.class, msgs);
- msgs = basicSetLoginConfig(newLoginConfig, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG, newLoginConfig, newLoginConfig));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetLoginConfig((LoginConfig)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- return basicSetLoginConfig(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG, LoginConfig.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE:
- return getFormLoginPage();
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_ERROR_PAGE:
- return getFormErrorPage();
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- return getLoginConfig();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE:
- setFormLoginPage((String)newValue);
- return;
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_ERROR_PAGE:
- setFormErrorPage((String)newValue);
- return;
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- setLoginConfig((LoginConfig)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE:
- setFormLoginPage(FORM_LOGIN_PAGE_EDEFAULT);
- return;
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_ERROR_PAGE:
- setFormErrorPage(FORM_ERROR_PAGE_EDEFAULT);
- return;
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- setLoginConfig((LoginConfig)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE:
- return FORM_LOGIN_PAGE_EDEFAULT == null ? formLoginPage != null : !FORM_LOGIN_PAGE_EDEFAULT.equals(formLoginPage);
- case WebapplicationPackage.FORM_LOGIN_CONFIG__FORM_ERROR_PAGE:
- return FORM_ERROR_PAGE_EDEFAULT == null ? formErrorPage != null : !FORM_ERROR_PAGE_EDEFAULT.equals(formErrorPage);
- case WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG:
- return getLoginConfig() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (formLoginPage: ");
- result.append(formLoginPage);
- result.append(", formErrorPage: ");
- result.append(formErrorPage);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/HTTPMethodTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/HTTPMethodTypeImpl.java
deleted file mode 100644
index 2d285b54b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/HTTPMethodTypeImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>HTTP Method Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.internal.impl.HTTPMethodTypeImpl#getHttpMethod <em>Http Method</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class HTTPMethodTypeImpl extends J2EEEObjectImpl implements HTTPMethodType {
- /**
- * The default value of the '{@link #getHttpMethod() <em>Http Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHttpMethod()
- * @generated
- * @ordered
- */
- protected static final String HTTP_METHOD_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getHttpMethod() <em>Http Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHttpMethod()
- * @generated
- * @ordered
- */
- protected String httpMethod = HTTP_METHOD_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HTTPMethodTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.HTTP_METHOD_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getHttpMethod() {
- return httpMethod;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setHttpMethod(String newHttpMethod) {
- String oldHttpMethod = httpMethod;
- httpMethod = newHttpMethod;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.HTTP_METHOD_TYPE__HTTP_METHOD, oldHttpMethod, httpMethod));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.HTTP_METHOD_TYPE__HTTP_METHOD:
- return getHttpMethod();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.HTTP_METHOD_TYPE__HTTP_METHOD:
- setHttpMethod((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.HTTP_METHOD_TYPE__HTTP_METHOD:
- setHttpMethod(HTTP_METHOD_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.HTTP_METHOD_TYPE__HTTP_METHOD:
- return HTTP_METHOD_EDEFAULT == null ? httpMethod != null : !HTTP_METHOD_EDEFAULT.equals(httpMethod);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (httpMethod: ");
- result.append(httpMethod);
- result.append(')');
- return result.toString();
- }
-
-} //HTTPMethodTypeImpl
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/InitParamImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/InitParamImpl.java
deleted file mode 100644
index e5ae8aa80..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/InitParamImpl.java
+++ /dev/null
@@ -1,242 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The init-param element contains a name//value pair as an initialization param of the servlet
- * @generated
- */
-public class InitParamImpl extends J2EEEObjectImpl implements InitParam {
-
- /**
- * The default value of the '{@link #getParamName() <em>Param Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParamName()
- * @generated
- * @ordered
- */
- protected static final String PARAM_NAME_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String paramName = PARAM_NAME_EDEFAULT;
- /**
- * The default value of the '{@link #getParamValue() <em>Param Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getParamValue()
- * @generated
- * @ordered
- */
- protected static final String PARAM_VALUE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String paramValue = PARAM_VALUE_EDEFAULT;
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String description = DESCRIPTION_EDEFAULT;
- public InitParamImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.INIT_PARAM;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- *
- *
-
- */
- public String getParamName() {
- return paramName;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setParamName(String newParamName) {
- String oldParamName = paramName;
- paramName = newParamName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.INIT_PARAM__PARAM_NAME, oldParamName, paramName));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getParamValue() {
- return paramValue;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setParamValue(String newParamValue) {
- String oldParamValue = paramValue;
- paramValue = newParamValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.INIT_PARAM__PARAM_VALUE, oldParamValue, paramValue));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.INIT_PARAM__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.INIT_PARAM__PARAM_NAME:
- return getParamName();
- case WebapplicationPackage.INIT_PARAM__PARAM_VALUE:
- return getParamValue();
- case WebapplicationPackage.INIT_PARAM__DESCRIPTION:
- return getDescription();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.INIT_PARAM__PARAM_NAME:
- setParamName((String)newValue);
- return;
- case WebapplicationPackage.INIT_PARAM__PARAM_VALUE:
- setParamValue((String)newValue);
- return;
- case WebapplicationPackage.INIT_PARAM__DESCRIPTION:
- setDescription((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.INIT_PARAM__PARAM_NAME:
- setParamName(PARAM_NAME_EDEFAULT);
- return;
- case WebapplicationPackage.INIT_PARAM__PARAM_VALUE:
- setParamValue(PARAM_VALUE_EDEFAULT);
- return;
- case WebapplicationPackage.INIT_PARAM__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.INIT_PARAM__PARAM_NAME:
- return PARAM_NAME_EDEFAULT == null ? paramName != null : !PARAM_NAME_EDEFAULT.equals(paramName);
- case WebapplicationPackage.INIT_PARAM__PARAM_VALUE:
- return PARAM_VALUE_EDEFAULT == null ? paramValue != null : !PARAM_VALUE_EDEFAULT.equals(paramValue);
- case WebapplicationPackage.INIT_PARAM__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (paramName: ");
- result.append(paramName);
- result.append(", paramValue: ");
- result.append(paramValue);
- result.append(", description: ");
- result.append(description);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/JSPTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/JSPTypeImpl.java
deleted file mode 100644
index cd6f0cadb..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/JSPTypeImpl.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * @generated
- */
-public class JSPTypeImpl extends WebTypeImpl implements JSPType {
-
- /**
- * The default value of the '{@link #getJspFile() <em>Jsp File</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getJspFile()
- * @generated
- * @ordered
- */
- protected static final String JSP_FILE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String jspFile = JSP_FILE_EDEFAULT;
- public JSPTypeImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.JSP_TYPE;
- }
-
-public boolean isJspType() {
- return true;
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The jsp-file element contains the full path to a JSP file within the web
- * application.
-
- */
- public String getJspFile() {
- return jspFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setJspFile(String newJspFile) {
- String oldJspFile = jspFile;
- jspFile = newJspFile;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.JSP_TYPE__JSP_FILE, oldJspFile, jspFile));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.JSP_TYPE__JSP_FILE:
- return getJspFile();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.JSP_TYPE__JSP_FILE:
- setJspFile((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.JSP_TYPE__JSP_FILE:
- setJspFile(JSP_FILE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.JSP_TYPE__JSP_FILE:
- return JSP_FILE_EDEFAULT == null ? jspFile != null : !JSP_FILE_EDEFAULT.equals(jspFile);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (jspFile: ");
- result.append(jspFile);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingImpl.java
deleted file mode 100644
index da605e798..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingImpl.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Local Encoding Mapping</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingImpl#getLocale <em>Locale</em>}</li>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingImpl#getEncoding <em>Encoding</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class LocalEncodingMappingImpl extends J2EEEObjectImpl implements LocalEncodingMapping {
- /**
- * The default value of the '{@link #getLocale() <em>Locale</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocale()
- * @generated
- * @ordered
- */
- protected static final String LOCALE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocale() <em>Locale</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocale()
- * @generated
- * @ordered
- */
- protected String locale = LOCALE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncoding()
- * @generated
- * @ordered
- */
- protected static final String ENCODING_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEncoding()
- * @generated
- * @ordered
- */
- protected String encoding = ENCODING_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected LocalEncodingMappingImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.LOCAL_ENCODING_MAPPING;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocale() {
- return locale;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocale(String newLocale) {
- String oldLocale = locale;
- locale = newLocale;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOCAL_ENCODING_MAPPING__LOCALE, oldLocale, locale));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getEncoding() {
- return encoding;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEncoding(String newEncoding) {
- String oldEncoding = encoding;
- encoding = newEncoding;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOCAL_ENCODING_MAPPING__ENCODING, oldEncoding, encoding));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__LOCALE:
- return getLocale();
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__ENCODING:
- return getEncoding();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__LOCALE:
- setLocale((String)newValue);
- return;
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__ENCODING:
- setEncoding((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__LOCALE:
- setLocale(LOCALE_EDEFAULT);
- return;
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__ENCODING:
- setEncoding(ENCODING_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__LOCALE:
- return LOCALE_EDEFAULT == null ? locale != null : !LOCALE_EDEFAULT.equals(locale);
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING__ENCODING:
- return ENCODING_EDEFAULT == null ? encoding != null : !ENCODING_EDEFAULT.equals(encoding);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (locale: ");
- result.append(locale);
- result.append(", encoding: ");
- result.append(encoding);
- result.append(')');
- return result.toString();
- }
-
-} //LocalEncodingMappingImpl
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingListImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingListImpl.java
deleted file mode 100644
index f2a2f0e44..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LocalEncodingMappingListImpl.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Local Encoding Mapping List</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.webapplication.internal.impl.LocalEncodingMappingListImpl#getLocalEncodingMappings <em>Local Encoding Mappings</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class LocalEncodingMappingListImpl extends J2EEEObjectImpl implements LocalEncodingMappingList {
- /**
- * The cached value of the '{@link #getLocalEncodingMappings() <em>Local Encoding Mappings</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocalEncodingMappings()
- * @generated
- * @ordered
- */
- protected EList localEncodingMappings = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected LocalEncodingMappingListImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.LOCAL_ENCODING_MAPPING_LIST;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getLocalEncodingMappings() {
- if (localEncodingMappings == null) {
- localEncodingMappings = new EObjectContainmentEList(LocalEncodingMapping.class, this, WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS);
- }
- return localEncodingMappings;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS:
- return ((InternalEList)getLocalEncodingMappings()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS:
- return getLocalEncodingMappings();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS:
- getLocalEncodingMappings().clear();
- getLocalEncodingMappings().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS:
- getLocalEncodingMappings().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS:
- return localEncodingMappings != null && !localEncodingMappings.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //LocalEncodingMappingListImpl
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LoginConfigImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LoginConfigImpl.java
deleted file mode 100644
index 8d96a8e69..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/LoginConfigImpl.java
+++ /dev/null
@@ -1,446 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.AuthMethodKind;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The login-config element is used to configure the authentication method that should be used, the realm name that should be used for this application, and the attributes that are needed by the form login
- * mechanism.
- * @generated
- */
-public class LoginConfigImpl extends J2EEEObjectImpl implements LoginConfig {
-
- /**
- * The default value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAuthMethod()
- * @generated
- * @ordered
- */
- protected static final AuthMethodKind AUTH_METHOD_EDEFAULT = AuthMethodKind.UNSPECIFIED_LITERAL;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected AuthMethodKind authMethod = AUTH_METHOD_EDEFAULT;
- /**
- * This is true if the Auth Method attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean authMethodESet = false;
-
- /**
- * 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;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String realmName = REALM_NAME_EDEFAULT;
- /**
- * The default value of the '{@link #getAuthorizationMethod() <em>Authorization Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAuthorizationMethod()
- * @generated
- * @ordered
- */
- protected static final String AUTHORIZATION_METHOD_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAuthorizationMethod() <em>Authorization Method</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAuthorizationMethod()
- * @generated
- * @ordered
- */
- protected String authorizationMethod = AUTHORIZATION_METHOD_EDEFAULT;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected FormLoginConfig formLoginConfig = null;
- public LoginConfigImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.LOGIN_CONFIG;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The auth-method element is used to configure the authentication mechanism for
- * the web application. As a prerequisite to gaining access to any web resources
- * which are protected by an authorization constraint, a user must have
- * authenticated using the configured mechanism. Legal values for this element are
- * "BASIC", "DIGEST", "FORM", or "CLIENT-CERT".
- */
- public AuthMethodKind getAuthMethod() {
- return authMethod;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAuthMethod(AuthMethodKind newAuthMethod) {
- AuthMethodKind oldAuthMethod = authMethod;
- authMethod = newAuthMethod == null ? AUTH_METHOD_EDEFAULT : newAuthMethod;
- boolean oldAuthMethodESet = authMethodESet;
- authMethodESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOGIN_CONFIG__AUTH_METHOD, oldAuthMethod, authMethod, !oldAuthMethodESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetAuthMethod() {
- AuthMethodKind oldAuthMethod = authMethod;
- boolean oldAuthMethodESet = authMethodESet;
- authMethod = AUTH_METHOD_EDEFAULT;
- authMethodESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, WebapplicationPackage.LOGIN_CONFIG__AUTH_METHOD, oldAuthMethod, AUTH_METHOD_EDEFAULT, oldAuthMethodESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetAuthMethod() {
- return authMethodESet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The realm name element specifies the realm name to use in HTTP Basic
- * authorization
- */
- public String getRealmName() {
- return realmName;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setRealmName(String newRealmName) {
- String oldRealmName = realmName;
- realmName = newRealmName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOGIN_CONFIG__REALM_NAME, oldRealmName, realmName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getAuthorizationMethod() {
- return authorizationMethod;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAuthorizationMethod(String newAuthorizationMethod) {
- String oldAuthorizationMethod = authorizationMethod;
- authorizationMethod = newAuthorizationMethod;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOGIN_CONFIG__AUTHORIZATION_METHOD, oldAuthorizationMethod, authorizationMethod));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.LOGIN_CONFIG__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.LOGIN_CONFIG__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.LOGIN_CONFIG__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__LOGIN_CONFIG, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOGIN_CONFIG__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public FormLoginConfig getFormLoginConfig() {
- return formLoginConfig;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFormLoginConfig(FormLoginConfig newFormLoginConfig, NotificationChain msgs) {
- FormLoginConfig oldFormLoginConfig = formLoginConfig;
- formLoginConfig = newFormLoginConfig;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG, oldFormLoginConfig, newFormLoginConfig);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFormLoginConfig(FormLoginConfig newFormLoginConfig) {
- if (newFormLoginConfig != formLoginConfig) {
- NotificationChain msgs = null;
- if (formLoginConfig != null)
- msgs = ((InternalEObject)formLoginConfig).eInverseRemove(this, WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG, FormLoginConfig.class, msgs);
- if (newFormLoginConfig != null)
- msgs = ((InternalEObject)newFormLoginConfig).eInverseAdd(this, WebapplicationPackage.FORM_LOGIN_CONFIG__LOGIN_CONFIG, FormLoginConfig.class, msgs);
- msgs = basicSetFormLoginConfig(newFormLoginConfig, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG, newFormLoginConfig, newFormLoginConfig));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- case WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG:
- if (formLoginConfig != null)
- msgs = ((InternalEObject)formLoginConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG, null, msgs);
- return basicSetFormLoginConfig((FormLoginConfig)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- return basicSetWebApp(null, msgs);
- case WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG:
- return basicSetFormLoginConfig(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__LOGIN_CONFIG, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.LOGIN_CONFIG__AUTH_METHOD:
- return getAuthMethod();
- case WebapplicationPackage.LOGIN_CONFIG__REALM_NAME:
- return getRealmName();
- case WebapplicationPackage.LOGIN_CONFIG__AUTHORIZATION_METHOD:
- return getAuthorizationMethod();
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- return getWebApp();
- case WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG:
- return getFormLoginConfig();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.LOGIN_CONFIG__AUTH_METHOD:
- setAuthMethod((AuthMethodKind)newValue);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__REALM_NAME:
- setRealmName((String)newValue);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__AUTHORIZATION_METHOD:
- setAuthorizationMethod((String)newValue);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG:
- setFormLoginConfig((FormLoginConfig)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.LOGIN_CONFIG__AUTH_METHOD:
- unsetAuthMethod();
- return;
- case WebapplicationPackage.LOGIN_CONFIG__REALM_NAME:
- setRealmName(REALM_NAME_EDEFAULT);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__AUTHORIZATION_METHOD:
- setAuthorizationMethod(AUTHORIZATION_METHOD_EDEFAULT);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- setWebApp((WebApp)null);
- return;
- case WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG:
- setFormLoginConfig((FormLoginConfig)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.LOGIN_CONFIG__AUTH_METHOD:
- return isSetAuthMethod();
- case WebapplicationPackage.LOGIN_CONFIG__REALM_NAME:
- return REALM_NAME_EDEFAULT == null ? realmName != null : !REALM_NAME_EDEFAULT.equals(realmName);
- case WebapplicationPackage.LOGIN_CONFIG__AUTHORIZATION_METHOD:
- return AUTHORIZATION_METHOD_EDEFAULT == null ? authorizationMethod != null : !AUTHORIZATION_METHOD_EDEFAULT.equals(authorizationMethod);
- case WebapplicationPackage.LOGIN_CONFIG__WEB_APP:
- return getWebApp() != null;
- case WebapplicationPackage.LOGIN_CONFIG__FORM_LOGIN_CONFIG:
- return formLoginConfig != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (authMethod: ");
- if (authMethodESet) result.append(authMethod); else result.append("<unset>");
- result.append(", realmName: ");
- result.append(realmName);
- result.append(", authorizationMethod: ");
- result.append(authorizationMethod);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/MimeMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/MimeMappingImpl.java
deleted file mode 100644
index fe6c22036..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/MimeMappingImpl.java
+++ /dev/null
@@ -1,290 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The mime-mapping element defines a mapping between an extension and a mime type.
- * @generated
- */
-public class MimeMappingImpl extends J2EEEObjectImpl implements MimeMapping {
-
- /**
- * The default value of the '{@link #getExtension() <em>Extension</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExtension()
- * @generated
- * @ordered
- */
- protected static final String EXTENSION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String extension = EXTENSION_EDEFAULT;
- /**
- * The default value of the '{@link #getMimeType() <em>Mime Type</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMimeType()
- * @generated
- * @ordered
- */
- protected static final String MIME_TYPE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String mimeType = MIME_TYPE_EDEFAULT;
- public MimeMappingImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.MIME_MAPPING;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The extension element contains a string describing an extension. example: "txt"
- */
- public String getExtension() {
- return extension;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setExtension(String newExtension) {
- String oldExtension = extension;
- extension = newExtension;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.MIME_MAPPING__EXTENSION, oldExtension, extension));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The mime-type element contains a defined mime type. example: "text//plain"
- */
- public String getMimeType() {
- return mimeType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setMimeType(String newMimeType) {
- String oldMimeType = mimeType;
- mimeType = newMimeType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.MIME_MAPPING__MIME_TYPE, oldMimeType, mimeType));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.MIME_MAPPING__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.MIME_MAPPING__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.MIME_MAPPING__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__MIME_MAPPINGS, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.MIME_MAPPING__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- return basicSetWebApp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__MIME_MAPPINGS, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.MIME_MAPPING__EXTENSION:
- return getExtension();
- case WebapplicationPackage.MIME_MAPPING__MIME_TYPE:
- return getMimeType();
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- return getWebApp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.MIME_MAPPING__EXTENSION:
- setExtension((String)newValue);
- return;
- case WebapplicationPackage.MIME_MAPPING__MIME_TYPE:
- setMimeType((String)newValue);
- return;
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.MIME_MAPPING__EXTENSION:
- setExtension(EXTENSION_EDEFAULT);
- return;
- case WebapplicationPackage.MIME_MAPPING__MIME_TYPE:
- setMimeType(MIME_TYPE_EDEFAULT);
- return;
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- setWebApp((WebApp)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.MIME_MAPPING__EXTENSION:
- return EXTENSION_EDEFAULT == null ? extension != null : !EXTENSION_EDEFAULT.equals(extension);
- case WebapplicationPackage.MIME_MAPPING__MIME_TYPE:
- return MIME_TYPE_EDEFAULT == null ? mimeType != null : !MIME_TYPE_EDEFAULT.equals(mimeType);
- case WebapplicationPackage.MIME_MAPPING__WEB_APP:
- return getWebApp() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (extension: ");
- result.append(extension);
- result.append(", mimeType: ");
- result.append(mimeType);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/RoleNameTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/RoleNameTypeImpl.java
deleted file mode 100644
index cc5fcd4c2..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/RoleNameTypeImpl.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.RoleNameType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * @generated
- */
-public class RoleNameTypeImpl extends J2EEEObjectImpl implements RoleNameType {
-
- /**
- * The default value of the '{@link #getRoleName() <em>Role Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRoleName()
- * @generated
- * @ordered
- */
- protected static final String ROLE_NAME_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String roleName = ROLE_NAME_EDEFAULT;
- public RoleNameTypeImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.ROLE_NAME_TYPE;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getRoleName() {
- return roleName;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setRoleName(String newRoleName) {
- String oldRoleName = roleName;
- roleName = newRoleName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.ROLE_NAME_TYPE__ROLE_NAME, oldRoleName, roleName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.ROLE_NAME_TYPE__ROLE_NAME:
- return getRoleName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.ROLE_NAME_TYPE__ROLE_NAME:
- setRoleName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.ROLE_NAME_TYPE__ROLE_NAME:
- setRoleName(ROLE_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.ROLE_NAME_TYPE__ROLE_NAME:
- return ROLE_NAME_EDEFAULT == null ? roleName != null : !ROLE_NAME_EDEFAULT.equals(roleName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (roleName: ");
- result.append(roleName);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SecurityConstraintImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SecurityConstraintImpl.java
deleted file mode 100644
index 468099288..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SecurityConstraintImpl.java
+++ /dev/null
@@ -1,450 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.DisplayName;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * The security-constraint element is used to associate security constraints with one or more web resource collections
- * @generated
- */
-public class SecurityConstraintImpl extends J2EEEObjectImpl implements SecurityConstraint {
-
- /**
- * The default value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDisplayName()
- * @generated
- * @ordered
- */
- protected static final String DISPLAY_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDisplayName()
- * @generated
- * @ordered
- */
- protected String displayName = DISPLAY_NAME_EDEFAULT;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList webResourceCollections = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected AuthConstraint authConstraint = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected UserDataConstraint userDataConstraint = null;
- /**
- * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDisplayNames()
- * @generated
- * @ordered
- */
- protected EList displayNames = null;
-
- public SecurityConstraintImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.SECURITY_CONSTRAINT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDisplayName() {
- return displayName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDisplayName(String newDisplayName) {
- String oldDisplayName = displayName;
- displayName = newDisplayName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAME, oldDisplayName, displayName));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__CONSTRAINTS, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getWebResourceCollections() {
- if (webResourceCollections == null) {
- webResourceCollections = new EObjectContainmentWithInverseEList(WebResourceCollection.class, this, WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS, WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT);
- }
- return webResourceCollections;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public AuthConstraint getAuthConstraint() {
- return authConstraint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetAuthConstraint(AuthConstraint newAuthConstraint, NotificationChain msgs) {
- AuthConstraint oldAuthConstraint = authConstraint;
- authConstraint = newAuthConstraint;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT, oldAuthConstraint, newAuthConstraint);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setAuthConstraint(AuthConstraint newAuthConstraint) {
- if (newAuthConstraint != authConstraint) {
- NotificationChain msgs = null;
- if (authConstraint != null)
- msgs = ((InternalEObject)authConstraint).eInverseRemove(this, WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT, AuthConstraint.class, msgs);
- if (newAuthConstraint != null)
- msgs = ((InternalEObject)newAuthConstraint).eInverseAdd(this, WebapplicationPackage.AUTH_CONSTRAINT__SEC_CONSTRAINT, AuthConstraint.class, msgs);
- msgs = basicSetAuthConstraint(newAuthConstraint, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT, newAuthConstraint, newAuthConstraint));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public UserDataConstraint getUserDataConstraint() {
- return userDataConstraint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetUserDataConstraint(UserDataConstraint newUserDataConstraint, NotificationChain msgs) {
- UserDataConstraint oldUserDataConstraint = userDataConstraint;
- userDataConstraint = newUserDataConstraint;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT, oldUserDataConstraint, newUserDataConstraint);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setUserDataConstraint(UserDataConstraint newUserDataConstraint) {
- if (newUserDataConstraint != userDataConstraint) {
- NotificationChain msgs = null;
- if (userDataConstraint != null)
- msgs = ((InternalEObject)userDataConstraint).eInverseRemove(this, WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT, UserDataConstraint.class, msgs);
- if (newUserDataConstraint != null)
- msgs = ((InternalEObject)newUserDataConstraint).eInverseAdd(this, WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT, UserDataConstraint.class, msgs);
- msgs = basicSetUserDataConstraint(newUserDataConstraint, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT, newUserDataConstraint, newUserDataConstraint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDisplayNames() {
- if (displayNames == null) {
- displayNames = new EObjectContainmentEList(DisplayName.class, this, WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAMES);
- }
- return displayNames;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS:
- return ((InternalEList)getWebResourceCollections()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT:
- if (authConstraint != null)
- msgs = ((InternalEObject)authConstraint).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT, null, msgs);
- return basicSetAuthConstraint((AuthConstraint)otherEnd, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT:
- if (userDataConstraint != null)
- msgs = ((InternalEObject)userDataConstraint).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT, null, msgs);
- return basicSetUserDataConstraint((UserDataConstraint)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- return basicSetWebApp(null, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS:
- return ((InternalEList)getWebResourceCollections()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT:
- return basicSetAuthConstraint(null, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT:
- return basicSetUserDataConstraint(null, msgs);
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAMES:
- return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__CONSTRAINTS, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAME:
- return getDisplayName();
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- return getWebApp();
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS:
- return getWebResourceCollections();
- case WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT:
- return getAuthConstraint();
- case WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT:
- return getUserDataConstraint();
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAMES:
- return getDisplayNames();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAME:
- setDisplayName((String)newValue);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS:
- getWebResourceCollections().clear();
- getWebResourceCollections().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT:
- setAuthConstraint((AuthConstraint)newValue);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT:
- setUserDataConstraint((UserDataConstraint)newValue);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAMES:
- getDisplayNames().clear();
- getDisplayNames().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAME:
- setDisplayName(DISPLAY_NAME_EDEFAULT);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- setWebApp((WebApp)null);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS:
- getWebResourceCollections().clear();
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT:
- setAuthConstraint((AuthConstraint)null);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT:
- setUserDataConstraint((UserDataConstraint)null);
- return;
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAMES:
- getDisplayNames().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAME:
- return DISPLAY_NAME_EDEFAULT == null ? displayName != null : !DISPLAY_NAME_EDEFAULT.equals(displayName);
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP:
- return getWebApp() != null;
- case WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS:
- return webResourceCollections != null && !webResourceCollections.isEmpty();
- case WebapplicationPackage.SECURITY_CONSTRAINT__AUTH_CONSTRAINT:
- return authConstraint != null;
- case WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT:
- return userDataConstraint != null;
- case WebapplicationPackage.SECURITY_CONSTRAINT__DISPLAY_NAMES:
- return displayNames != null && !displayNames.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (displayName: ");
- result.append(displayName);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletImpl.java
deleted file mode 100644
index 19178756d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletImpl.java
+++ /dev/null
@@ -1,621 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Properties;
-import java.util.Vector;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.BasicEList;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jst.j2ee.common.ParamValue;
-import org.eclipse.jst.j2ee.common.RunAsSpecifiedIdentity;
-import org.eclipse.jst.j2ee.common.SecurityRoleRef;
-import org.eclipse.jst.j2ee.common.internal.impl.CompatibilityDescriptionGroupImpl;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * The servlet element contains the declarative data of a servlet. If a jsp-file is specified and the load-on-startup element is present, then the JSP should be precompiled and loaded.
- */
-public class ServletImpl extends CompatibilityDescriptionGroupImpl implements Servlet {
-
- /**
- * The default value of the '{@link #getServletName() <em>Servlet Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getServletName()
- * @generated
- * @ordered
- */
- protected static final String SERVLET_NAME_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String servletName = SERVLET_NAME_EDEFAULT;
- /**
- * The default value of the '{@link #getLoadOnStartup() <em>Load On Startup</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLoadOnStartup()
- * @generated
- * @ordered
- */
- protected static final Integer LOAD_ON_STARTUP_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected Integer loadOnStartup = LOAD_ON_STARTUP_EDEFAULT;
- /**
- * This is true if the Load On Startup attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean loadOnStartupESet = false;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected WebType webType = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList params = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList securityRoleRefs = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected RunAsSpecifiedIdentity runAs = null;
- /**
- * The cached value of the '{@link #getInitParams() <em>Init Params</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInitParams()
- * @generated
- * @ordered
- */
- protected EList initParams = null;
-
- public ServletImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.SERVLET;
- }
-
-/**
- * Returns an unmodifiable list of the mappings that this
- * servlet participates in. Since servletMappings is not
- * a bi-directional attribute, if you want to add or delete a
- * mapping, this must be done in the web-app.
- * @return java.util.List
- */
-public List getMappings() {
- WebApp webApp = (WebApp) eContainer();
- if (webApp == null) return new BasicEList(0);
-
- EList allMappings = webApp.getServletMappings();
- Iterator i = allMappings.iterator();
- List mappings = new Vector();
- while (i.hasNext()) {
- ServletMapping mapping = (ServletMapping) i.next();
- if (mapping.getServlet() == this)
- mappings.add(mapping);
- }
- return mappings;
-}
-/**
- * getParamsAsProperties method comment.
- */
-public Properties getParamsAsProperties() {
- Properties props = new Properties();
- List lparams = getParams();
- InitParam param;
- for (int i = 0; i < lparams.size(); i++) {
- param = (InitParam) lparams.get(i);
- props.setProperty(param.getParamName(), param.getParamValue());
- }
- return props;
-}
-/**
- * @see Servlet
- */
-public void reSyncSecurityRoleRef(java.lang.String existingRoleName, java.lang.String newRoleName) {
- List roleRefs = getSecurityRoleRefs();
- for (int i = 0; i < roleRefs.size(); i++) {
- SecurityRoleRef roleRef = (SecurityRoleRef) roleRefs.get(i);
- if (roleRef.getLink() != null && roleRef.getLink().equals(existingRoleName))
- roleRef.setLink(newRoleName);
- }
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The servlet-name element contains the canonical name of the servlet.
- */
- public String getServletName() {
- return servletName;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setServletName(String newServletName) {
- String oldServletName = servletName;
- servletName = newServletName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__SERVLET_NAME, oldServletName, servletName));
- }
-
- /**
- *
- */
- public void setDisplayName(String newDisplayName) {
- super.setDisplayName(newDisplayName);
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The load-on-startup element indicates that this servlet should be loaded on the startup of the web application. The optional contents of these element must be a positive integer indicating the order in which the servlet should be loaded. Lower integers are loaded before higher integers. If no value is specified, or if the value specified is not a positive integer, the container is free to load it at any time in the startup sequence.
-
- */
- public Integer getLoadOnStartup() {
- return loadOnStartup;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLoadOnStartup(Integer newLoadOnStartup) {
- Integer oldLoadOnStartup = loadOnStartup;
- loadOnStartup = newLoadOnStartup;
- boolean oldLoadOnStartupESet = loadOnStartupESet;
- loadOnStartupESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__LOAD_ON_STARTUP, oldLoadOnStartup, loadOnStartup, !oldLoadOnStartupESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetLoadOnStartup() {
- Integer oldLoadOnStartup = loadOnStartup;
- boolean oldLoadOnStartupESet = loadOnStartupESet;
- loadOnStartup = LOAD_ON_STARTUP_EDEFAULT;
- loadOnStartupESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, WebapplicationPackage.SERVLET__LOAD_ON_STARTUP, oldLoadOnStartup, LOAD_ON_STARTUP_EDEFAULT, oldLoadOnStartupESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetLoadOnStartup() {
- return loadOnStartupESet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.SERVLET__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.SERVLET__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.SERVLET__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__SERVLETS, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebType getWebType() {
- return webType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebType(WebType newWebType, NotificationChain msgs) {
- WebType oldWebType = webType;
- webType = newWebType;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__WEB_TYPE, oldWebType, newWebType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebType(WebType newWebType) {
- if (newWebType != webType) {
- NotificationChain msgs = null;
- if (webType != null)
- msgs = ((InternalEObject)webType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.SERVLET__WEB_TYPE, null, msgs);
- if (newWebType != null)
- msgs = ((InternalEObject)newWebType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.SERVLET__WEB_TYPE, null, msgs);
- msgs = basicSetWebType(newWebType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__WEB_TYPE, newWebType, newWebType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * getParams() is used for J2EE1.4
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getParams() {
- if (params == null) {
- params = new EObjectContainmentEList(InitParam.class, this, WebapplicationPackage.SERVLET__PARAMS);
- }
- return params;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getSecurityRoleRefs() {
- if (securityRoleRefs == null) {
- securityRoleRefs = new EObjectContainmentEList(SecurityRoleRef.class, this, WebapplicationPackage.SERVLET__SECURITY_ROLE_REFS);
- }
- return securityRoleRefs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * If defined for a servlet, overrides the security identity used to call an EJB by that servlet in this web application. The role-name is one of the security roles already defined for this web application.
- */
- public RunAsSpecifiedIdentity getRunAs() {
- return runAs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRunAs(RunAsSpecifiedIdentity newRunAs, NotificationChain msgs) {
- RunAsSpecifiedIdentity oldRunAs = runAs;
- runAs = newRunAs;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__RUN_AS, oldRunAs, newRunAs);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setRunAs(RunAsSpecifiedIdentity newRunAs) {
- if (newRunAs != runAs) {
- NotificationChain msgs = null;
- if (runAs != null)
- msgs = ((InternalEObject)runAs).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.SERVLET__RUN_AS, null, msgs);
- if (newRunAs != null)
- msgs = ((InternalEObject)newRunAs).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.SERVLET__RUN_AS, null, msgs);
- msgs = basicSetRunAs(newRunAs, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET__RUN_AS, newRunAs, newRunAs));
- }
-
- /**
- * <!-- begin-user-doc -->
- * getInitParams() is used for J2EE1.3
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getInitParams() {
- if (initParams == null) {
- initParams = new EObjectContainmentEList(ParamValue.class, this, WebapplicationPackage.SERVLET__INIT_PARAMS);
- }
- return initParams;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET__WEB_APP:
- return basicSetWebApp(null, msgs);
- case WebapplicationPackage.SERVLET__WEB_TYPE:
- return basicSetWebType(null, msgs);
- case WebapplicationPackage.SERVLET__PARAMS:
- return ((InternalEList)getParams()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.SERVLET__SECURITY_ROLE_REFS:
- return ((InternalEList)getSecurityRoleRefs()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.SERVLET__RUN_AS:
- return basicSetRunAs(null, msgs);
- case WebapplicationPackage.SERVLET__INIT_PARAMS:
- return ((InternalEList)getInitParams()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.SERVLET__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__SERVLETS, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET__SERVLET_NAME:
- return getServletName();
- case WebapplicationPackage.SERVLET__LOAD_ON_STARTUP:
- return getLoadOnStartup();
- case WebapplicationPackage.SERVLET__WEB_APP:
- return getWebApp();
- case WebapplicationPackage.SERVLET__WEB_TYPE:
- return getWebType();
- case WebapplicationPackage.SERVLET__PARAMS:
- return getParams();
- case WebapplicationPackage.SERVLET__SECURITY_ROLE_REFS:
- return getSecurityRoleRefs();
- case WebapplicationPackage.SERVLET__RUN_AS:
- return getRunAs();
- case WebapplicationPackage.SERVLET__INIT_PARAMS:
- return getInitParams();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET__SERVLET_NAME:
- setServletName((String)newValue);
- return;
- case WebapplicationPackage.SERVLET__LOAD_ON_STARTUP:
- setLoadOnStartup((Integer)newValue);
- return;
- case WebapplicationPackage.SERVLET__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- case WebapplicationPackage.SERVLET__WEB_TYPE:
- setWebType((WebType)newValue);
- return;
- case WebapplicationPackage.SERVLET__PARAMS:
- getParams().clear();
- getParams().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.SERVLET__SECURITY_ROLE_REFS:
- getSecurityRoleRefs().clear();
- getSecurityRoleRefs().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.SERVLET__RUN_AS:
- setRunAs((RunAsSpecifiedIdentity)newValue);
- return;
- case WebapplicationPackage.SERVLET__INIT_PARAMS:
- getInitParams().clear();
- getInitParams().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET__SERVLET_NAME:
- setServletName(SERVLET_NAME_EDEFAULT);
- return;
- case WebapplicationPackage.SERVLET__LOAD_ON_STARTUP:
- unsetLoadOnStartup();
- return;
- case WebapplicationPackage.SERVLET__WEB_APP:
- setWebApp((WebApp)null);
- return;
- case WebapplicationPackage.SERVLET__WEB_TYPE:
- setWebType((WebType)null);
- return;
- case WebapplicationPackage.SERVLET__PARAMS:
- getParams().clear();
- return;
- case WebapplicationPackage.SERVLET__SECURITY_ROLE_REFS:
- getSecurityRoleRefs().clear();
- return;
- case WebapplicationPackage.SERVLET__RUN_AS:
- setRunAs((RunAsSpecifiedIdentity)null);
- return;
- case WebapplicationPackage.SERVLET__INIT_PARAMS:
- getInitParams().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET__SERVLET_NAME:
- return SERVLET_NAME_EDEFAULT == null ? servletName != null : !SERVLET_NAME_EDEFAULT.equals(servletName);
- case WebapplicationPackage.SERVLET__LOAD_ON_STARTUP:
- return isSetLoadOnStartup();
- case WebapplicationPackage.SERVLET__WEB_APP:
- return getWebApp() != null;
- case WebapplicationPackage.SERVLET__WEB_TYPE:
- return webType != null;
- case WebapplicationPackage.SERVLET__PARAMS:
- return params != null && !params.isEmpty();
- case WebapplicationPackage.SERVLET__SECURITY_ROLE_REFS:
- return securityRoleRefs != null && !securityRoleRefs.isEmpty();
- case WebapplicationPackage.SERVLET__RUN_AS:
- return runAs != null;
- case WebapplicationPackage.SERVLET__INIT_PARAMS:
- return initParams != null && !initParams.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (servletName: ");
- result.append(servletName);
- result.append(", loadOnStartup: ");
- if (loadOnStartupESet) result.append(loadOnStartup); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
- /**
- * return the java servlet class for this servlet
- */
- public JavaClass getServletClass() {
- JavaClass javaClass = null;
- String javaClassName = null;
- // Handle servlet case
- if (getWebType().isServletType())
- javaClassName = ((ServletType)getWebType()).getClassName();
- //Handle the JSP case
- else {
- String relPath = ((JSPType)getWebType()).getJspFile();
- URI webAppURI = getWebApp().eResource().getURI();
- javaClassName = webAppURI.segment(1)+"/"+webAppURI.segment(2)+relPath;//$NON-NLS-1$
- }
- javaClass = (JavaClass) JavaRefFactory.eINSTANCE.reflectType(javaClassName,this);
- return javaClass;
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletMappingImpl.java
deleted file mode 100644
index 206355e24..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletMappingImpl.java
+++ /dev/null
@@ -1,350 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The servlet-mapping element defines a mapping between a servlet and a url pattern
- * @generated
- */
-public class ServletMappingImpl extends J2EEEObjectImpl implements ServletMapping {
-
- /**
- * The default value of the '{@link #getUrlPattern() <em>Url Pattern</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUrlPattern()
- * @generated
- * @ordered
- */
- protected static final String URL_PATTERN_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String urlPattern = URL_PATTERN_EDEFAULT;
- /**
- * 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;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected Servlet servlet = null;
- public ServletMappingImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.SERVLET_MAPPING;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The url-pattern element contains the url pattern of the mapping. Must follow
- * the rules specified in Section 10 of the Servlet API Specification.
- */
- public String getUrlPattern() {
- return urlPattern;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setUrlPattern(String newUrlPattern) {
- String oldUrlPattern = urlPattern;
- urlPattern = newUrlPattern;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET_MAPPING__URL_PATTERN, oldUrlPattern, urlPattern));
- }
-
- /**
- * <!-- 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, WebapplicationPackage.SERVLET_MAPPING__NAME, oldName, name));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.SERVLET_MAPPING__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.SERVLET_MAPPING__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.SERVLET_MAPPING__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET_MAPPING__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public Servlet getServlet() {
- if (servlet != null && servlet.eIsProxy()) {
- InternalEObject oldServlet = (InternalEObject)servlet;
- servlet = (Servlet)eResolveProxy(oldServlet);
- if (servlet != oldServlet) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, WebapplicationPackage.SERVLET_MAPPING__SERVLET, oldServlet, servlet));
- }
- }
- return servlet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Servlet basicGetServlet() {
- return servlet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setServlet(Servlet newServlet) {
- Servlet oldServlet = servlet;
- servlet = newServlet;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET_MAPPING__SERVLET, oldServlet, servlet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- return basicSetWebApp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_MAPPING__URL_PATTERN:
- return getUrlPattern();
- case WebapplicationPackage.SERVLET_MAPPING__NAME:
- return getName();
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- return getWebApp();
- case WebapplicationPackage.SERVLET_MAPPING__SERVLET:
- if (resolve) return getServlet();
- return basicGetServlet();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_MAPPING__URL_PATTERN:
- setUrlPattern((String)newValue);
- return;
- case WebapplicationPackage.SERVLET_MAPPING__NAME:
- setName((String)newValue);
- return;
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- case WebapplicationPackage.SERVLET_MAPPING__SERVLET:
- setServlet((Servlet)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_MAPPING__URL_PATTERN:
- setUrlPattern(URL_PATTERN_EDEFAULT);
- return;
- case WebapplicationPackage.SERVLET_MAPPING__NAME:
- setName(NAME_EDEFAULT);
- return;
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- setWebApp((WebApp)null);
- return;
- case WebapplicationPackage.SERVLET_MAPPING__SERVLET:
- setServlet((Servlet)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_MAPPING__URL_PATTERN:
- return URL_PATTERN_EDEFAULT == null ? urlPattern != null : !URL_PATTERN_EDEFAULT.equals(urlPattern);
- case WebapplicationPackage.SERVLET_MAPPING__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case WebapplicationPackage.SERVLET_MAPPING__WEB_APP:
- return getWebApp() != null;
- case WebapplicationPackage.SERVLET_MAPPING__SERVLET:
- return servlet != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (urlPattern: ");
- result.append(urlPattern);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletTypeImpl.java
deleted file mode 100644
index 67f911a1b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/ServletTypeImpl.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * @generated
- */
-public class ServletTypeImpl extends WebTypeImpl implements ServletType {
-
- /**
- * The default value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getClassName()
- * @generated
- * @ordered
- */
- protected static final String CLASS_NAME_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String className = CLASS_NAME_EDEFAULT;
- public ServletTypeImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.SERVLET_TYPE;
- }
-
-public boolean isServletType() {
- return true;
-}
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getClassName() {
- return className;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setClassName(String newClassName) {
- String oldClassName = className;
- className = newClassName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SERVLET_TYPE__CLASS_NAME, oldClassName, className));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_TYPE__CLASS_NAME:
- return getClassName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_TYPE__CLASS_NAME:
- setClassName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_TYPE__CLASS_NAME:
- setClassName(CLASS_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SERVLET_TYPE__CLASS_NAME:
- return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (className: ");
- result.append(className);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SessionConfigImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SessionConfigImpl.java
deleted file mode 100644
index c905f6762..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/SessionConfigImpl.java
+++ /dev/null
@@ -1,282 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The session-config element defines the session parameters for this web application.
- * @generated
- */
-public class SessionConfigImpl extends J2EEEObjectImpl implements SessionConfig {
-
- /**
- * The default value of the '{@link #getSessionTimeout() <em>Session Timeout</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSessionTimeout()
- * @generated
- * @ordered
- */
- protected static final int SESSION_TIMEOUT_EDEFAULT = 0;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected int sessionTimeout = SESSION_TIMEOUT_EDEFAULT;
- /**
- * This is true if the Session Timeout attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean sessionTimeoutESet = false;
-
- public SessionConfigImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.SESSION_CONFIG;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The session-timeout element defines the default session timeout interval for
- * all sessions created in this web application. The specified timeout must be
- * expressed in a whole number of minutes.
- */
- public int getSessionTimeout() {
- return sessionTimeout;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setSessionTimeout(int newSessionTimeout) {
- int oldSessionTimeout = sessionTimeout;
- sessionTimeout = newSessionTimeout;
- boolean oldSessionTimeoutESet = sessionTimeoutESet;
- sessionTimeoutESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SESSION_CONFIG__SESSION_TIMEOUT, oldSessionTimeout, sessionTimeout, !oldSessionTimeoutESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetSessionTimeout() {
- int oldSessionTimeout = sessionTimeout;
- boolean oldSessionTimeoutESet = sessionTimeoutESet;
- sessionTimeout = SESSION_TIMEOUT_EDEFAULT;
- sessionTimeoutESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, WebapplicationPackage.SESSION_CONFIG__SESSION_TIMEOUT, oldSessionTimeout, SESSION_TIMEOUT_EDEFAULT, oldSessionTimeoutESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetSessionTimeout() {
- return sessionTimeoutESet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.SESSION_CONFIG__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.SESSION_CONFIG__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.SESSION_CONFIG__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__SESSION_CONFIG, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.SESSION_CONFIG__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- return basicSetWebApp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__SESSION_CONFIG, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.SESSION_CONFIG__SESSION_TIMEOUT:
- return new Integer(getSessionTimeout());
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- return getWebApp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.SESSION_CONFIG__SESSION_TIMEOUT:
- setSessionTimeout(((Integer)newValue).intValue());
- return;
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SESSION_CONFIG__SESSION_TIMEOUT:
- unsetSessionTimeout();
- return;
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- setWebApp((WebApp)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.SESSION_CONFIG__SESSION_TIMEOUT:
- return isSetSessionTimeout();
- case WebapplicationPackage.SESSION_CONFIG__WEB_APP:
- return getWebApp() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (sessionTimeout: ");
- if (sessionTimeoutESet) result.append(sessionTimeout); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/TagLibRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/TagLibRefImpl.java
deleted file mode 100644
index cb501cb24..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/TagLibRefImpl.java
+++ /dev/null
@@ -1,297 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * The taglib element is used to describe a JSP tag library.
- * @generated
- */
-public class TagLibRefImpl extends J2EEEObjectImpl implements TagLibRef {
-
- /**
- * The default value of the '{@link #getTaglibURI() <em>Taglib URI</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaglibURI()
- * @generated
- * @ordered
- */
- protected static final String TAGLIB_URI_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String taglibURI = TAGLIB_URI_EDEFAULT;
- /**
- * The default value of the '{@link #getTaglibLocation() <em>Taglib Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTaglibLocation()
- * @generated
- * @ordered
- */
- protected static final String TAGLIB_LOCATION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String taglibLocation = TAGLIB_LOCATION_EDEFAULT;
- public TagLibRefImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.TAG_LIB_REF;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The taglib-uri element describes a URI, relative to the location of the web.xml
- * document, identifying a Tag Library used in the Web Application.
- */
- public String getTaglibURI() {
- return taglibURI;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setTaglibURI(String newTaglibURI) {
- String oldTaglibURI = taglibURI;
- taglibURI = newTaglibURI;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.TAG_LIB_REF__TAGLIB_URI, oldTaglibURI, taglibURI));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The taglib-location element contains the location (as a resource relative to
- * the root of the web application) where to find the Tag Libary Description file
- * for the tag library.
- */
- public String getTaglibLocation() {
- return taglibLocation;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setTaglibLocation(String newTaglibLocation) {
- String oldTaglibLocation = taglibLocation;
- taglibLocation = newTaglibLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.TAG_LIB_REF__TAGLIB_LOCATION, oldTaglibLocation, taglibLocation));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.TAG_LIB_REF__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.TAG_LIB_REF__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.TAG_LIB_REF__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__TAG_LIBS, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.TAG_LIB_REF__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- return basicSetWebApp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__TAG_LIBS, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_URI:
- return getTaglibURI();
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_LOCATION:
- return getTaglibLocation();
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- return getWebApp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_URI:
- setTaglibURI((String)newValue);
- return;
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_LOCATION:
- setTaglibLocation((String)newValue);
- return;
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_URI:
- setTaglibURI(TAGLIB_URI_EDEFAULT);
- return;
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_LOCATION:
- setTaglibLocation(TAGLIB_LOCATION_EDEFAULT);
- return;
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- setWebApp((WebApp)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_URI:
- return TAGLIB_URI_EDEFAULT == null ? taglibURI != null : !TAGLIB_URI_EDEFAULT.equals(taglibURI);
- case WebapplicationPackage.TAG_LIB_REF__TAGLIB_LOCATION:
- return TAGLIB_LOCATION_EDEFAULT == null ? taglibLocation != null : !TAGLIB_LOCATION_EDEFAULT.equals(taglibLocation);
- case WebapplicationPackage.TAG_LIB_REF__WEB_APP:
- return getWebApp() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (taglibURI: ");
- result.append(taglibURI);
- result.append(", taglibLocation: ");
- result.append(taglibLocation);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/URLPatternTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/URLPatternTypeImpl.java
deleted file mode 100644
index ce8bda977..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/URLPatternTypeImpl.java
+++ /dev/null
@@ -1,244 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * @generated
- */
-public class URLPatternTypeImpl extends J2EEEObjectImpl implements URLPatternType {
-
- /**
- * The default value of the '{@link #getUrlPattern() <em>Url Pattern</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUrlPattern()
- * @generated
- * @ordered
- */
- protected static final String URL_PATTERN_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String urlPattern = URL_PATTERN_EDEFAULT;
- public URLPatternTypeImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.URL_PATTERN_TYPE;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getUrlPattern() {
- return urlPattern;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setUrlPattern(String newUrlPattern) {
- String oldUrlPattern = urlPattern;
- urlPattern = newUrlPattern;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.URL_PATTERN_TYPE__URL_PATTERN, oldUrlPattern, urlPattern));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebResourceCollection getResCollection() {
- if (eContainerFeatureID != WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION) return null;
- return (WebResourceCollection)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetResCollection(WebResourceCollection newResCollection, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newResCollection, WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setResCollection(WebResourceCollection newResCollection) {
- if (newResCollection != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION && newResCollection != null)) {
- if (EcoreUtil.isAncestor(this, newResCollection))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newResCollection != null)
- msgs = ((InternalEObject)newResCollection).eInverseAdd(this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS, WebResourceCollection.class, msgs);
- msgs = basicSetResCollection(newResCollection, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION, newResCollection, newResCollection));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetResCollection((WebResourceCollection)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- return basicSetResCollection(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS, WebResourceCollection.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__URL_PATTERN:
- return getUrlPattern();
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- return getResCollection();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__URL_PATTERN:
- setUrlPattern((String)newValue);
- return;
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- setResCollection((WebResourceCollection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__URL_PATTERN:
- setUrlPattern(URL_PATTERN_EDEFAULT);
- return;
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- setResCollection((WebResourceCollection)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.URL_PATTERN_TYPE__URL_PATTERN:
- return URL_PATTERN_EDEFAULT == null ? urlPattern != null : !URL_PATTERN_EDEFAULT.equals(urlPattern);
- case WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION:
- return getResCollection() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (urlPattern: ");
- result.append(urlPattern);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/UserDataConstraintImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/UserDataConstraintImpl.java
deleted file mode 100644
index fbf20e313..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/UserDataConstraintImpl.java
+++ /dev/null
@@ -1,377 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.Description;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.TransportGuaranteeType;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * The user-data-constraint element is used to indicate how data communicated between the client and container should be protected
- * @generated
- */
-public class UserDataConstraintImpl extends J2EEEObjectImpl implements UserDataConstraint {
-
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String description = DESCRIPTION_EDEFAULT;
- /**
- * The default value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransportGuarantee()
- * @generated
- * @ordered
- */
- protected static final TransportGuaranteeType TRANSPORT_GUARANTEE_EDEFAULT = TransportGuaranteeType.NONE_LITERAL;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected TransportGuaranteeType transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
- /**
- * This is true if the Transport Guarantee attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean transportGuaranteeESet = false;
-
- /**
- * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescriptions()
- * @generated
- * @ordered
- */
- protected EList descriptions = null;
-
- public UserDataConstraintImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.USER_DATA_CONSTRAINT;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * A description for the user data constraint.
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The transport-guarantee element specifies that the communication between client
- * and server should be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the
- * application does not require any
- * transport guarantees. A value of INTEGRAL means that the application requires
- * that the data sent between the client and server be sent in such a way that it
- * can't be changed in transit. CONFIDENTIAL means that the application requires
- * that the data be transmitted in a fashion that prevents other entities from
- * observing the contents of the transmission. In most cases, the presence of the
- * INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required.
- */
- public TransportGuaranteeType getTransportGuarantee() {
- return transportGuarantee;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransportGuarantee(TransportGuaranteeType newTransportGuarantee) {
- TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
- transportGuarantee = newTransportGuarantee == null ? TRANSPORT_GUARANTEE_EDEFAULT : newTransportGuarantee;
- boolean oldTransportGuaranteeESet = transportGuaranteeESet;
- transportGuaranteeESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE, oldTransportGuarantee, transportGuarantee, !oldTransportGuaranteeESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetTransportGuarantee() {
- TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
- boolean oldTransportGuaranteeESet = transportGuaranteeESet;
- transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
- transportGuaranteeESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, WebapplicationPackage.USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE, oldTransportGuarantee, TRANSPORT_GUARANTEE_EDEFAULT, oldTransportGuaranteeESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetTransportGuarantee() {
- return transportGuaranteeESet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public SecurityConstraint getSecConstraint() {
- if (eContainerFeatureID != WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT) return null;
- return (SecurityConstraint)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSecConstraint(SecurityConstraint newSecConstraint, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newSecConstraint, WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setSecConstraint(SecurityConstraint newSecConstraint) {
- if (newSecConstraint != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT && newSecConstraint != null)) {
- if (EcoreUtil.isAncestor(this, newSecConstraint))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newSecConstraint != null)
- msgs = ((InternalEObject)newSecConstraint).eInverseAdd(this, WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT, SecurityConstraint.class, msgs);
- msgs = basicSetSecConstraint(newSecConstraint, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT, newSecConstraint, newSecConstraint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDescriptions() {
- if (descriptions == null) {
- descriptions = new EObjectContainmentEList(Description.class, this, WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTIONS);
- }
- return descriptions;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetSecConstraint((SecurityConstraint)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- return basicSetSecConstraint(null, msgs);
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT, SecurityConstraint.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTION:
- return getDescription();
- case WebapplicationPackage.USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE:
- return getTransportGuarantee();
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- return getSecConstraint();
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTIONS:
- return getDescriptions();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE:
- setTransportGuarantee((TransportGuaranteeType)newValue);
- return;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- setSecConstraint((SecurityConstraint)newValue);
- return;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE:
- unsetTransportGuarantee();
- return;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- setSecConstraint((SecurityConstraint)null);
- return;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case WebapplicationPackage.USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE:
- return isSetTransportGuarantee();
- case WebapplicationPackage.USER_DATA_CONSTRAINT__SEC_CONSTRAINT:
- return getSecConstraint() != null;
- case WebapplicationPackage.USER_DATA_CONSTRAINT__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(", transportGuarantee: ");
- if (transportGuaranteeESet) result.append(transportGuarantee); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppImpl.java
deleted file mode 100644
index 3a7ea52ba..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppImpl.java
+++ /dev/null
@@ -1,1224 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-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.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.Listener;
-import org.eclipse.jst.j2ee.common.MessageDestination;
-import org.eclipse.jst.j2ee.common.ParamValue;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.common.internal.impl.JNDIEnvRefsGroupImpl;
-import org.eclipse.jst.j2ee.common.internal.util.CommonUtil;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.common.J2EEVersionResource;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.jst.j2ee.jsp.JSPConfig;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-
-/**
- * The web-app element is the root of the deployment descriptor for
- * a web application.
- */
-public class WebAppImpl extends JNDIEnvRefsGroupImpl implements WebApp {
-
- /**
- * The default value of the '{@link #isDistributable() <em>Distributable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isDistributable()
- * @generated
- * @ordered
- */
- protected static final boolean DISTRIBUTABLE_EDEFAULT = false;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected boolean distributable = DISTRIBUTABLE_EDEFAULT;
- /**
- * This is true if the Distributable attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean distributableESet = false;
-
- /**
- * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVersion()
- * @generated
- * @ordered
- */
- protected static final String VERSION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVersion()
- * @generated
- * @ordered
- */
- protected String version = VERSION_EDEFAULT;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList contexts = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList errorPages = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected WelcomeFileList fileList = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList tagLibs = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList constraints = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected LoginConfig loginConfig = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList mimeMappings = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected SessionConfig sessionConfig = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList servletMappings = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList servlets = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList securityRoles = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList filters = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList filterMappings = null;
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList listeners = null;
- /**
- * The cached value of the '{@link #getContextParams() <em>Context Params</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getContextParams()
- * @generated
- * @ordered
- */
- protected EList contextParams = null;
-
- /**
- * The cached value of the '{@link #getJspConfig() <em>Jsp Config</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getJspConfig()
- * @generated
- * @ordered
- */
- protected JSPConfig jspConfig = null;
-
- /**
- * The cached value of the '{@link #getMessageDestinations() <em>Message Destinations</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMessageDestinations()
- * @generated
- * @ordered
- */
- protected EList messageDestinations = null;
-
- /**
- * The cached value of the '{@link #getLocalEncodingMappingList() <em>Local Encoding Mapping List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocalEncodingMappingList()
- * @generated
- * @ordered
- */
- protected LocalEncodingMappingList localEncodingMappingList = null;
-
- public WebAppImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.WEB_APP;
- }
-
-/**
- * @see org.eclipse.jst.j2ee.internal.webapplication.WebApp
- */
-public boolean containsSecurityRole(java.lang.String name) {
- return getSecurityRoleNamed(name) != null;
-}
-public ErrorPage getErrorPageByCode(Integer code) {
- List lerrorPages = getErrorPages();
- String codeString = code.toString();
- Iterator ie = lerrorPages.iterator();
- while (ie.hasNext()) {
- ErrorPage ep = (ErrorPage) ie.next();
- if (ep.isErrorCode()) {
- ErrorCodeErrorPage ecep = (ErrorCodeErrorPage) ep;
- if (codeString.equals(ecep.getErrorCode()))
- return ecep;
- }
- }
- return null;
-}
-public ErrorPage getErrorPageByExceptionType(String exceptionType) {
- if (exceptionType != null) {
- List lerrorPages = getErrorPages();
- Iterator ie = lerrorPages.iterator();
- while (ie.hasNext()) {
- ErrorPage ep = (ErrorPage) ie.next();
- if (ep.isExceptionType()) {
- ExceptionTypeErrorPage etep = (ExceptionTypeErrorPage) ep;
- if (exceptionType.equals(etep.getExceptionTypeName()))
- return etep;
- }
- }
- }
- return null;
-}
-/**
- * Finds a filter mapping for a specified filter.
- * @param filter The filter to find the mapping for.
- * @return The first filter mapping found for the specified filter, or null if no
- * mapping exists for the filter.
- */
-public FilterMapping getFilterMapping(
- Filter aFilter) {
- if (aFilter != null) {
- List mappings = getFilterMappings();
- FilterMapping mapping;
- for (int i = 0; i < mappings.size(); i++) {
- mapping = (FilterMapping) mappings.get(i);
- if (aFilter.equals(mapping.getFilter()))
- return mapping;
- }
- }
- return null;
-}
-/**
- * getFilterNamed method comment.
- */
-public Filter getFilterNamed(java.lang.String name) {
- List lfilters = getFilters();
- if (lfilters == null || lfilters.size() == 0) {
- return null;
- }
- Filter next;
- for (int i = 0; i < lfilters.size(); i++) {
- next = (Filter) lfilters.get(i);
- if (next.getName().equals(name)) {
- return next;
- }
- }
- return null;
-}
-public List getFilterNames() {
- List names, lfilters = getFilters();
- names = new ArrayList(lfilters.size());
- Filter next;
- for (int i = 0; i < lfilters.size(); i++) {
- next = (Filter) lfilters.get(i);
- names.add(next.getName());
- }
- return names;
-}
-/**
- * Returns the mime type for the specified extension
- * @param An extension to find the mime type for.
- */
-public java.lang.String getMimeType(java.lang.String extension) {
- if (extension != null) {
- List mappings = getMimeMappings();
- MimeMapping mapping;
- for (int i = 0; i < mappings.size(); i++) {
- mapping = (MimeMapping) mappings.get(i);
- if (extension.equals(mapping.getExtension()))
- return mapping.getMimeType();
- }
- }
- return null;
-}
-public SecurityRole getSecurityRoleNamed(String roleName) {
- java.util.List tempRoles = getSecurityRoles();
- SecurityRole role;
- for (int i = 0; i < tempRoles.size(); i++) {
- role = (SecurityRole) tempRoles.get(i);
- if (role.getRoleName().equals(roleName))
- return role;
- }
- return null;
-}
-/**
- * Finds a servlet mapping for a specified servlet.
- * @param servlet The servlet to find the mappings for.
- * @return The servlet mapping for the specified servlet, or null if no
- * mapping exists for the servlet.
- */
-public ServletMapping getServletMapping(
- Servlet aServlet) {
- if (aServlet != null) {
- List mappings = getServletMappings();
- ServletMapping mapping;
- for (int i = 0; i < mappings.size(); i++) {
- mapping = (ServletMapping) mappings.get(i);
- if (aServlet.equals(mapping.getServlet()))
- return mapping;
- }
- }
- return null;
-}
-/**
- * getServletNamed method comment.
- */
-public Servlet getServletNamed(java.lang.String name) {
- List lservlets = getServlets();
- if (lservlets == null || lservlets.size() == 0) {
- return null;
- }
- Servlet next;
- String nextName;
- for (int i = 0; i < lservlets.size(); i++) {
- next = (Servlet) lservlets.get(i);
- nextName = next.getServletName();
- if (nextName != null && nextName.equals(name)) {
- return next;
- }
- }
- return null;
-}
-public List getServletNames() {
- List names, lservlets = getServlets();
- names = new ArrayList(lservlets.size());
- Servlet next;
- for (int i = 0; i < lservlets.size(); i++) {
- next = (Servlet) lservlets.get(i);
- names.add(next.getServletName());
- }
- return names;
-}
-/**
- * Return boolean indicating if this Web App was populated from an Servlet2.2 compliant descriptor
- * @return boolean
- * @deprecated Use getVersionID() to determine module level
- */
-public boolean isVersion2_2Descriptor() {
- CommonUtil.checkDDObjectForVersion(this);
- String systemId = ((XMLResource)eResource()).getSystemId();
- return systemId == null ? false : systemId.equals(J2EEConstants.WEBAPP_SYSTEMID_2_2);
-}
-/**
- * Return boolean indicating if this Web App was populated from an Servlet2.3 compliant descriptor
- * @return boolean
- * @deprecated Use getVersionID() to determine module level
- */
-public boolean isVersion2_3Descriptor() {
- CommonUtil.checkDDObjectForVersion(this);
- String systemId = ((XMLResource)eResource()).getSystemId();
- return systemId == null ? false : systemId.equals(J2EEConstants.WEBAPP_SYSTEMID_2_3);
-}
-/**
- * @see org.eclipse.jst.j2ee.internal.webapplication.WebApp
- */
-public void renameSecurityRole(java.lang.String existingRoleName, java.lang.String newRoleName) {
- SecurityRole role = getSecurityRoleNamed(existingRoleName);
- if (role != null)
- role.setRoleName(newRoleName);
- List theServlets = getServlets();
- for (int i = 0; i < theServlets.size(); i++){
- Servlet servlet = (Servlet)theServlets.get(i);
- servlet.reSyncSecurityRoleRef(existingRoleName, newRoleName);
- }
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The distributable element, by its presence in a web application deployment
- * descriptor, indicates that this web application is programmed appropriately to
- * be deployed into a distributed servlet container
- */
- public boolean isDistributable() {
- return distributable;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDistributable(boolean newDistributable) {
- boolean oldDistributable = distributable;
- distributable = newDistributable;
- boolean oldDistributableESet = distributableESet;
- distributableESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__DISTRIBUTABLE, oldDistributable, distributable, !oldDistributableESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetDistributable() {
- boolean oldDistributable = distributable;
- boolean oldDistributableESet = distributableESet;
- distributable = DISTRIBUTABLE_EDEFAULT;
- distributableESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, WebapplicationPackage.WEB_APP__DISTRIBUTABLE, oldDistributable, DISTRIBUTABLE_EDEFAULT, oldDistributableESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetDistributable() {
- return distributableESet;
- }
-
- /**
- *
- */
- public void setDisplayName(String newDisplayName) {
- super.setDisplayName(newDisplayName);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getVersion() {
- return version;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVersion(String newVersion) {
- String oldVersion = version;
- version = newVersion;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__VERSION, oldVersion, version));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getContexts() {
- if (contexts == null) {
- contexts = new EObjectContainmentWithInverseEList(ContextParam.class, this, WebapplicationPackage.WEB_APP__CONTEXTS, WebapplicationPackage.CONTEXT_PARAM__WEB_APP);
- }
- return contexts;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getErrorPages() {
- if (errorPages == null) {
- errorPages = new EObjectContainmentWithInverseEList(ErrorPage.class, this, WebapplicationPackage.WEB_APP__ERROR_PAGES, WebapplicationPackage.ERROR_PAGE__WEB_APP);
- }
- return errorPages;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WelcomeFileList getFileList() {
- return fileList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFileList(WelcomeFileList newFileList, NotificationChain msgs) {
- WelcomeFileList oldFileList = fileList;
- fileList = newFileList;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__FILE_LIST, oldFileList, newFileList);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFileList(WelcomeFileList newFileList) {
- if (newFileList != fileList) {
- NotificationChain msgs = null;
- if (fileList != null)
- msgs = ((InternalEObject)fileList).eInverseRemove(this, WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP, WelcomeFileList.class, msgs);
- if (newFileList != null)
- msgs = ((InternalEObject)newFileList).eInverseAdd(this, WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP, WelcomeFileList.class, msgs);
- msgs = basicSetFileList(newFileList, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__FILE_LIST, newFileList, newFileList));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getTagLibs() {
- if (tagLibs == null) {
- tagLibs = new EObjectContainmentWithInverseEList(TagLibRef.class, this, WebapplicationPackage.WEB_APP__TAG_LIBS, WebapplicationPackage.TAG_LIB_REF__WEB_APP);
- }
- return tagLibs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getConstraints() {
- if (constraints == null) {
- constraints = new EObjectContainmentWithInverseEList(SecurityConstraint.class, this, WebapplicationPackage.WEB_APP__CONSTRAINTS, WebapplicationPackage.SECURITY_CONSTRAINT__WEB_APP);
- }
- return constraints;
- }
-
- /**
- * This returns the module version id. Compare with J2EEVersionConstants to determine module level
- */
-
- public int getVersionID() throws IllegalStateException {
- J2EEVersionResource res = (J2EEVersionResource) eResource();
- if (res == null) {
- // fix defect 3276, when resource is unloaded
- if (version == null)
- throw new IllegalStateException();
-
- if (version.equals("2.4"))//$NON-NLS-1$
- return J2EEVersionConstants.WEB_2_4_ID;
- if (version.equals("2.3"))//$NON-NLS-1$
- return J2EEVersionConstants.WEB_2_3_ID;
- if (version.equals("2.2"))//$NON-NLS-1$
- return J2EEVersionConstants.WEB_2_2_ID;
-
- }
- return res.getModuleVersionID();
- }
-
- /**
- *This returns the j2ee version id. Compare with J2EEVersionConstants to determine j2ee level
- */
- public int getJ2EEVersionID() throws IllegalStateException {
- J2EEVersionResource res = (J2EEVersionResource) eResource();
- if (res == null) throw new IllegalStateException();
- return res.getJ2EEVersionID();
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public LoginConfig getLoginConfig() {
- return loginConfig;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLoginConfig(LoginConfig newLoginConfig, NotificationChain msgs) {
- LoginConfig oldLoginConfig = loginConfig;
- loginConfig = newLoginConfig;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__LOGIN_CONFIG, oldLoginConfig, newLoginConfig);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setLoginConfig(LoginConfig newLoginConfig) {
- if (newLoginConfig != loginConfig) {
- NotificationChain msgs = null;
- if (loginConfig != null)
- msgs = ((InternalEObject)loginConfig).eInverseRemove(this, WebapplicationPackage.LOGIN_CONFIG__WEB_APP, LoginConfig.class, msgs);
- if (newLoginConfig != null)
- msgs = ((InternalEObject)newLoginConfig).eInverseAdd(this, WebapplicationPackage.LOGIN_CONFIG__WEB_APP, LoginConfig.class, msgs);
- msgs = basicSetLoginConfig(newLoginConfig, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__LOGIN_CONFIG, newLoginConfig, newLoginConfig));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getMimeMappings() {
- if (mimeMappings == null) {
- mimeMappings = new EObjectContainmentWithInverseEList(MimeMapping.class, this, WebapplicationPackage.WEB_APP__MIME_MAPPINGS, WebapplicationPackage.MIME_MAPPING__WEB_APP);
- }
- return mimeMappings;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public SessionConfig getSessionConfig() {
- return sessionConfig;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSessionConfig(SessionConfig newSessionConfig, NotificationChain msgs) {
- SessionConfig oldSessionConfig = sessionConfig;
- sessionConfig = newSessionConfig;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__SESSION_CONFIG, oldSessionConfig, newSessionConfig);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setSessionConfig(SessionConfig newSessionConfig) {
- if (newSessionConfig != sessionConfig) {
- NotificationChain msgs = null;
- if (sessionConfig != null)
- msgs = ((InternalEObject)sessionConfig).eInverseRemove(this, WebapplicationPackage.SESSION_CONFIG__WEB_APP, SessionConfig.class, msgs);
- if (newSessionConfig != null)
- msgs = ((InternalEObject)newSessionConfig).eInverseAdd(this, WebapplicationPackage.SESSION_CONFIG__WEB_APP, SessionConfig.class, msgs);
- msgs = basicSetSessionConfig(newSessionConfig, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__SESSION_CONFIG, newSessionConfig, newSessionConfig));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getServletMappings() {
- if (servletMappings == null) {
- servletMappings = new EObjectContainmentWithInverseEList(ServletMapping.class, this, WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS, WebapplicationPackage.SERVLET_MAPPING__WEB_APP);
- }
- return servletMappings;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getServlets() {
- if (servlets == null) {
- servlets = new EObjectContainmentWithInverseEList(Servlet.class, this, WebapplicationPackage.WEB_APP__SERVLETS, WebapplicationPackage.SERVLET__WEB_APP);
- }
- return servlets;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getSecurityRoles() {
- if (securityRoles == null) {
- securityRoles = new EObjectContainmentEList(SecurityRole.class, this, WebapplicationPackage.WEB_APP__SECURITY_ROLES);
- }
- return securityRoles;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getFilters() {
- if (filters == null) {
- filters = new EObjectContainmentEList(Filter.class, this, WebapplicationPackage.WEB_APP__FILTERS);
- }
- return filters;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * Filter mappings defined for the web app
- */
- public EList getFilterMappings() {
- if (filterMappings == null) {
- filterMappings = new EObjectContainmentEList(FilterMapping.class, this, WebapplicationPackage.WEB_APP__FILTER_MAPPINGS);
- }
- return filterMappings;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- * The listeners collection contains deployment properties for a web application
- * listener beans in the web app.
- */
- public EList getListeners() {
- if (listeners == null) {
- listeners = new EObjectContainmentEList(Listener.class, this, WebapplicationPackage.WEB_APP__LISTENERS);
- }
- return listeners;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getContextParams() {
- if (contextParams == null) {
- contextParams = new EObjectContainmentEList(ParamValue.class, this, WebapplicationPackage.WEB_APP__CONTEXT_PARAMS);
- }
- return contextParams;
- }
-
- /**
- * @deprecated: Use getEnvironmentProperties()
- */
- public EList getEnvEntries() {
-
- return getEnvironmentProperties();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JSPConfig getJspConfig() {
- return jspConfig;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetJspConfig(JSPConfig newJspConfig, NotificationChain msgs) {
- JSPConfig oldJspConfig = jspConfig;
- jspConfig = newJspConfig;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__JSP_CONFIG, oldJspConfig, newJspConfig);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setJspConfig(JSPConfig newJspConfig) {
- if (newJspConfig != jspConfig) {
- NotificationChain msgs = null;
- if (jspConfig != null)
- msgs = ((InternalEObject)jspConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__JSP_CONFIG, null, msgs);
- if (newJspConfig != null)
- msgs = ((InternalEObject)newJspConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__JSP_CONFIG, null, msgs);
- msgs = basicSetJspConfig(newJspConfig, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__JSP_CONFIG, newJspConfig, newJspConfig));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getMessageDestinations() {
- if (messageDestinations == null) {
- messageDestinations = new EObjectContainmentEList(MessageDestination.class, this, WebapplicationPackage.WEB_APP__MESSAGE_DESTINATIONS);
- }
- return messageDestinations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LocalEncodingMappingList getLocalEncodingMappingList() {
- return localEncodingMappingList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLocalEncodingMappingList(LocalEncodingMappingList newLocalEncodingMappingList, NotificationChain msgs) {
- LocalEncodingMappingList oldLocalEncodingMappingList = localEncodingMappingList;
- localEncodingMappingList = newLocalEncodingMappingList;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST, oldLocalEncodingMappingList, newLocalEncodingMappingList);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocalEncodingMappingList(LocalEncodingMappingList newLocalEncodingMappingList) {
- if (newLocalEncodingMappingList != localEncodingMappingList) {
- NotificationChain msgs = null;
- if (localEncodingMappingList != null)
- msgs = ((InternalEObject)localEncodingMappingList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST, null, msgs);
- if (newLocalEncodingMappingList != null)
- msgs = ((InternalEObject)newLocalEncodingMappingList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST, null, msgs);
- msgs = basicSetLocalEncodingMappingList(newLocalEncodingMappingList, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST, newLocalEncodingMappingList, newLocalEncodingMappingList));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WEB_APP__CONTEXTS:
- return ((InternalEList)getContexts()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__ERROR_PAGES:
- return ((InternalEList)getErrorPages()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__FILE_LIST:
- if (fileList != null)
- msgs = ((InternalEObject)fileList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__FILE_LIST, null, msgs);
- return basicSetFileList((WelcomeFileList)otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__TAG_LIBS:
- return ((InternalEList)getTagLibs()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__CONSTRAINTS:
- return ((InternalEList)getConstraints()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__LOGIN_CONFIG:
- if (loginConfig != null)
- msgs = ((InternalEObject)loginConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__LOGIN_CONFIG, null, msgs);
- return basicSetLoginConfig((LoginConfig)otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__MIME_MAPPINGS:
- return ((InternalEList)getMimeMappings()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__SESSION_CONFIG:
- if (sessionConfig != null)
- msgs = ((InternalEObject)sessionConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WebapplicationPackage.WEB_APP__SESSION_CONFIG, null, msgs);
- return basicSetSessionConfig((SessionConfig)otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS:
- return ((InternalEList)getServletMappings()).basicAdd(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__SERVLETS:
- return ((InternalEList)getServlets()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WEB_APP__CONTEXTS:
- return ((InternalEList)getContexts()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__ERROR_PAGES:
- return ((InternalEList)getErrorPages()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__FILE_LIST:
- return basicSetFileList(null, msgs);
- case WebapplicationPackage.WEB_APP__TAG_LIBS:
- return ((InternalEList)getTagLibs()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__CONSTRAINTS:
- return ((InternalEList)getConstraints()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__LOGIN_CONFIG:
- return basicSetLoginConfig(null, msgs);
- case WebapplicationPackage.WEB_APP__MIME_MAPPINGS:
- return ((InternalEList)getMimeMappings()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__SESSION_CONFIG:
- return basicSetSessionConfig(null, msgs);
- case WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS:
- return ((InternalEList)getServletMappings()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__SERVLETS:
- return ((InternalEList)getServlets()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__SECURITY_ROLES:
- return ((InternalEList)getSecurityRoles()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__FILTERS:
- return ((InternalEList)getFilters()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__FILTER_MAPPINGS:
- return ((InternalEList)getFilterMappings()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__LISTENERS:
- return ((InternalEList)getListeners()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__CONTEXT_PARAMS:
- return ((InternalEList)getContextParams()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__JSP_CONFIG:
- return basicSetJspConfig(null, msgs);
- case WebapplicationPackage.WEB_APP__MESSAGE_DESTINATIONS:
- return ((InternalEList)getMessageDestinations()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST:
- return basicSetLocalEncodingMappingList(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.WEB_APP__DISTRIBUTABLE:
- return isDistributable() ? Boolean.TRUE : Boolean.FALSE;
- case WebapplicationPackage.WEB_APP__VERSION:
- return getVersion();
- case WebapplicationPackage.WEB_APP__CONTEXTS:
- return getContexts();
- case WebapplicationPackage.WEB_APP__ERROR_PAGES:
- return getErrorPages();
- case WebapplicationPackage.WEB_APP__FILE_LIST:
- return getFileList();
- case WebapplicationPackage.WEB_APP__TAG_LIBS:
- return getTagLibs();
- case WebapplicationPackage.WEB_APP__CONSTRAINTS:
- return getConstraints();
- case WebapplicationPackage.WEB_APP__LOGIN_CONFIG:
- return getLoginConfig();
- case WebapplicationPackage.WEB_APP__MIME_MAPPINGS:
- return getMimeMappings();
- case WebapplicationPackage.WEB_APP__SESSION_CONFIG:
- return getSessionConfig();
- case WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS:
- return getServletMappings();
- case WebapplicationPackage.WEB_APP__SERVLETS:
- return getServlets();
- case WebapplicationPackage.WEB_APP__SECURITY_ROLES:
- return getSecurityRoles();
- case WebapplicationPackage.WEB_APP__FILTERS:
- return getFilters();
- case WebapplicationPackage.WEB_APP__FILTER_MAPPINGS:
- return getFilterMappings();
- case WebapplicationPackage.WEB_APP__LISTENERS:
- return getListeners();
- case WebapplicationPackage.WEB_APP__CONTEXT_PARAMS:
- return getContextParams();
- case WebapplicationPackage.WEB_APP__JSP_CONFIG:
- return getJspConfig();
- case WebapplicationPackage.WEB_APP__MESSAGE_DESTINATIONS:
- return getMessageDestinations();
- case WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST:
- return getLocalEncodingMappingList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.WEB_APP__DISTRIBUTABLE:
- setDistributable(((Boolean)newValue).booleanValue());
- return;
- case WebapplicationPackage.WEB_APP__VERSION:
- setVersion((String)newValue);
- return;
- case WebapplicationPackage.WEB_APP__CONTEXTS:
- getContexts().clear();
- getContexts().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__ERROR_PAGES:
- getErrorPages().clear();
- getErrorPages().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__FILE_LIST:
- setFileList((WelcomeFileList)newValue);
- return;
- case WebapplicationPackage.WEB_APP__TAG_LIBS:
- getTagLibs().clear();
- getTagLibs().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__CONSTRAINTS:
- getConstraints().clear();
- getConstraints().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__LOGIN_CONFIG:
- setLoginConfig((LoginConfig)newValue);
- return;
- case WebapplicationPackage.WEB_APP__MIME_MAPPINGS:
- getMimeMappings().clear();
- getMimeMappings().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__SESSION_CONFIG:
- setSessionConfig((SessionConfig)newValue);
- return;
- case WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS:
- getServletMappings().clear();
- getServletMappings().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__SERVLETS:
- getServlets().clear();
- getServlets().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__SECURITY_ROLES:
- getSecurityRoles().clear();
- getSecurityRoles().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__FILTERS:
- getFilters().clear();
- getFilters().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__FILTER_MAPPINGS:
- getFilterMappings().clear();
- getFilterMappings().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__LISTENERS:
- getListeners().clear();
- getListeners().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__CONTEXT_PARAMS:
- getContextParams().clear();
- getContextParams().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__JSP_CONFIG:
- setJspConfig((JSPConfig)newValue);
- return;
- case WebapplicationPackage.WEB_APP__MESSAGE_DESTINATIONS:
- getMessageDestinations().clear();
- getMessageDestinations().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST:
- setLocalEncodingMappingList((LocalEncodingMappingList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WEB_APP__DISTRIBUTABLE:
- unsetDistributable();
- return;
- case WebapplicationPackage.WEB_APP__VERSION:
- setVersion(VERSION_EDEFAULT);
- return;
- case WebapplicationPackage.WEB_APP__CONTEXTS:
- getContexts().clear();
- return;
- case WebapplicationPackage.WEB_APP__ERROR_PAGES:
- getErrorPages().clear();
- return;
- case WebapplicationPackage.WEB_APP__FILE_LIST:
- setFileList((WelcomeFileList)null);
- return;
- case WebapplicationPackage.WEB_APP__TAG_LIBS:
- getTagLibs().clear();
- return;
- case WebapplicationPackage.WEB_APP__CONSTRAINTS:
- getConstraints().clear();
- return;
- case WebapplicationPackage.WEB_APP__LOGIN_CONFIG:
- setLoginConfig((LoginConfig)null);
- return;
- case WebapplicationPackage.WEB_APP__MIME_MAPPINGS:
- getMimeMappings().clear();
- return;
- case WebapplicationPackage.WEB_APP__SESSION_CONFIG:
- setSessionConfig((SessionConfig)null);
- return;
- case WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS:
- getServletMappings().clear();
- return;
- case WebapplicationPackage.WEB_APP__SERVLETS:
- getServlets().clear();
- return;
- case WebapplicationPackage.WEB_APP__SECURITY_ROLES:
- getSecurityRoles().clear();
- return;
- case WebapplicationPackage.WEB_APP__FILTERS:
- getFilters().clear();
- return;
- case WebapplicationPackage.WEB_APP__FILTER_MAPPINGS:
- getFilterMappings().clear();
- return;
- case WebapplicationPackage.WEB_APP__LISTENERS:
- getListeners().clear();
- return;
- case WebapplicationPackage.WEB_APP__CONTEXT_PARAMS:
- getContextParams().clear();
- return;
- case WebapplicationPackage.WEB_APP__JSP_CONFIG:
- setJspConfig((JSPConfig)null);
- return;
- case WebapplicationPackage.WEB_APP__MESSAGE_DESTINATIONS:
- getMessageDestinations().clear();
- return;
- case WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST:
- setLocalEncodingMappingList((LocalEncodingMappingList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WEB_APP__DISTRIBUTABLE:
- return isSetDistributable();
- case WebapplicationPackage.WEB_APP__VERSION:
- return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
- case WebapplicationPackage.WEB_APP__CONTEXTS:
- return contexts != null && !contexts.isEmpty();
- case WebapplicationPackage.WEB_APP__ERROR_PAGES:
- return errorPages != null && !errorPages.isEmpty();
- case WebapplicationPackage.WEB_APP__FILE_LIST:
- return fileList != null;
- case WebapplicationPackage.WEB_APP__TAG_LIBS:
- return tagLibs != null && !tagLibs.isEmpty();
- case WebapplicationPackage.WEB_APP__CONSTRAINTS:
- return constraints != null && !constraints.isEmpty();
- case WebapplicationPackage.WEB_APP__LOGIN_CONFIG:
- return loginConfig != null;
- case WebapplicationPackage.WEB_APP__MIME_MAPPINGS:
- return mimeMappings != null && !mimeMappings.isEmpty();
- case WebapplicationPackage.WEB_APP__SESSION_CONFIG:
- return sessionConfig != null;
- case WebapplicationPackage.WEB_APP__SERVLET_MAPPINGS:
- return servletMappings != null && !servletMappings.isEmpty();
- case WebapplicationPackage.WEB_APP__SERVLETS:
- return servlets != null && !servlets.isEmpty();
- case WebapplicationPackage.WEB_APP__SECURITY_ROLES:
- return securityRoles != null && !securityRoles.isEmpty();
- case WebapplicationPackage.WEB_APP__FILTERS:
- return filters != null && !filters.isEmpty();
- case WebapplicationPackage.WEB_APP__FILTER_MAPPINGS:
- return filterMappings != null && !filterMappings.isEmpty();
- case WebapplicationPackage.WEB_APP__LISTENERS:
- return listeners != null && !listeners.isEmpty();
- case WebapplicationPackage.WEB_APP__CONTEXT_PARAMS:
- return contextParams != null && !contextParams.isEmpty();
- case WebapplicationPackage.WEB_APP__JSP_CONFIG:
- return jspConfig != null;
- case WebapplicationPackage.WEB_APP__MESSAGE_DESTINATIONS:
- return messageDestinations != null && !messageDestinations.isEmpty();
- case WebapplicationPackage.WEB_APP__LOCAL_ENCODING_MAPPING_LIST:
- return localEncodingMappingList != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (distributable: ");
- if (distributableESet) result.append(distributable); else result.append("<unset>");
- result.append(", version: ");
- result.append(version);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceFactory.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceFactory.java
deleted file mode 100644
index 15eb845a5..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceFactory.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 18, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEResourceFactoryRegistry;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.xml.J2EEXmlDtDEntityResolver;
-import org.eclipse.wst.common.internal.emf.resource.FileNameResourceFactoryRegistry;
-import org.eclipse.wst.common.internal.emf.resource.Renderer;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-import org.eclipse.wst.common.internal.emf.resource.TranslatorResource;
-import org.eclipse.wst.common.internal.emf.resource.TranslatorResourceFactory;
-
-
-/**
- * @author schacher
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class WebAppResourceFactory extends TranslatorResourceFactory {
-
- /**
- * Method registerDtds.
- */
- public static void registerDtds() {
- J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_SYSTEMID_2_2, "web-app_2_2.dtd"); //$NON-NLS-1$
- J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_ALT_SYSTEMID_2_2, "web-app_2.2.dtd"); //$NON-NLS-1$
- J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_SYSTEMID_2_3, "web-app_2_3.dtd"); //$NON-NLS-1$
- J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_ALT_SYSTEMID_2_3, "web-app_2.3.dtd"); //$NON-NLS-1$
- J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEB_APP_SCHEMA_LOC_2_4, "web-app_2_4.xsd"); //$NON-NLS-1$
- J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.JSP_SCHEMA_LOC_2_0, "jsp_2_0.xsd"); //$NON-NLS-1$
- }
-
- /**
- */
- public WebAppResourceFactory() {
- super(RendererFactory.getDefaultRendererFactory());
- }
-
- /**
- * @param aRendererFactory
- */
- public WebAppResourceFactory(RendererFactory aRendererFactory) {
- super(aRendererFactory);
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.emf2xml.impl.TranslatorResourceFactory#createResource(org.eclipse.emf.common.util.URI, com.ibm.etools.emf2xml.Renderer)
- */
- protected TranslatorResource createResource(URI uri, Renderer aRenderer) {
- return new WebAppResourceImpl(uri, aRenderer);
- }
-
- /**
- * Register myself with the Resource.Factory.Registry
- */
- public static void registerWith(RendererFactory aRendererFactory) {
- J2EEResourceFactoryRegistry.INSTANCE.registerLastFileSegment(J2EEConstants.WEBAPP_DD_SHORT_NAME, new WebAppResourceFactory(aRendererFactory));
- }
-
- /**
- * register using the default renderer factory.
- * @see #registerWith(RendererFactory)
- */
- public static void register() {
- registerWith(RendererFactory.getDefaultRendererFactory());
- }
-
- /**
- * register using the default renderer factory.
- * @see #registerWith(RendererFactory)
- */
- public static void register(FileNameResourceFactoryRegistry aRegistry) {
- aRegistry.registerLastFileSegment(J2EEConstants.WEBAPP_DD_SHORT_NAME, new WebAppResourceFactory(RendererFactory.getDefaultRendererFactory()));
- }
-
- public static Resource.Factory getRegisteredFactory() {
-
- System.err.println("fetching registered factory for web app uri");
- return J2EEResourceFactoryRegistry.INSTANCE.getFactory(J2EEConstants.WEBAPP_DD_URI_OBJ);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceImpl.java
deleted file mode 100644
index a7aba6a31..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebAppResourceImpl.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-/*
- * Created on Mar 18, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.jst.j2ee.common.internal.impl.XMLResourceImpl;
-import org.eclipse.jst.j2ee.internal.J2EEConstants;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.internal.model.translator.webapplication.WebAppTranslator;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebAppResource;
-import org.eclipse.wst.common.internal.emf.resource.Renderer;
-import org.eclipse.wst.common.internal.emf.resource.Translator;
-
-/**
- * @author schacher
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class WebAppResourceImpl extends XMLResourceImpl implements WebAppResource {
-
-
- public WebAppResourceImpl(URI uri, Renderer aRenderer) {
- super(uri, aRenderer);
- }
-
- public WebAppResourceImpl(Renderer aRenderer) {
- super(aRenderer);
- }
-
-
- public WebApp getWebApp() {
- return (WebApp) getRootObject();
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_2_PublicID()
- */
- public String getJ2EE_1_2_PublicID() {
- return J2EEConstants.WEBAPP_PUBLICID_2_2;
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_2_SystemID()
- */
- public String getJ2EE_1_2_SystemID() {
- return J2EEConstants.WEBAPP_SYSTEMID_2_2;
- }
-
- public String getJ2EE_Alt_1_2_SystemID() {
- return J2EEConstants.WEBAPP_ALT_SYSTEMID_2_2;
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_3_PublicID()
- */
- public String getJ2EE_1_3_PublicID() {
- return J2EEConstants.WEBAPP_PUBLICID_2_3;
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_3_SystemID()
- */
- public String getJ2EE_1_3_SystemID() {
- return J2EEConstants.WEBAPP_SYSTEMID_2_3;
- }
-
- public String getJ2EE_Alt_1_3_SystemID() {
- return J2EEConstants.WEBAPP_ALT_SYSTEMID_2_3;
- }
- /*
- * @see WebAppResource#isWeb2_2()
- * @deprecated - use getModuleVersionID() and J2EEVersionConstants
- */
- public boolean isWeb2_2() {
- return getModuleVersionID() == WEB_2_2_ID;
- }
- /*
- * @see WebAppResource#isWeb2_3()
- * @deprecated - use getModuleVersionID() and J2EEVersionConstants
- */
- public boolean isWeb2_3() {
- return getModuleVersionID() == WEB_2_3_ID;
- }
- /*
- * @see WebAppResource#isWeb2_4()
- * @deprecated - use getModuleVersionID() and J2EEVersionConstants
- */
- public boolean isWeb2_4() {
- return getModuleVersionID() == WEB_2_4_ID;
- }
-
-
- /* (non-Javadoc)
- * @see com.ibm.etools.emf2xml.TranslatorResource#getDoctype()
- */
- public String getDoctype() {
- switch (getJ2EEVersionID()) {
- case (J2EE_1_2_ID) :
- case (J2EE_1_3_ID) :
- return J2EEConstants.WEBAPP_DOCTYPE;
- default :
- return null;
- }
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.j2eexml.XMLResource#getType()
- */
- public int getType() {
- return WEB_APP_TYPE;
- }
-
-
- /* (non-Javadoc)
- * @see com.ibm.etools.emf2xml.TranslatorResource#getRootTranslator()
- */
- public Translator getRootTranslator() {
- return WebAppTranslator.INSTANCE;
- }
- /* Return J2EE version based on module version
- */
- public int getJ2EEVersionID() {
- switch (getModuleVersionID()) {
- case J2EEVersionConstants.WEB_2_2_ID :
- return J2EEVersionConstants.J2EE_1_2_ID;
- case J2EEVersionConstants.WEB_2_3_ID :
- return J2EEVersionConstants.J2EE_1_3_ID;
- case J2EEVersionConstants.WEB_2_4_ID :
- return J2EEVersionConstants.J2EE_1_4_ID;
- default :
- return J2EEVersionConstants.J2EE_1_4_ID;
- }
- }
- /*
- * This directly sets the module version id
- */
- public void setModuleVersionID(int id) {
- super.setVersionID(id);
- switch (id) {
- case (WEB_2_4_ID) :
- super.setDoctypeValues(null, null);
- break;
- case (WEB_2_3_ID) :
- super.setDoctypeValues(getJ2EE_1_3_PublicID(), getJ2EE_1_3_SystemID());
- break;
- case (WEB_2_2_ID) :
- super.setDoctypeValues(getJ2EE_1_2_PublicID(), getJ2EE_1_2_SystemID());
-
- }
- syncVersionOfRootObject();
- }
- /*
- * Based on the J2EE version, this will set the module version
- */
- public void setJ2EEVersionID(int id) {
- switch (id) {
- case (J2EE_1_4_ID) :
- primSetDoctypeValues(null, null);
- primSetVersionID(WEB_2_4_ID);
- break;
- case (J2EE_1_3_ID) :
- primSetDoctypeValues(getJ2EE_1_3_PublicID(), getJ2EE_1_3_SystemID());
- primSetVersionID(WEB_2_3_ID);
- break;
- case (J2EE_1_2_ID) :
- primSetDoctypeValues(getJ2EE_1_2_PublicID(), getJ2EE_1_2_SystemID());
- primSetVersionID(WEB_2_2_ID);
- }
- syncVersionOfRootObject();
- }
- /* (non-Javadoc)
- * @see com.ibm.etools.emf2xml.impl.TranslatorResourceImpl#getDefaultVersionID()
- */
- protected int getDefaultVersionID() {
- return WEB_2_4_ID;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jst.j2ee.internal.common.impl.XMLResourceImpl#syncVersionOfRootObject()
- */
- protected void syncVersionOfRootObject() {
- WebApp app = getWebApp();
- if (app == null)
- return;
-
- String version = app.getVersion();
- String newVersion = getModuleVersionString();
- if (!newVersion.equals(version))
- app.setVersion(newVersion);
- }
-
-}
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebResourceCollectionImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebResourceCollectionImpl.java
deleted file mode 100644
index df3e3264d..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebResourceCollectionImpl.java
+++ /dev/null
@@ -1,497 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.EObject;
-import org.eclipse.emf.ecore.EPackage;
-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.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.Description;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * The web-resource-collection element is used to identify a subset of the resources and HTTP methods on those resources within a web application to which a security constraint applies. If no HTTP methods are specified, then the security constraint applies to all HTTP methods.
-
- */
-public class WebResourceCollectionImpl extends EObjectImpl implements WebResourceCollection, EObject {
-
- /**
- * The default value of the '{@link #getWebResourceName() <em>Web Resource Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getWebResourceName()
- * @generated
- * @ordered
- */
- protected static final String WEB_RESOURCE_NAME_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String webResourceName = WEB_RESOURCE_NAME_EDEFAULT;
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String description = DESCRIPTION_EDEFAULT;
- /**
- * The cached value of the '{@link #getUrlPattern() <em>Url Pattern</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUrlPattern()
- * @generated
- * @ordered
- */
- protected EList urlPattern = null;
-
- /**
- * The cached value of the '{@link #getHttpMethod() <em>Http Method</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHttpMethod()
- * @generated
- * @ordered
- */
- protected EList httpMethod = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList urLs = null;
- /**
- * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescriptions()
- * @generated
- * @ordered
- */
- protected EList descriptions = null;
-
- /**
- * The cached value of the '{@link #getHTTPs() <em>HTT Ps</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHTTPs()
- * @generated
- * @ordered
- */
- protected EList httPs = null;
-
- public WebResourceCollectionImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.WEB_RESOURCE_COLLECTION;
- }
-
-/**
- * addHTTP method comment.
- */
-public void addHTTP(java.lang.String ahttpMethod) {
- HTTPMethodType http = getFactory().createHTTPMethodType();
- http.setHttpMethod(ahttpMethod);
- getHTTPs().add(http);
-}
-/**
- * addURL method comment.
- */
-public void addURL(java.lang.String aurlPattern) {
- URLPatternType url = getFactory().createURLPatternType();
- url.setUrlPattern(aurlPattern);
- getURLs().add(url);
-}
-public WebapplicationFactory getFactory() {
- return ((WebapplicationPackage)EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI)).getWebapplicationFactory();
-}
- /**
- * @generated This field/method will be replaced during code generation
- * The web-resource-name contains the name of this web resource collection
- */
- public String getWebResourceName() {
- return webResourceName;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebResourceName(String newWebResourceName) {
- String oldWebResourceName = webResourceName;
- webResourceName = newWebResourceName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME, oldWebResourceName, webResourceName));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getUrlPattern() {
- if (urlPattern == null) {
- urlPattern = new EDataTypeEList(String.class, this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__URL_PATTERN);
- }
- return urlPattern;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getHttpMethod() {
- if (httpMethod == null) {
- httpMethod = new EDataTypeUniqueEList(HTTPMethodTypeEnum.class, this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTTP_METHOD);
- }
- return httpMethod;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public SecurityConstraint getSecConstraint() {
- if (eContainerFeatureID != WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT) return null;
- return (SecurityConstraint)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSecConstraint(SecurityConstraint newSecConstraint, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newSecConstraint, WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setSecConstraint(SecurityConstraint newSecConstraint) {
- if (newSecConstraint != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT && newSecConstraint != null)) {
- if (EcoreUtil.isAncestor(this, newSecConstraint))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newSecConstraint != null)
- msgs = ((InternalEObject)newSecConstraint).eInverseAdd(this, WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS, SecurityConstraint.class, msgs);
- msgs = basicSetSecConstraint(newSecConstraint, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT, newSecConstraint, newSecConstraint));
- }
-
- /**
- * <!-- begin-user-doc -->
- * @version J2EE1.4 deprecated, use getUrlPattern()
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getURLs() {
- if (urLs == null) {
- urLs = new EObjectContainmentWithInverseEList(URLPatternType.class, this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS, WebapplicationPackage.URL_PATTERN_TYPE__RES_COLLECTION);
- }
- return urLs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDescriptions() {
- if (descriptions == null) {
- descriptions = new EObjectContainmentEList(Description.class, this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTIONS);
- }
- return descriptions;
- }
-
- /**
- * <!-- begin-user-doc -->
- * @version J2EE1.4 deprecated, use getHttpMethods()
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getHTTPs() {
- if (httPs == null) {
- httPs = new EObjectContainmentEList(HTTPMethodType.class, this, WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTT_PS);
- }
- return httPs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetSecConstraint((SecurityConstraint)otherEnd, msgs);
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS:
- return ((InternalEList)getURLs()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- return basicSetSecConstraint(null, msgs);
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS:
- return ((InternalEList)getURLs()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTT_PS:
- return ((InternalEList)getHTTPs()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS, SecurityConstraint.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME:
- return getWebResourceName();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTION:
- return getDescription();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__URL_PATTERN:
- return getUrlPattern();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTTP_METHOD:
- return getHttpMethod();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- return getSecConstraint();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS:
- return getURLs();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTIONS:
- return getDescriptions();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTT_PS:
- return getHTTPs();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME:
- setWebResourceName((String)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__URL_PATTERN:
- getUrlPattern().clear();
- getUrlPattern().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTTP_METHOD:
- getHttpMethod().clear();
- getHttpMethod().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- setSecConstraint((SecurityConstraint)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS:
- getURLs().clear();
- getURLs().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTT_PS:
- getHTTPs().clear();
- getHTTPs().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME:
- setWebResourceName(WEB_RESOURCE_NAME_EDEFAULT);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__URL_PATTERN:
- getUrlPattern().clear();
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTTP_METHOD:
- getHttpMethod().clear();
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- setSecConstraint((SecurityConstraint)null);
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS:
- getURLs().clear();
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTT_PS:
- getHTTPs().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME:
- return WEB_RESOURCE_NAME_EDEFAULT == null ? webResourceName != null : !WEB_RESOURCE_NAME_EDEFAULT.equals(webResourceName);
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__URL_PATTERN:
- return urlPattern != null && !urlPattern.isEmpty();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTTP_METHOD:
- return httpMethod != null && !httpMethod.isEmpty();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT:
- return getSecConstraint() != null;
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__UR_LS:
- return urLs != null && !urLs.isEmpty();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION__HTT_PS:
- return httPs != null && !httPs.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (webResourceName: ");
- result.append(webResourceName);
- result.append(", description: ");
- result.append(description);
- result.append(", urlPattern: ");
- result.append(urlPattern);
- result.append(", httpMethod: ");
- result.append(httpMethod);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebTypeImpl.java
deleted file mode 100644
index 30c1d486a..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebTypeImpl.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-/**
- * @generated
- */
-public abstract class WebTypeImpl extends J2EEEObjectImpl implements WebType {
-
- public WebTypeImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.WEB_TYPE;
- }
-
-/**
- * isJspType method comment.
- */
-public boolean isJspType() {
- return false;
-}
-/**
- * isServletType method comment.
- */
-public boolean isServletType() {
- return false;
-}
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationFactoryImpl.java
deleted file mode 100644
index 86f92c360..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationFactoryImpl.java
+++ /dev/null
@@ -1,524 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.AuthMethodKind;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.DispatcherType;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.ResAuthServletType;
-import org.eclipse.jst.j2ee.webapplication.RoleNameType;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.TransportGuaranteeType;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-/**
- * @generated
- */
-public class WebapplicationFactoryImpl extends EFactoryImpl implements WebapplicationFactory {
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static WebapplicationFactory init() {
- try {
- WebapplicationFactory theWebapplicationFactory = (WebapplicationFactory)EPackage.Registry.INSTANCE.getEFactory("webapplication.xmi");
- if (theWebapplicationFactory != null) {
- return theWebapplicationFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new WebapplicationFactoryImpl();
- }
-
- public static final String MM_VERSION = "1.1";//$NON-NLS-1$
-
- public WebapplicationFactoryImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case WebapplicationPackage.WEB_APP: return createWebApp();
- case WebapplicationPackage.CONTEXT_PARAM: return createContextParam();
- case WebapplicationPackage.SERVLET: return createServlet();
- case WebapplicationPackage.SERVLET_MAPPING: return createServletMapping();
- case WebapplicationPackage.SESSION_CONFIG: return createSessionConfig();
- case WebapplicationPackage.MIME_MAPPING: return createMimeMapping();
- case WebapplicationPackage.WELCOME_FILE_LIST: return createWelcomeFileList();
- case WebapplicationPackage.ERROR_PAGE: return createErrorPage();
- case WebapplicationPackage.TAG_LIB_REF: return createTagLibRef();
- case WebapplicationPackage.SECURITY_CONSTRAINT: return createSecurityConstraint();
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION: return createWebResourceCollection();
- case WebapplicationPackage.AUTH_CONSTRAINT: return createAuthConstraint();
- case WebapplicationPackage.USER_DATA_CONSTRAINT: return createUserDataConstraint();
- case WebapplicationPackage.LOGIN_CONFIG: return createLoginConfig();
- case WebapplicationPackage.FORM_LOGIN_CONFIG: return createFormLoginConfig();
- case WebapplicationPackage.INIT_PARAM: return createInitParam();
- case WebapplicationPackage.SERVLET_TYPE: return createServletType();
- case WebapplicationPackage.JSP_TYPE: return createJSPType();
- case WebapplicationPackage.URL_PATTERN_TYPE: return createURLPatternType();
- case WebapplicationPackage.ROLE_NAME_TYPE: return createRoleNameType();
- case WebapplicationPackage.WELCOME_FILE: return createWelcomeFile();
- case WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE: return createExceptionTypeErrorPage();
- case WebapplicationPackage.ERROR_CODE_ERROR_PAGE: return createErrorCodeErrorPage();
- case WebapplicationPackage.FILTER_MAPPING: return createFilterMapping();
- case WebapplicationPackage.FILTER: return createFilter();
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST: return createLocalEncodingMappingList();
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING: return createLocalEncodingMapping();
- case WebapplicationPackage.HTTP_METHOD_TYPE: return createHTTPMethodType();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case WebapplicationPackage.RES_AUTH_SERVLET_TYPE:
- return createResAuthServletTypeFromString(eDataType, initialValue);
- case WebapplicationPackage.HTTP_METHOD_TYPE_ENUM:
- return createHTTPMethodTypeEnumFromString(eDataType, initialValue);
- case WebapplicationPackage.TRANSPORT_GUARANTEE_TYPE:
- return createTransportGuaranteeTypeFromString(eDataType, initialValue);
- case WebapplicationPackage.DISPATCHER_TYPE:
- return createDispatcherTypeFromString(eDataType, initialValue);
- case WebapplicationPackage.AUTH_METHOD_KIND:
- return createAuthMethodKindFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case WebapplicationPackage.RES_AUTH_SERVLET_TYPE:
- return convertResAuthServletTypeToString(eDataType, instanceValue);
- case WebapplicationPackage.HTTP_METHOD_TYPE_ENUM:
- return convertHTTPMethodTypeEnumToString(eDataType, instanceValue);
- case WebapplicationPackage.TRANSPORT_GUARANTEE_TYPE:
- return convertTransportGuaranteeTypeToString(eDataType, instanceValue);
- case WebapplicationPackage.DISPATCHER_TYPE:
- return convertDispatcherTypeToString(eDataType, instanceValue);
- case WebapplicationPackage.AUTH_METHOD_KIND:
- return convertAuthMethodKindToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
-public static WebapplicationFactory getActiveFactory() {
- return (WebapplicationFactory) getPackage().getEFactoryInstance();
-}
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WebApp createWebApp() {
- WebAppImpl webApp = new WebAppImpl();
- return webApp;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ContextParam createContextParam() {
- ContextParamImpl contextParam = new ContextParamImpl();
- return contextParam;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ErrorPage createErrorPage() {
- ErrorPageImpl errorPage = new ErrorPageImpl();
- return errorPage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TagLibRef createTagLibRef() {
- TagLibRefImpl tagLibRef = new TagLibRefImpl();
- return tagLibRef;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ExceptionTypeErrorPage createExceptionTypeErrorPage() {
- ExceptionTypeErrorPageImpl exceptionTypeErrorPage = new ExceptionTypeErrorPageImpl();
- return exceptionTypeErrorPage;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ErrorCodeErrorPage createErrorCodeErrorPage() {
- ErrorCodeErrorPageImpl errorCodeErrorPage = new ErrorCodeErrorPageImpl();
- return errorCodeErrorPage;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WelcomeFileList createWelcomeFileList() {
- WelcomeFileListImpl welcomeFileList = new WelcomeFileListImpl();
- return welcomeFileList;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WelcomeFile createWelcomeFile() {
- WelcomeFileImpl welcomeFile = new WelcomeFileImpl();
- return welcomeFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public SecurityConstraint createSecurityConstraint() {
- SecurityConstraintImpl securityConstraint = new SecurityConstraintImpl();
- return securityConstraint;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WebResourceCollection createWebResourceCollection() {
- WebResourceCollectionImpl webResourceCollection = new WebResourceCollectionImpl();
- return webResourceCollection;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public URLPatternType createURLPatternType() {
- URLPatternTypeImpl urlPatternType = new URLPatternTypeImpl();
- return urlPatternType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public AuthConstraint createAuthConstraint() {
- AuthConstraintImpl authConstraint = new AuthConstraintImpl();
- return authConstraint;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public UserDataConstraint createUserDataConstraint() {
- UserDataConstraintImpl userDataConstraint = new UserDataConstraintImpl();
- return userDataConstraint;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public LoginConfig createLoginConfig() {
- LoginConfigImpl loginConfig = new LoginConfigImpl();
- return loginConfig;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public FormLoginConfig createFormLoginConfig() {
- FormLoginConfigImpl formLoginConfig = new FormLoginConfigImpl();
- return formLoginConfig;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public MimeMapping createMimeMapping() {
- MimeMappingImpl mimeMapping = new MimeMappingImpl();
- return mimeMapping;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public SessionConfig createSessionConfig() {
- SessionConfigImpl sessionConfig = new SessionConfigImpl();
- return sessionConfig;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ServletMapping createServletMapping() {
- ServletMappingImpl servletMapping = new ServletMappingImpl();
- return servletMapping;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Servlet createServlet() {
- ServletImpl servlet = new ServletImpl();
- return servlet;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public ServletType createServletType() {
- ServletTypeImpl servletType = new ServletTypeImpl();
- return servletType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public JSPType createJSPType() {
- JSPTypeImpl jspType = new JSPTypeImpl();
- return jspType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public InitParam createInitParam() {
- InitParamImpl initParam = new InitParamImpl();
- return initParam;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Filter createFilter() {
- FilterImpl filter = new FilterImpl();
- return filter;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public FilterMapping createFilterMapping() {
- FilterMappingImpl filterMapping = new FilterMappingImpl();
- return filterMapping;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LocalEncodingMappingList createLocalEncodingMappingList() {
- LocalEncodingMappingListImpl localEncodingMappingList = new LocalEncodingMappingListImpl();
- return localEncodingMappingList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public LocalEncodingMapping createLocalEncodingMapping() {
- LocalEncodingMappingImpl localEncodingMapping = new LocalEncodingMappingImpl();
- return localEncodingMapping;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPMethodType createHTTPMethodType() {
- HTTPMethodTypeImpl httpMethodType = new HTTPMethodTypeImpl();
- return httpMethodType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResAuthServletType createResAuthServletTypeFromString(EDataType eDataType, String initialValue) {
- ResAuthServletType result = ResAuthServletType.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertResAuthServletTypeToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HTTPMethodTypeEnum createHTTPMethodTypeEnumFromString(EDataType eDataType, String initialValue) {
- HTTPMethodTypeEnum result = HTTPMethodTypeEnum.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertHTTPMethodTypeEnumToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TransportGuaranteeType createTransportGuaranteeTypeFromString(EDataType eDataType, String initialValue) {
- TransportGuaranteeType result = TransportGuaranteeType.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertTransportGuaranteeTypeToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DispatcherType createDispatcherTypeFromString(EDataType eDataType, String initialValue) {
- DispatcherType result = DispatcherType.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertDispatcherTypeToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AuthMethodKind createAuthMethodKindFromString(EDataType eDataType, String initialValue) {
- AuthMethodKind result = AuthMethodKind.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertAuthMethodKindToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public RoleNameType createRoleNameType() {
- RoleNameTypeImpl roleNameType = new RoleNameTypeImpl();
- return roleNameType;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WebapplicationPackage getWebapplicationPackage() {
- return (WebapplicationPackage)getEPackage();
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static WebapplicationPackage getPackage() {
- return WebapplicationPackage.eINSTANCE;
- }
-
-}
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationPackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationPackageImpl.java
deleted file mode 100644
index 5cf498617..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WebapplicationPackageImpl.java
+++ /dev/null
@@ -1,1861 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.jem.java.JavaRefPackage;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.application.internal.impl.ApplicationPackageImpl;
-import org.eclipse.jst.j2ee.client.ClientPackage;
-import org.eclipse.jst.j2ee.client.internal.impl.ClientPackageImpl;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.internal.impl.CommonPackageImpl;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.internal.impl.EjbPackageImpl;
-import org.eclipse.jst.j2ee.jca.JcaPackage;
-import org.eclipse.jst.j2ee.jca.internal.impl.JcaPackageImpl;
-import org.eclipse.jst.j2ee.jsp.JspPackage;
-import org.eclipse.jst.j2ee.jsp.internal.impl.JspPackageImpl;
-import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage;
-import org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl;
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.AuthMethodKind;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.DispatcherType;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodTypeEnum;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.ResAuthServletType;
-import org.eclipse.jst.j2ee.webapplication.RoleNameType;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.TransportGuaranteeType;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientPackage;
-import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.Webservice_clientPackageImpl;
-import org.eclipse.jst.j2ee.webservice.wscommon.WscommonPackage;
-import org.eclipse.jst.j2ee.webservice.wscommon.internal.impl.WscommonPackageImpl;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddPackage;
-import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.WsddPackageImpl;
-
-
-public class WebapplicationPackageImpl extends EPackageImpl implements WebapplicationPackage, EPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass webAppEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass contextParamEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass servletEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass servletMappingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass sessionConfigEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass mimeMappingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass welcomeFileListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass errorPageEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass tagLibRefEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass securityConstraintEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass webResourceCollectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass authConstraintEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass userDataConstraintEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass loginConfigEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass formLoginConfigEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass initParamEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass webTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass servletTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass jspTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass urlPatternTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass roleNameTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass welcomeFileEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass exceptionTypeErrorPageEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass errorCodeErrorPageEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass filterMappingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass filterEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass localEncodingMappingListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass localEncodingMappingEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass httpMethodTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum resAuthServletTypeEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum httpMethodTypeEnumEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum transportGuaranteeTypeEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum dispatcherTypeEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum authMethodKindEEnum = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- private WebapplicationPackageImpl() {
- super(eNS_URI, WebapplicationFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public static WebapplicationPackage init() {
- if (isInited) return (WebapplicationPackage)EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI);
-
- // Obtain or create and register package
- WebapplicationPackageImpl theWebapplicationPackage = (WebapplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof WebapplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new WebapplicationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- EcorePackage.eINSTANCE.eClass();
- JavaRefPackage.eINSTANCE.eClass();
-
- // Obtain or create and register interdependencies
- ClientPackageImpl theClientPackage = (ClientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ClientPackage.eNS_URI) instanceof ClientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ClientPackage.eNS_URI) : ClientPackage.eINSTANCE);
- ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
- ApplicationPackageImpl theApplicationPackage_1 = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE);
- CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
- EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE);
- TaglibPackageImpl theTaglibPackage = (TaglibPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TaglibPackage.eNS_URI) instanceof TaglibPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TaglibPackage.eNS_URI) : TaglibPackage.eINSTANCE);
- JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) : JcaPackage.eINSTANCE);
- Webservice_clientPackageImpl theWebservice_clientPackage = (Webservice_clientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Webservice_clientPackage.eNS_URI) instanceof Webservice_clientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Webservice_clientPackage.eNS_URI) : Webservice_clientPackage.eINSTANCE);
- JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE);
- WscommonPackageImpl theWscommonPackage = (WscommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WscommonPackage.eNS_URI) instanceof WscommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WscommonPackage.eNS_URI) : WscommonPackage.eINSTANCE);
- WsddPackageImpl theWsddPackage = (WsddPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WsddPackage.eNS_URI) instanceof WsddPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WsddPackage.eNS_URI) : WsddPackage.eINSTANCE);
-
- // Create package meta-data objects
- theWebapplicationPackage.createPackageContents();
- theClientPackage.createPackageContents();
- theApplicationPackage.createPackageContents();
- theApplicationPackage_1.createPackageContents();
- theCommonPackage.createPackageContents();
- theEjbPackage.createPackageContents();
- theTaglibPackage.createPackageContents();
- theJcaPackage.createPackageContents();
- theWebservice_clientPackage.createPackageContents();
- theJspPackage.createPackageContents();
- theWscommonPackage.createPackageContents();
- theWsddPackage.createPackageContents();
-
- // Initialize created meta-data
- theWebapplicationPackage.initializePackageContents();
- theClientPackage.initializePackageContents();
- theApplicationPackage.initializePackageContents();
- theApplicationPackage_1.initializePackageContents();
- theCommonPackage.initializePackageContents();
- theEjbPackage.initializePackageContents();
- theTaglibPackage.initializePackageContents();
- theJcaPackage.initializePackageContents();
- theWebservice_clientPackage.initializePackageContents();
- theJspPackage.initializePackageContents();
- theWscommonPackage.initializePackageContents();
- theWsddPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theWebapplicationPackage.freeze();
-
- return theWebapplicationPackage;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWebApp() {
- return webAppEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getWebApp_Distributable() {
- return (EAttribute)webAppEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getWebApp_Version() {
- return (EAttribute)webAppEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_Contexts() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_ErrorPages() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_FileList() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_TagLibs() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_Constraints() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_LoginConfig() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_MimeMappings() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_SessionConfig() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_ServletMappings() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_Servlets() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(11);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_SecurityRoles() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(12);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_Filters() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(13);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_FilterMappings() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(14);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebApp_Listeners() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(15);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getWebApp_ContextParams() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(16);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getWebApp_JspConfig() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(17);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getWebApp_MessageDestinations() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(18);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getWebApp_LocalEncodingMappingList() {
- return (EReference)webAppEClass.getEStructuralFeatures().get(19);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getContextParam() {
- return contextParamEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getContextParam_ParamName() {
- return (EAttribute)contextParamEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getContextParam_ParamValue() {
- return (EAttribute)contextParamEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getContextParam_Description() {
- return (EAttribute)contextParamEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getContextParam_WebApp() {
- return (EReference)contextParamEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getErrorPage() {
- return errorPageEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getErrorPage_Location() {
- return (EAttribute)errorPageEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getErrorPage_WebApp() {
- return (EReference)errorPageEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getExceptionTypeErrorPage() {
- return exceptionTypeErrorPageEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getExceptionTypeErrorPage_ExceptionType() {
- return (EReference)exceptionTypeErrorPageEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getErrorCodeErrorPage() {
- return errorCodeErrorPageEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getErrorCodeErrorPage_ErrorCode() {
- return (EAttribute)errorCodeErrorPageEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWelcomeFileList() {
- return welcomeFileListEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWelcomeFileList_WebApp() {
- return (EReference)welcomeFileListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWelcomeFileList_File() {
- return (EReference)welcomeFileListEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWelcomeFile() {
- return welcomeFileEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getWelcomeFile_WelcomeFile() {
- return (EAttribute)welcomeFileEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWelcomeFile_FileList() {
- return (EReference)welcomeFileEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getTagLibRef() {
- return tagLibRefEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getTagLibRef_TaglibURI() {
- return (EAttribute)tagLibRefEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getTagLibRef_TaglibLocation() {
- return (EAttribute)tagLibRefEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTagLibRef_WebApp() {
- return (EReference)tagLibRefEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getSecurityConstraint() {
- return securityConstraintEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSecurityConstraint_DisplayName() {
- return (EAttribute)securityConstraintEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getSecurityConstraint_WebApp() {
- return (EReference)securityConstraintEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getSecurityConstraint_WebResourceCollections() {
- return (EReference)securityConstraintEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getSecurityConstraint_AuthConstraint() {
- return (EReference)securityConstraintEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getSecurityConstraint_UserDataConstraint() {
- return (EReference)securityConstraintEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSecurityConstraint_DisplayNames() {
- return (EReference)securityConstraintEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWebResourceCollection() {
- return webResourceCollectionEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getWebResourceCollection_WebResourceName() {
- return (EAttribute)webResourceCollectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getWebResourceCollection_Description() {
- return (EAttribute)webResourceCollectionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getWebResourceCollection_UrlPattern() {
- return (EAttribute)webResourceCollectionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getWebResourceCollection_HttpMethod() {
- return (EAttribute)webResourceCollectionEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebResourceCollection_SecConstraint() {
- return (EReference)webResourceCollectionEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getWebResourceCollection_URLs() {
- return (EReference)webResourceCollectionEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getWebResourceCollection_Descriptions() {
- return (EReference)webResourceCollectionEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getWebResourceCollection_HTTPs() {
- return (EReference)webResourceCollectionEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getURLPatternType() {
- return urlPatternTypeEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getURLPatternType_UrlPattern() {
- return (EAttribute)urlPatternTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getURLPatternType_ResCollection() {
- return (EReference)urlPatternTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getHTTPMethodType() {
- return httpMethodTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getHTTPMethodType_HttpMethod() {
- return (EAttribute)httpMethodTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getAuthConstraint() {
- return authConstraintEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getAuthConstraint_Description() {
- return (EAttribute)authConstraintEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getAuthConstraint_Roles() {
- return (EAttribute)authConstraintEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getAuthConstraint_SecConstraint() {
- return (EReference)authConstraintEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAuthConstraint_Descriptions() {
- return (EReference)authConstraintEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getUserDataConstraint() {
- return userDataConstraintEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getUserDataConstraint_Description() {
- return (EAttribute)userDataConstraintEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getUserDataConstraint_TransportGuarantee() {
- return (EAttribute)userDataConstraintEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getUserDataConstraint_SecConstraint() {
- return (EReference)userDataConstraintEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUserDataConstraint_Descriptions() {
- return (EReference)userDataConstraintEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getLoginConfig() {
- return loginConfigEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getLoginConfig_AuthMethod() {
- return (EAttribute)loginConfigEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getLoginConfig_RealmName() {
- return (EAttribute)loginConfigEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLoginConfig_AuthorizationMethod() {
- return (EAttribute)loginConfigEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getLoginConfig_WebApp() {
- return (EReference)loginConfigEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getLoginConfig_FormLoginConfig() {
- return (EReference)loginConfigEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getFormLoginConfig() {
- return formLoginConfigEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFormLoginConfig_FormLoginPage() {
- return (EAttribute)formLoginConfigEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFormLoginConfig_FormErrorPage() {
- return (EAttribute)formLoginConfigEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFormLoginConfig_LoginConfig() {
- return (EReference)formLoginConfigEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getMimeMapping() {
- return mimeMappingEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getMimeMapping_Extension() {
- return (EAttribute)mimeMappingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getMimeMapping_MimeType() {
- return (EAttribute)mimeMappingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getMimeMapping_WebApp() {
- return (EReference)mimeMappingEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getSessionConfig() {
- return sessionConfigEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getSessionConfig_SessionTimeout() {
- return (EAttribute)sessionConfigEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getSessionConfig_WebApp() {
- return (EReference)sessionConfigEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getServletMapping() {
- return servletMappingEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getServletMapping_UrlPattern() {
- return (EAttribute)servletMappingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getServletMapping_Name() {
- return (EAttribute)servletMappingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServletMapping_WebApp() {
- return (EReference)servletMappingEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServletMapping_Servlet() {
- return (EReference)servletMappingEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getServlet() {
- return servletEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getServlet_ServletName() {
- return (EAttribute)servletEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getServlet_LoadOnStartup() {
- return (EAttribute)servletEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServlet_WebApp() {
- return (EReference)servletEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServlet_WebType() {
- return (EReference)servletEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServlet_Params() {
- return (EReference)servletEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServlet_SecurityRoleRefs() {
- return (EReference)servletEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getServlet_RunAs() {
- return (EReference)servletEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getServlet_InitParams() {
- return (EReference)servletEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getWebType() {
- return webTypeEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getServletType() {
- return servletTypeEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getServletType_ClassName() {
- return (EAttribute)servletTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getJSPType() {
- return jspTypeEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getJSPType_JspFile() {
- return (EAttribute)jspTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getInitParam() {
- return initParamEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getInitParam_ParamName() {
- return (EAttribute)initParamEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getInitParam_ParamValue() {
- return (EAttribute)initParamEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getInitParam_Description() {
- return (EAttribute)initParamEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getFilter() {
- return filterEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFilter_Name() {
- return (EAttribute)filterEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFilter_InitParams() {
- return (EReference)filterEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFilter_FilterClass() {
- return (EReference)filterEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFilter_InitParamValues() {
- return (EReference)filterEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getFilterMapping() {
- return filterMappingEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getFilterMapping_UrlPattern() {
- return (EAttribute)filterMappingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getFilterMapping_DispatcherType() {
- return (EAttribute)filterMappingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFilterMapping_Filter() {
- return (EReference)filterMappingEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EReference getFilterMapping_Servlet() {
- return (EReference)filterMappingEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getLocalEncodingMappingList() {
- return localEncodingMappingListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getLocalEncodingMappingList_LocalEncodingMappings() {
- return (EReference)localEncodingMappingListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getLocalEncodingMapping() {
- return localEncodingMappingEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLocalEncodingMapping_Locale() {
- return (EAttribute)localEncodingMappingEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLocalEncodingMapping_Encoding() {
- return (EAttribute)localEncodingMappingEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getResAuthServletType() {
- return resAuthServletTypeEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getHTTPMethodTypeEnum() {
- return httpMethodTypeEnumEEnum;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EClass getRoleNameType() {
- return roleNameTypeEClass;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EAttribute getRoleNameType_RoleName() {
- return (EAttribute)roleNameTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public EEnum getTransportGuaranteeType() {
- return transportGuaranteeTypeEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getDispatcherType() {
- return dispatcherTypeEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getAuthMethodKind() {
- return authMethodKindEEnum;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public WebapplicationFactory getWebapplicationFactory() {
- return (WebapplicationFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- webAppEClass = createEClass(WEB_APP);
- createEAttribute(webAppEClass, WEB_APP__DISTRIBUTABLE);
- createEAttribute(webAppEClass, WEB_APP__VERSION);
- createEReference(webAppEClass, WEB_APP__CONTEXTS);
- createEReference(webAppEClass, WEB_APP__ERROR_PAGES);
- createEReference(webAppEClass, WEB_APP__FILE_LIST);
- createEReference(webAppEClass, WEB_APP__TAG_LIBS);
- createEReference(webAppEClass, WEB_APP__CONSTRAINTS);
- createEReference(webAppEClass, WEB_APP__LOGIN_CONFIG);
- createEReference(webAppEClass, WEB_APP__MIME_MAPPINGS);
- createEReference(webAppEClass, WEB_APP__SESSION_CONFIG);
- createEReference(webAppEClass, WEB_APP__SERVLET_MAPPINGS);
- createEReference(webAppEClass, WEB_APP__SERVLETS);
- createEReference(webAppEClass, WEB_APP__SECURITY_ROLES);
- createEReference(webAppEClass, WEB_APP__FILTERS);
- createEReference(webAppEClass, WEB_APP__FILTER_MAPPINGS);
- createEReference(webAppEClass, WEB_APP__LISTENERS);
- createEReference(webAppEClass, WEB_APP__CONTEXT_PARAMS);
- createEReference(webAppEClass, WEB_APP__JSP_CONFIG);
- createEReference(webAppEClass, WEB_APP__MESSAGE_DESTINATIONS);
- createEReference(webAppEClass, WEB_APP__LOCAL_ENCODING_MAPPING_LIST);
-
- contextParamEClass = createEClass(CONTEXT_PARAM);
- createEAttribute(contextParamEClass, CONTEXT_PARAM__PARAM_NAME);
- createEAttribute(contextParamEClass, CONTEXT_PARAM__PARAM_VALUE);
- createEAttribute(contextParamEClass, CONTEXT_PARAM__DESCRIPTION);
- createEReference(contextParamEClass, CONTEXT_PARAM__WEB_APP);
-
- servletEClass = createEClass(SERVLET);
- createEAttribute(servletEClass, SERVLET__SERVLET_NAME);
- createEAttribute(servletEClass, SERVLET__LOAD_ON_STARTUP);
- createEReference(servletEClass, SERVLET__WEB_APP);
- createEReference(servletEClass, SERVLET__WEB_TYPE);
- createEReference(servletEClass, SERVLET__PARAMS);
- createEReference(servletEClass, SERVLET__SECURITY_ROLE_REFS);
- createEReference(servletEClass, SERVLET__RUN_AS);
- createEReference(servletEClass, SERVLET__INIT_PARAMS);
-
- servletMappingEClass = createEClass(SERVLET_MAPPING);
- createEAttribute(servletMappingEClass, SERVLET_MAPPING__URL_PATTERN);
- createEAttribute(servletMappingEClass, SERVLET_MAPPING__NAME);
- createEReference(servletMappingEClass, SERVLET_MAPPING__WEB_APP);
- createEReference(servletMappingEClass, SERVLET_MAPPING__SERVLET);
-
- sessionConfigEClass = createEClass(SESSION_CONFIG);
- createEAttribute(sessionConfigEClass, SESSION_CONFIG__SESSION_TIMEOUT);
- createEReference(sessionConfigEClass, SESSION_CONFIG__WEB_APP);
-
- mimeMappingEClass = createEClass(MIME_MAPPING);
- createEAttribute(mimeMappingEClass, MIME_MAPPING__EXTENSION);
- createEAttribute(mimeMappingEClass, MIME_MAPPING__MIME_TYPE);
- createEReference(mimeMappingEClass, MIME_MAPPING__WEB_APP);
-
- welcomeFileListEClass = createEClass(WELCOME_FILE_LIST);
- createEReference(welcomeFileListEClass, WELCOME_FILE_LIST__WEB_APP);
- createEReference(welcomeFileListEClass, WELCOME_FILE_LIST__FILE);
-
- errorPageEClass = createEClass(ERROR_PAGE);
- createEAttribute(errorPageEClass, ERROR_PAGE__LOCATION);
- createEReference(errorPageEClass, ERROR_PAGE__WEB_APP);
-
- tagLibRefEClass = createEClass(TAG_LIB_REF);
- createEAttribute(tagLibRefEClass, TAG_LIB_REF__TAGLIB_URI);
- createEAttribute(tagLibRefEClass, TAG_LIB_REF__TAGLIB_LOCATION);
- createEReference(tagLibRefEClass, TAG_LIB_REF__WEB_APP);
-
- securityConstraintEClass = createEClass(SECURITY_CONSTRAINT);
- createEAttribute(securityConstraintEClass, SECURITY_CONSTRAINT__DISPLAY_NAME);
- createEReference(securityConstraintEClass, SECURITY_CONSTRAINT__WEB_APP);
- createEReference(securityConstraintEClass, SECURITY_CONSTRAINT__WEB_RESOURCE_COLLECTIONS);
- createEReference(securityConstraintEClass, SECURITY_CONSTRAINT__AUTH_CONSTRAINT);
- createEReference(securityConstraintEClass, SECURITY_CONSTRAINT__USER_DATA_CONSTRAINT);
- createEReference(securityConstraintEClass, SECURITY_CONSTRAINT__DISPLAY_NAMES);
-
- webResourceCollectionEClass = createEClass(WEB_RESOURCE_COLLECTION);
- createEAttribute(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__WEB_RESOURCE_NAME);
- createEAttribute(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__DESCRIPTION);
- createEAttribute(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__URL_PATTERN);
- createEAttribute(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__HTTP_METHOD);
- createEReference(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__SEC_CONSTRAINT);
- createEReference(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__UR_LS);
- createEReference(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__DESCRIPTIONS);
- createEReference(webResourceCollectionEClass, WEB_RESOURCE_COLLECTION__HTT_PS);
-
- authConstraintEClass = createEClass(AUTH_CONSTRAINT);
- createEAttribute(authConstraintEClass, AUTH_CONSTRAINT__DESCRIPTION);
- createEAttribute(authConstraintEClass, AUTH_CONSTRAINT__ROLES);
- createEReference(authConstraintEClass, AUTH_CONSTRAINT__SEC_CONSTRAINT);
- createEReference(authConstraintEClass, AUTH_CONSTRAINT__DESCRIPTIONS);
-
- userDataConstraintEClass = createEClass(USER_DATA_CONSTRAINT);
- createEAttribute(userDataConstraintEClass, USER_DATA_CONSTRAINT__DESCRIPTION);
- createEAttribute(userDataConstraintEClass, USER_DATA_CONSTRAINT__TRANSPORT_GUARANTEE);
- createEReference(userDataConstraintEClass, USER_DATA_CONSTRAINT__SEC_CONSTRAINT);
- createEReference(userDataConstraintEClass, USER_DATA_CONSTRAINT__DESCRIPTIONS);
-
- loginConfigEClass = createEClass(LOGIN_CONFIG);
- createEAttribute(loginConfigEClass, LOGIN_CONFIG__AUTH_METHOD);
- createEAttribute(loginConfigEClass, LOGIN_CONFIG__REALM_NAME);
- createEAttribute(loginConfigEClass, LOGIN_CONFIG__AUTHORIZATION_METHOD);
- createEReference(loginConfigEClass, LOGIN_CONFIG__WEB_APP);
- createEReference(loginConfigEClass, LOGIN_CONFIG__FORM_LOGIN_CONFIG);
-
- formLoginConfigEClass = createEClass(FORM_LOGIN_CONFIG);
- createEAttribute(formLoginConfigEClass, FORM_LOGIN_CONFIG__FORM_LOGIN_PAGE);
- createEAttribute(formLoginConfigEClass, FORM_LOGIN_CONFIG__FORM_ERROR_PAGE);
- createEReference(formLoginConfigEClass, FORM_LOGIN_CONFIG__LOGIN_CONFIG);
-
- initParamEClass = createEClass(INIT_PARAM);
- createEAttribute(initParamEClass, INIT_PARAM__PARAM_NAME);
- createEAttribute(initParamEClass, INIT_PARAM__PARAM_VALUE);
- createEAttribute(initParamEClass, INIT_PARAM__DESCRIPTION);
-
- webTypeEClass = createEClass(WEB_TYPE);
-
- servletTypeEClass = createEClass(SERVLET_TYPE);
- createEAttribute(servletTypeEClass, SERVLET_TYPE__CLASS_NAME);
-
- jspTypeEClass = createEClass(JSP_TYPE);
- createEAttribute(jspTypeEClass, JSP_TYPE__JSP_FILE);
-
- urlPatternTypeEClass = createEClass(URL_PATTERN_TYPE);
- createEAttribute(urlPatternTypeEClass, URL_PATTERN_TYPE__URL_PATTERN);
- createEReference(urlPatternTypeEClass, URL_PATTERN_TYPE__RES_COLLECTION);
-
- roleNameTypeEClass = createEClass(ROLE_NAME_TYPE);
- createEAttribute(roleNameTypeEClass, ROLE_NAME_TYPE__ROLE_NAME);
-
- welcomeFileEClass = createEClass(WELCOME_FILE);
- createEAttribute(welcomeFileEClass, WELCOME_FILE__WELCOME_FILE);
- createEReference(welcomeFileEClass, WELCOME_FILE__FILE_LIST);
-
- exceptionTypeErrorPageEClass = createEClass(EXCEPTION_TYPE_ERROR_PAGE);
- createEReference(exceptionTypeErrorPageEClass, EXCEPTION_TYPE_ERROR_PAGE__EXCEPTION_TYPE);
-
- errorCodeErrorPageEClass = createEClass(ERROR_CODE_ERROR_PAGE);
- createEAttribute(errorCodeErrorPageEClass, ERROR_CODE_ERROR_PAGE__ERROR_CODE);
-
- filterMappingEClass = createEClass(FILTER_MAPPING);
- createEAttribute(filterMappingEClass, FILTER_MAPPING__URL_PATTERN);
- createEAttribute(filterMappingEClass, FILTER_MAPPING__DISPATCHER_TYPE);
- createEReference(filterMappingEClass, FILTER_MAPPING__FILTER);
- createEReference(filterMappingEClass, FILTER_MAPPING__SERVLET);
-
- filterEClass = createEClass(FILTER);
- createEAttribute(filterEClass, FILTER__NAME);
- createEReference(filterEClass, FILTER__INIT_PARAMS);
- createEReference(filterEClass, FILTER__FILTER_CLASS);
- createEReference(filterEClass, FILTER__INIT_PARAM_VALUES);
-
- localEncodingMappingListEClass = createEClass(LOCAL_ENCODING_MAPPING_LIST);
- createEReference(localEncodingMappingListEClass, LOCAL_ENCODING_MAPPING_LIST__LOCAL_ENCODING_MAPPINGS);
-
- localEncodingMappingEClass = createEClass(LOCAL_ENCODING_MAPPING);
- createEAttribute(localEncodingMappingEClass, LOCAL_ENCODING_MAPPING__LOCALE);
- createEAttribute(localEncodingMappingEClass, LOCAL_ENCODING_MAPPING__ENCODING);
-
- httpMethodTypeEClass = createEClass(HTTP_METHOD_TYPE);
- createEAttribute(httpMethodTypeEClass, HTTP_METHOD_TYPE__HTTP_METHOD);
-
- // Create enums
- resAuthServletTypeEEnum = createEEnum(RES_AUTH_SERVLET_TYPE);
- httpMethodTypeEnumEEnum = createEEnum(HTTP_METHOD_TYPE_ENUM);
- transportGuaranteeTypeEEnum = createEEnum(TRANSPORT_GUARANTEE_TYPE);
- dispatcherTypeEEnum = createEEnum(DISPATCHER_TYPE);
- authMethodKindEEnum = createEEnum(AUTH_METHOD_KIND);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
- JspPackage theJspPackage = (JspPackage)EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI);
- JavaRefPackage theJavaRefPackage = (JavaRefPackage)EPackage.Registry.INSTANCE.getEPackage(JavaRefPackage.eNS_URI);
-
- // Add supertypes to classes
- webAppEClass.getESuperTypes().add(theCommonPackage.getJNDIEnvRefsGroup());
- contextParamEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- servletEClass.getESuperTypes().add(theCommonPackage.getCompatibilityDescriptionGroup());
- servletMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- sessionConfigEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- mimeMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- welcomeFileListEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- errorPageEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- tagLibRefEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- securityConstraintEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- webResourceCollectionEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- authConstraintEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- userDataConstraintEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- loginConfigEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- formLoginConfigEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- initParamEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- webTypeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- servletTypeEClass.getESuperTypes().add(this.getWebType());
- jspTypeEClass.getESuperTypes().add(this.getWebType());
- urlPatternTypeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- roleNameTypeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- welcomeFileEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- exceptionTypeErrorPageEClass.getESuperTypes().add(this.getErrorPage());
- errorCodeErrorPageEClass.getESuperTypes().add(this.getErrorPage());
- filterMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- filterEClass.getESuperTypes().add(theCommonPackage.getCompatibilityDescriptionGroup());
- localEncodingMappingListEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- localEncodingMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
- httpMethodTypeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject());
-
- // Initialize classes and features; add operations and parameters
- initEClass(webAppEClass, WebApp.class, "WebApp", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getWebApp_Distributable(), ecorePackage.getEBoolean(), "distributable", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getWebApp_Version(), ecorePackage.getEString(), "version", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_Contexts(), this.getContextParam(), this.getContextParam_WebApp(), "contexts", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_ErrorPages(), this.getErrorPage(), this.getErrorPage_WebApp(), "errorPages", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_FileList(), this.getWelcomeFileList(), this.getWelcomeFileList_WebApp(), "fileList", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_TagLibs(), this.getTagLibRef(), this.getTagLibRef_WebApp(), "tagLibs", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_Constraints(), this.getSecurityConstraint(), this.getSecurityConstraint_WebApp(), "constraints", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_LoginConfig(), this.getLoginConfig(), this.getLoginConfig_WebApp(), "loginConfig", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_MimeMappings(), this.getMimeMapping(), this.getMimeMapping_WebApp(), "mimeMappings", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_SessionConfig(), this.getSessionConfig(), this.getSessionConfig_WebApp(), "sessionConfig", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_ServletMappings(), this.getServletMapping(), this.getServletMapping_WebApp(), "servletMappings", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_Servlets(), this.getServlet(), this.getServlet_WebApp(), "servlets", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_SecurityRoles(), theCommonPackage.getSecurityRole(), null, "securityRoles", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_Filters(), this.getFilter(), null, "filters", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_FilterMappings(), this.getFilterMapping(), null, "filterMappings", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_Listeners(), theCommonPackage.getListener(), null, "listeners", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_ContextParams(), theCommonPackage.getParamValue(), null, "contextParams", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_JspConfig(), theJspPackage.getJSPConfig(), null, "jspConfig", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_MessageDestinations(), theCommonPackage.getMessageDestination(), null, "messageDestinations", null, 0, -1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebApp_LocalEncodingMappingList(), this.getLocalEncodingMappingList(), null, "localEncodingMappingList", null, 0, 1, WebApp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(contextParamEClass, ContextParam.class, "ContextParam", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getContextParam_ParamName(), ecorePackage.getEString(), "paramName", null, 0, 1, ContextParam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getContextParam_ParamValue(), ecorePackage.getEString(), "paramValue", null, 0, 1, ContextParam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getContextParam_Description(), ecorePackage.getEString(), "description", null, 0, 1, ContextParam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getContextParam_WebApp(), this.getWebApp(), this.getWebApp_Contexts(), "webApp", null, 0, 1, ContextParam.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(servletEClass, Servlet.class, "Servlet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getServlet_ServletName(), ecorePackage.getEString(), "servletName", null, 0, 1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getServlet_LoadOnStartup(), ecorePackage.getEIntegerObject(), "loadOnStartup", null, 0, 1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServlet_WebApp(), this.getWebApp(), this.getWebApp_Servlets(), "webApp", null, 0, 1, Servlet.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServlet_WebType(), this.getWebType(), null, "webType", null, 1, 1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServlet_Params(), this.getInitParam(), null, "params", null, 0, -1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServlet_SecurityRoleRefs(), theCommonPackage.getSecurityRoleRef(), null, "securityRoleRefs", null, 0, -1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServlet_RunAs(), theCommonPackage.getRunAsSpecifiedIdentity(), null, "runAs", null, 0, 1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServlet_InitParams(), theCommonPackage.getParamValue(), null, "initParams", null, 0, -1, Servlet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(servletMappingEClass, ServletMapping.class, "ServletMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getServletMapping_UrlPattern(), ecorePackage.getEString(), "urlPattern", null, 0, 1, ServletMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getServletMapping_Name(), ecorePackage.getEString(), "name", null, 0, 1, ServletMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServletMapping_WebApp(), this.getWebApp(), this.getWebApp_ServletMappings(), "webApp", null, 0, 1, ServletMapping.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getServletMapping_Servlet(), this.getServlet(), null, "servlet", null, 1, 1, ServletMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(sessionConfigEClass, SessionConfig.class, "SessionConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSessionConfig_SessionTimeout(), ecorePackage.getEInt(), "sessionTimeout", null, 0, 1, SessionConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSessionConfig_WebApp(), this.getWebApp(), this.getWebApp_SessionConfig(), "webApp", null, 0, 1, SessionConfig.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(mimeMappingEClass, MimeMapping.class, "MimeMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getMimeMapping_Extension(), ecorePackage.getEString(), "extension", null, 0, 1, MimeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMimeMapping_MimeType(), ecorePackage.getEString(), "mimeType", null, 0, 1, MimeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMimeMapping_WebApp(), this.getWebApp(), this.getWebApp_MimeMappings(), "webApp", null, 0, 1, MimeMapping.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(welcomeFileListEClass, WelcomeFileList.class, "WelcomeFileList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getWelcomeFileList_WebApp(), this.getWebApp(), this.getWebApp_FileList(), "webApp", null, 0, 1, WelcomeFileList.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWelcomeFileList_File(), this.getWelcomeFile(), this.getWelcomeFile_FileList(), "file", null, 0, -1, WelcomeFileList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(errorPageEClass, ErrorPage.class, "ErrorPage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getErrorPage_Location(), ecorePackage.getEString(), "location", null, 0, 1, ErrorPage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getErrorPage_WebApp(), this.getWebApp(), this.getWebApp_ErrorPages(), "webApp", null, 0, 1, ErrorPage.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(tagLibRefEClass, TagLibRef.class, "TagLibRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTagLibRef_TaglibURI(), ecorePackage.getEString(), "taglibURI", null, 0, 1, TagLibRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTagLibRef_TaglibLocation(), ecorePackage.getEString(), "taglibLocation", null, 0, 1, TagLibRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getTagLibRef_WebApp(), this.getWebApp(), this.getWebApp_TagLibs(), "webApp", null, 0, 1, TagLibRef.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(securityConstraintEClass, SecurityConstraint.class, "SecurityConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSecurityConstraint_DisplayName(), ecorePackage.getEString(), "displayName", null, 0, 1, SecurityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSecurityConstraint_WebApp(), this.getWebApp(), this.getWebApp_Constraints(), "webApp", null, 0, 1, SecurityConstraint.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSecurityConstraint_WebResourceCollections(), this.getWebResourceCollection(), this.getWebResourceCollection_SecConstraint(), "webResourceCollections", null, 1, -1, SecurityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSecurityConstraint_AuthConstraint(), this.getAuthConstraint(), this.getAuthConstraint_SecConstraint(), "authConstraint", null, 0, 1, SecurityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSecurityConstraint_UserDataConstraint(), this.getUserDataConstraint(), this.getUserDataConstraint_SecConstraint(), "userDataConstraint", null, 0, 1, SecurityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSecurityConstraint_DisplayNames(), theCommonPackage.getDisplayName(), null, "displayNames", null, 0, -1, SecurityConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(webResourceCollectionEClass, WebResourceCollection.class, "WebResourceCollection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getWebResourceCollection_WebResourceName(), ecorePackage.getEString(), "webResourceName", null, 0, 1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getWebResourceCollection_Description(), ecorePackage.getEString(), "description", null, 0, 1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getWebResourceCollection_UrlPattern(), ecorePackage.getEString(), "urlPattern", null, 1, -1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getWebResourceCollection_HttpMethod(), this.getHTTPMethodTypeEnum(), "httpMethod", null, 0, -1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebResourceCollection_SecConstraint(), this.getSecurityConstraint(), this.getSecurityConstraint_WebResourceCollections(), "secConstraint", null, 0, 1, WebResourceCollection.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebResourceCollection_URLs(), this.getURLPatternType(), this.getURLPatternType_ResCollection(), "URLs", null, 0, -1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebResourceCollection_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWebResourceCollection_HTTPs(), this.getHTTPMethodType(), null, "HTTPs", null, 0, -1, WebResourceCollection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(authConstraintEClass, AuthConstraint.class, "AuthConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAuthConstraint_Description(), ecorePackage.getEString(), "description", null, 0, 1, AuthConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAuthConstraint_Roles(), ecorePackage.getEString(), "roles", null, 0, -1, AuthConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAuthConstraint_SecConstraint(), this.getSecurityConstraint(), this.getSecurityConstraint_AuthConstraint(), "secConstraint", null, 0, 1, AuthConstraint.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAuthConstraint_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, AuthConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(userDataConstraintEClass, UserDataConstraint.class, "UserDataConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUserDataConstraint_Description(), ecorePackage.getEString(), "description", null, 0, 1, UserDataConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUserDataConstraint_TransportGuarantee(), this.getTransportGuaranteeType(), "transportGuarantee", null, 0, 1, UserDataConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUserDataConstraint_SecConstraint(), this.getSecurityConstraint(), this.getSecurityConstraint_UserDataConstraint(), "secConstraint", null, 0, 1, UserDataConstraint.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUserDataConstraint_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, UserDataConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(loginConfigEClass, LoginConfig.class, "LoginConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getLoginConfig_AuthMethod(), this.getAuthMethodKind(), "authMethod", null, 0, 1, LoginConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getLoginConfig_RealmName(), ecorePackage.getEString(), "realmName", null, 0, 1, LoginConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getLoginConfig_AuthorizationMethod(), ecorePackage.getEString(), "authorizationMethod", null, 0, 1, LoginConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLoginConfig_WebApp(), this.getWebApp(), this.getWebApp_LoginConfig(), "webApp", null, 0, 1, LoginConfig.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLoginConfig_FormLoginConfig(), this.getFormLoginConfig(), this.getFormLoginConfig_LoginConfig(), "formLoginConfig", null, 0, 1, LoginConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formLoginConfigEClass, FormLoginConfig.class, "FormLoginConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFormLoginConfig_FormLoginPage(), ecorePackage.getEString(), "formLoginPage", null, 0, 1, FormLoginConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getFormLoginConfig_FormErrorPage(), ecorePackage.getEString(), "formErrorPage", null, 0, 1, FormLoginConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFormLoginConfig_LoginConfig(), this.getLoginConfig(), this.getLoginConfig_FormLoginConfig(), "loginConfig", null, 0, 1, FormLoginConfig.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(initParamEClass, InitParam.class, "InitParam", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInitParam_ParamName(), ecorePackage.getEString(), "paramName", null, 0, 1, InitParam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getInitParam_ParamValue(), ecorePackage.getEString(), "paramValue", null, 0, 1, InitParam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getInitParam_Description(), ecorePackage.getEString(), "description", null, 0, 1, InitParam.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(webTypeEClass, WebType.class, "WebType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(servletTypeEClass, ServletType.class, "ServletType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getServletType_ClassName(), ecorePackage.getEString(), "className", null, 0, 1, ServletType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(jspTypeEClass, JSPType.class, "JSPType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getJSPType_JspFile(), ecorePackage.getEString(), "jspFile", null, 0, 1, JSPType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(urlPatternTypeEClass, URLPatternType.class, "URLPatternType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getURLPatternType_UrlPattern(), ecorePackage.getEString(), "urlPattern", null, 0, 1, URLPatternType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getURLPatternType_ResCollection(), this.getWebResourceCollection(), this.getWebResourceCollection_URLs(), "resCollection", null, 0, 1, URLPatternType.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(roleNameTypeEClass, RoleNameType.class, "RoleNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getRoleNameType_RoleName(), ecorePackage.getEString(), "roleName", null, 0, 1, RoleNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(welcomeFileEClass, WelcomeFile.class, "WelcomeFile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getWelcomeFile_WelcomeFile(), ecorePackage.getEString(), "welcomeFile", null, 0, 1, WelcomeFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getWelcomeFile_FileList(), this.getWelcomeFileList(), this.getWelcomeFileList_File(), "fileList", null, 0, 1, WelcomeFile.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(exceptionTypeErrorPageEClass, ExceptionTypeErrorPage.class, "ExceptionTypeErrorPage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExceptionTypeErrorPage_ExceptionType(), theJavaRefPackage.getJavaClass(), null, "exceptionType", null, 1, 1, ExceptionTypeErrorPage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(errorCodeErrorPageEClass, ErrorCodeErrorPage.class, "ErrorCodeErrorPage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getErrorCodeErrorPage_ErrorCode(), ecorePackage.getEString(), "errorCode", null, 0, 1, ErrorCodeErrorPage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(filterMappingEClass, FilterMapping.class, "FilterMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFilterMapping_UrlPattern(), ecorePackage.getEString(), "urlPattern", null, 0, 1, FilterMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getFilterMapping_DispatcherType(), this.getDispatcherType(), "dispatcherType", null, 0, 4, FilterMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFilterMapping_Filter(), this.getFilter(), null, "filter", null, 1, 1, FilterMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFilterMapping_Servlet(), this.getServlet(), null, "servlet", null, 0, 1, FilterMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(filterEClass, Filter.class, "Filter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFilter_Name(), ecorePackage.getEString(), "name", null, 0, 1, Filter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFilter_InitParams(), this.getInitParam(), null, "initParams", null, 0, -1, Filter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFilter_FilterClass(), theJavaRefPackage.getJavaClass(), null, "filterClass", null, 1, 1, Filter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFilter_InitParamValues(), theCommonPackage.getParamValue(), null, "initParamValues", null, 0, -1, Filter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(localEncodingMappingListEClass, LocalEncodingMappingList.class, "LocalEncodingMappingList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getLocalEncodingMappingList_LocalEncodingMappings(), this.getLocalEncodingMapping(), null, "localEncodingMappings", null, 1, -1, LocalEncodingMappingList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(localEncodingMappingEClass, LocalEncodingMapping.class, "LocalEncodingMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getLocalEncodingMapping_Locale(), ecorePackage.getEString(), "locale", null, 0, 1, LocalEncodingMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getLocalEncodingMapping_Encoding(), ecorePackage.getEString(), "encoding", null, 0, 1, LocalEncodingMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(httpMethodTypeEClass, HTTPMethodType.class, "HTTPMethodType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getHTTPMethodType_HttpMethod(), ecorePackage.getEString(), "httpMethod", null, 0, 1, HTTPMethodType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(resAuthServletTypeEEnum, ResAuthServletType.class, "ResAuthServletType");
- addEEnumLiteral(resAuthServletTypeEEnum, ResAuthServletType.CONTAINER_LITERAL);
- addEEnumLiteral(resAuthServletTypeEEnum, ResAuthServletType.SERVLET_LITERAL);
-
- initEEnum(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.class, "HTTPMethodTypeEnum");
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.GET_LITERAL);
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.POST_LITERAL);
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.PUT_LITERAL);
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.DELETE_LITERAL);
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.HEAD_LITERAL);
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.OPTIONS_LITERAL);
- addEEnumLiteral(httpMethodTypeEnumEEnum, HTTPMethodTypeEnum.TRACE_LITERAL);
-
- initEEnum(transportGuaranteeTypeEEnum, TransportGuaranteeType.class, "TransportGuaranteeType");
- addEEnumLiteral(transportGuaranteeTypeEEnum, TransportGuaranteeType.NONE_LITERAL);
- addEEnumLiteral(transportGuaranteeTypeEEnum, TransportGuaranteeType.INTEGRAL_LITERAL);
- addEEnumLiteral(transportGuaranteeTypeEEnum, TransportGuaranteeType.CONFIDENTIAL_LITERAL);
-
- initEEnum(dispatcherTypeEEnum, DispatcherType.class, "DispatcherType");
- addEEnumLiteral(dispatcherTypeEEnum, DispatcherType.FORWARD_LITERAL);
- addEEnumLiteral(dispatcherTypeEEnum, DispatcherType.INCLUDE_LITERAL);
- addEEnumLiteral(dispatcherTypeEEnum, DispatcherType.REQUEST_LITERAL);
- addEEnumLiteral(dispatcherTypeEEnum, DispatcherType.ERROR_LITERAL);
-
- initEEnum(authMethodKindEEnum, AuthMethodKind.class, "AuthMethodKind");
- addEEnumLiteral(authMethodKindEEnum, AuthMethodKind.UNSPECIFIED_LITERAL);
- addEEnumLiteral(authMethodKindEEnum, AuthMethodKind.BASIC_LITERAL);
- addEEnumLiteral(authMethodKindEEnum, AuthMethodKind.DIGEST_LITERAL);
- addEEnumLiteral(authMethodKindEEnum, AuthMethodKind.FORM_LITERAL);
- addEEnumLiteral(authMethodKindEEnum, AuthMethodKind.CLIENT_CERT_LITERAL);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //WebapplicationPackageImpl
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileImpl.java
deleted file mode 100644
index f91739829..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileImpl.java
+++ /dev/null
@@ -1,245 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-/**
- * The welcome-file element contains file name to use as a default welcome file, such as index.html
- * @generated
- */
-public class WelcomeFileImpl extends J2EEEObjectImpl implements WelcomeFile {
-
- /**
- * The default value of the '{@link #getWelcomeFile() <em>Welcome File</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getWelcomeFile()
- * @generated
- * @ordered
- */
- protected static final String WELCOME_FILE_EDEFAULT = null;
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected String welcomeFile = WELCOME_FILE_EDEFAULT;
- public WelcomeFileImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.WELCOME_FILE;
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public String getWelcomeFile() {
- return welcomeFile;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWelcomeFile(String newWelcomeFile) {
- String oldWelcomeFile = welcomeFile;
- welcomeFile = newWelcomeFile;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WELCOME_FILE__WELCOME_FILE, oldWelcomeFile, welcomeFile));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WelcomeFileList getFileList() {
- if (eContainerFeatureID != WebapplicationPackage.WELCOME_FILE__FILE_LIST) return null;
- return (WelcomeFileList)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFileList(WelcomeFileList newFileList, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newFileList, WebapplicationPackage.WELCOME_FILE__FILE_LIST, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setFileList(WelcomeFileList newFileList) {
- if (newFileList != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.WELCOME_FILE__FILE_LIST && newFileList != null)) {
- if (EcoreUtil.isAncestor(this, newFileList))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newFileList != null)
- msgs = ((InternalEObject)newFileList).eInverseAdd(this, WebapplicationPackage.WELCOME_FILE_LIST__FILE, WelcomeFileList.class, msgs);
- msgs = basicSetFileList(newFileList, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WELCOME_FILE__FILE_LIST, newFileList, newFileList));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetFileList((WelcomeFileList)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- return basicSetFileList(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WELCOME_FILE_LIST__FILE, WelcomeFileList.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE__WELCOME_FILE:
- return getWelcomeFile();
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- return getFileList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE__WELCOME_FILE:
- setWelcomeFile((String)newValue);
- return;
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- setFileList((WelcomeFileList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE__WELCOME_FILE:
- setWelcomeFile(WELCOME_FILE_EDEFAULT);
- return;
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- setFileList((WelcomeFileList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE__WELCOME_FILE:
- return WELCOME_FILE_EDEFAULT == null ? welcomeFile != null : !WELCOME_FILE_EDEFAULT.equals(welcomeFile);
- case WebapplicationPackage.WELCOME_FILE__FILE_LIST:
- return getFileList() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (welcomeFile: ");
- result.append(welcomeFile);
- result.append(')');
- return result.toString();
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileListImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileListImpl.java
deleted file mode 100644
index ac162529e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/impl/WelcomeFileListImpl.java
+++ /dev/null
@@ -1,235 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.impl;
-
-import java.util.Collection;
-
-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.EPackage;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-/**
- * The welcome-file-list contains an ordered list of welcome files elements.
- * @generated
- */
-public class WelcomeFileListImpl extends J2EEEObjectImpl implements WelcomeFileList {
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- /**
- * @generated This field/method will be replaced during code generation.
- */
- protected EList file = null;
- public WelcomeFileListImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return WebapplicationPackage.Literals.WELCOME_FILE_LIST;
- }
-
-/**
- * addFileNamed method comment.
- */
-public void addFileNamed(java.lang.String name) {
- WelcomeFile lfile = ((WebapplicationPackage)EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI)).getWebapplicationFactory().createWelcomeFile();
- lfile.setWelcomeFile(name);
- getFile().add(lfile);
-}
- /**
- * @generated This field/method will be replaced during code generation
- */
- public WebApp getWebApp() {
- if (eContainerFeatureID != WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP) return null;
- return (WebApp)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetWebApp(WebApp newWebApp, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newWebApp, WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP, msgs);
- return msgs;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void setWebApp(WebApp newWebApp) {
- if (newWebApp != eInternalContainer() || (eContainerFeatureID != WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP && newWebApp != null)) {
- if (EcoreUtil.isAncestor(this, newWebApp))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newWebApp != null)
- msgs = ((InternalEObject)newWebApp).eInverseAdd(this, WebapplicationPackage.WEB_APP__FILE_LIST, WebApp.class, msgs);
- msgs = basicSetWebApp(newWebApp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP, newWebApp, newWebApp));
- }
-
- /**
- * @generated This field/method will be replaced during code generation
- */
- public EList getFile() {
- if (file == null) {
- file = new EObjectContainmentWithInverseEList(WelcomeFile.class, this, WebapplicationPackage.WELCOME_FILE_LIST__FILE, WebapplicationPackage.WELCOME_FILE__FILE_LIST);
- }
- return file;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetWebApp((WebApp)otherEnd, msgs);
- case WebapplicationPackage.WELCOME_FILE_LIST__FILE:
- return ((InternalEList)getFile()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- return basicSetWebApp(null, msgs);
- case WebapplicationPackage.WELCOME_FILE_LIST__FILE:
- return ((InternalEList)getFile()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- return eInternalContainer().eInverseRemove(this, WebapplicationPackage.WEB_APP__FILE_LIST, WebApp.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- return getWebApp();
- case WebapplicationPackage.WELCOME_FILE_LIST__FILE:
- return getFile();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- setWebApp((WebApp)newValue);
- return;
- case WebapplicationPackage.WELCOME_FILE_LIST__FILE:
- getFile().clear();
- getFile().addAll((Collection)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- setWebApp((WebApp)null);
- return;
- case WebapplicationPackage.WELCOME_FILE_LIST__FILE:
- getFile().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case WebapplicationPackage.WELCOME_FILE_LIST__WEB_APP:
- return getWebApp() != null;
- case WebapplicationPackage.WELCOME_FILE_LIST__FILE:
- return file != null && !file.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationAdapterFactory.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationAdapterFactory.java
deleted file mode 100644
index 94527294e..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationAdapterFactory.java
+++ /dev/null
@@ -1,710 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-import org.eclipse.jst.j2ee.common.DescriptionGroup;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-import org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup;
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.RoleNameType;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-
-
-public class WebapplicationAdapterFactory extends AdapterFactoryImpl {
- protected static WebapplicationPackage modelPackage;
-
- public WebapplicationAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = (WebapplicationPackage)EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI);
- }
- }
- public boolean isFactoryForType(Object type) {
- if (type == modelPackage) {
- return true;
- }
- if (type instanceof EObject) {
- return ((EObject)type).eClass().eContainer() == modelPackage;
- }
- return false;
- }
-
- protected WebapplicationSwitch sw = new WebapplicationSwitch() {
- public Object caseWebApp(WebApp object) {
- return createWebAppAdapter();
- }
- public Object caseContextParam(ContextParam object) {
- return createContextParamAdapter();
- }
- public Object caseErrorPage(ErrorPage object) {
- return createErrorPageAdapter();
- }
- public Object caseExceptionTypeErrorPage(ExceptionTypeErrorPage object) {
- return createExceptionTypeErrorPageAdapter();
- }
- public Object caseErrorCodeErrorPage(ErrorCodeErrorPage object) {
- return createErrorCodeErrorPageAdapter();
- }
- public Object caseWelcomeFileList(WelcomeFileList object) {
- return createWelcomeFileListAdapter();
- }
- public Object caseWelcomeFile(WelcomeFile object) {
- return createWelcomeFileAdapter();
- }
- public Object caseTagLibRef(TagLibRef object) {
- return createTagLibRefAdapter();
- }
- public Object caseSecurityConstraint(SecurityConstraint object) {
- return createSecurityConstraintAdapter();
- }
- public Object caseWebResourceCollection(WebResourceCollection object) {
- return createWebResourceCollectionAdapter();
- }
- public Object caseURLPatternType(URLPatternType object) {
- return createURLPatternTypeAdapter();
- }
- public Object caseHTTPMethodType(HTTPMethodType object) {
- return createHTTPMethodTypeAdapter();
- }
- public Object caseAuthConstraint(AuthConstraint object) {
- return createAuthConstraintAdapter();
- }
- public Object caseUserDataConstraint(UserDataConstraint object) {
- return createUserDataConstraintAdapter();
- }
- public Object caseLoginConfig(LoginConfig object) {
- return createLoginConfigAdapter();
- }
- public Object caseFormLoginConfig(FormLoginConfig object) {
- return createFormLoginConfigAdapter();
- }
- public Object caseMimeMapping(MimeMapping object) {
- return createMimeMappingAdapter();
- }
- public Object caseSessionConfig(SessionConfig object) {
- return createSessionConfigAdapter();
- }
- public Object caseServletMapping(ServletMapping object) {
- return createServletMappingAdapter();
- }
- public Object caseServlet(Servlet object) {
- return createServletAdapter();
- }
- public Object caseWebType(WebType object) {
- return createWebTypeAdapter();
- }
- public Object caseServletType(ServletType object) {
- return createServletTypeAdapter();
- }
- public Object caseJSPType(JSPType object) {
- return createJSPTypeAdapter();
- }
- public Object caseInitParam(InitParam object) {
- return createInitParamAdapter();
- }
- public Object caseFilter(Filter object) {
- return createFilterAdapter();
- }
- public Object caseFilterMapping(FilterMapping object) {
- return createFilterMappingAdapter();
- }
- public Object caseRoleNameType(RoleNameType object) {
- return createRoleNameTypeAdapter();
- }
- public Object caseLocalEncodingMappingList(LocalEncodingMappingList object) {
- return createLocalEncodingMappingListAdapter();
- }
- public Object caseLocalEncodingMapping(LocalEncodingMapping object) {
- return createLocalEncodingMappingAdapter();
- }
- };
-
- public Adapter createAdapter(Notifier target) {
- return (Adapter)sw.doSwitch((EObject)target);
- }
-
- /**
- * By default create methods return null so that we can easily ignore cases.
- * It's useful to ignore a case when inheritance will catch all the cases anyway.
- */
-
- public Adapter createWebAppAdapter() {
- return null;
- }
-
- public Adapter createContextParamAdapter() {
- return null;
- }
-
- public Adapter createErrorPageAdapter() {
- return null;
- }
-
- public Adapter createExceptionTypeErrorPageAdapter() {
- return null;
- }
-
- public Adapter createErrorCodeErrorPageAdapter() {
- return null;
- }
-
- public Adapter createWelcomeFileListAdapter() {
- return null;
- }
-
- public Adapter createWelcomeFileAdapter() {
- return null;
- }
-
- public Adapter createTagLibRefAdapter() {
- return null;
- }
-
- public Adapter createTagLibRefTypeAdapter() {
- return null;
- }
-
- public Adapter createSecurityConstraintAdapter() {
- return null;
- }
-
- public Adapter createWebResourceCollectionAdapter() {
- return null;
- }
-
- public Adapter createURLPatternTypeAdapter() {
- return null;
- }
-
- public Adapter createHTTPMethodTypeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.J2EEEObject <em>J2EEE Object</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.common.J2EEEObject
- * @generated
- */
- public Adapter createJ2EEEObjectAdapter() {
- return null;
- }
-
- public Adapter createAuthConstraintAdapter() {
- return null;
- }
-
- public Adapter createUserDataConstraintAdapter() {
- return null;
- }
-
- public Adapter createLoginConfigAdapter() {
- return null;
- }
-
- public Adapter createFormLoginConfigAdapter() {
- return null;
- }
-
- public Adapter createMimeMappingAdapter() {
- return null;
- }
-
- public Adapter createSessionConfigAdapter() {
- return null;
- }
-
- public Adapter createServletMappingAdapter() {
- return null;
- }
-
- public Adapter createServletAdapter() {
- return null;
- }
-
- public Adapter createWebTypeAdapter() {
- return null;
- }
-
- public Adapter createServletTypeAdapter() {
- return null;
- }
-
- public Adapter createJSPTypeAdapter() {
- return null;
- }
-
- public Adapter createInitParamAdapter() {
- return null;
- }
-
- public Adapter createFilterAdapter() {
- return null;
- }
-
- public Adapter createFilterMappingAdapter() {
- return null;
- }
-
- public Adapter createListenerAdapter() {
- return null;
- }
-
- public Adapter createRoleNameTypeAdapter() {
- return null;
- }
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean isFactoryForTypeGen(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected WebapplicationSwitch modelSwitch =
- new WebapplicationSwitch() {
- public Object caseWebApp(WebApp object) {
- return createWebAppAdapter();
- }
- public Object caseContextParam(ContextParam object) {
- return createContextParamAdapter();
- }
- public Object caseServlet(Servlet object) {
- return createServletAdapter();
- }
- public Object caseServletMapping(ServletMapping object) {
- return createServletMappingAdapter();
- }
- public Object caseSessionConfig(SessionConfig object) {
- return createSessionConfigAdapter();
- }
- public Object caseMimeMapping(MimeMapping object) {
- return createMimeMappingAdapter();
- }
- public Object caseWelcomeFileList(WelcomeFileList object) {
- return createWelcomeFileListAdapter();
- }
- public Object caseErrorPage(ErrorPage object) {
- return createErrorPageAdapter();
- }
- public Object caseTagLibRef(TagLibRef object) {
- return createTagLibRefAdapter();
- }
- public Object caseSecurityConstraint(SecurityConstraint object) {
- return createSecurityConstraintAdapter();
- }
- public Object caseWebResourceCollection(WebResourceCollection object) {
- return createWebResourceCollectionAdapter();
- }
- public Object caseAuthConstraint(AuthConstraint object) {
- return createAuthConstraintAdapter();
- }
- public Object caseUserDataConstraint(UserDataConstraint object) {
- return createUserDataConstraintAdapter();
- }
- public Object caseLoginConfig(LoginConfig object) {
- return createLoginConfigAdapter();
- }
- public Object caseFormLoginConfig(FormLoginConfig object) {
- return createFormLoginConfigAdapter();
- }
- public Object caseInitParam(InitParam object) {
- return createInitParamAdapter();
- }
- public Object caseWebType(WebType object) {
- return createWebTypeAdapter();
- }
- public Object caseServletType(ServletType object) {
- return createServletTypeAdapter();
- }
- public Object caseJSPType(JSPType object) {
- return createJSPTypeAdapter();
- }
- public Object caseURLPatternType(URLPatternType object) {
- return createURLPatternTypeAdapter();
- }
- public Object caseRoleNameType(RoleNameType object) {
- return createRoleNameTypeAdapter();
- }
- public Object caseWelcomeFile(WelcomeFile object) {
- return createWelcomeFileAdapter();
- }
- public Object caseExceptionTypeErrorPage(ExceptionTypeErrorPage object) {
- return createExceptionTypeErrorPageAdapter();
- }
- public Object caseErrorCodeErrorPage(ErrorCodeErrorPage object) {
- return createErrorCodeErrorPageAdapter();
- }
- public Object caseFilterMapping(FilterMapping object) {
- return createFilterMappingAdapter();
- }
- public Object caseFilter(Filter object) {
- return createFilterAdapter();
- }
- public Object caseLocalEncodingMappingList(LocalEncodingMappingList object) {
- return createLocalEncodingMappingListAdapter();
- }
- public Object caseLocalEncodingMapping(LocalEncodingMapping object) {
- return createLocalEncodingMappingAdapter();
- }
- public Object caseHTTPMethodType(HTTPMethodType object) {
- return createHTTPMethodTypeAdapter();
- }
- public Object caseJ2EEEObject(J2EEEObject object) {
- return createJ2EEEObjectAdapter();
- }
- public Object caseDescriptionGroup(DescriptionGroup object) {
- return createDescriptionGroupAdapter();
- }
- public Object caseCompatibilityDescriptionGroup(CompatibilityDescriptionGroup object) {
- return createCompatibilityDescriptionGroupAdapter();
- }
- public Object caseJNDIEnvRefsGroup(JNDIEnvRefsGroup object) {
- return createJNDIEnvRefsGroupAdapter();
- }
- public Object defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createAdapterGen(Notifier target) {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * By default create methods return null so that we can easily ignore cases.
- * It's useful to ignore a case when inheritance will catch all the cases anyway.
- */
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createWebAppAdapterGen() {
-
- return null;
- }
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createContextParamAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createErrorPageAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createExceptionTypeErrorPageAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createErrorCodeErrorPageAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createWelcomeFileListAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createWelcomeFileAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createTagLibRefAdapterGen() {
- return null;
- }
-
- public Adapter createTagLibRefTypeAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createSecurityConstraintAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createWebResourceCollectionAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createURLPatternTypeAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createAuthConstraintAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createUserDataConstraintAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createLoginConfigAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createFormLoginConfigAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createMimeMappingAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createSessionConfigAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createServletMappingAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createServletAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createWebTypeAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createServletTypeAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createJSPTypeAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createInitParamAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createFilterAdapterGen() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createFilterMappingAdapterGen() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList <em>Local Encoding Mapping List</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList
- * @generated
- */
- public Adapter createLocalEncodingMappingListAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping <em>Local Encoding Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping
- * @generated
- */
- public Adapter createLocalEncodingMappingAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.DescriptionGroup <em>Description Group</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.common.DescriptionGroup
- * @generated
- */
- public Adapter createDescriptionGroupAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup <em>Compatibility Description Group</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup
- * @generated
- */
- public Adapter createCompatibilityDescriptionGroupAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup <em>JNDI Env Refs Group</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup
- * @generated
- */
- public Adapter createJNDIEnvRefsGroupAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public Adapter createRoleNameTypeAdapterGen() {
- return null;
- }
-
-} //WebapplicationAdapterFactory
-
-
-
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationSwitch.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationSwitch.java
deleted file mode 100644
index 7e862cf4b..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/internal/util/WebapplicationSwitch.java
+++ /dev/null
@@ -1,856 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.webapplication.internal.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-import org.eclipse.jst.j2ee.common.DescriptionGroup;
-import org.eclipse.jst.j2ee.common.J2EEEObject;
-import org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup;
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.RoleNameType;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch 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.eclipse.jst.j2ee.webapplication.WebapplicationPackage
- * @generated
- */
-public class WebapplicationSwitch {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static WebapplicationPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public WebapplicationSwitch() {
- if (modelPackage == null) {
- modelPackage = WebapplicationPackage.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 WebapplicationPackage.WEB_APP: {
- WebApp webApp = (WebApp)theEObject;
- Object result = caseWebApp(webApp);
- if (result == null) result = caseJNDIEnvRefsGroup(webApp);
- if (result == null) result = caseCompatibilityDescriptionGroup(webApp);
- if (result == null) result = caseDescriptionGroup(webApp);
- if (result == null) result = caseJ2EEEObject(webApp);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.CONTEXT_PARAM: {
- ContextParam contextParam = (ContextParam)theEObject;
- Object result = caseContextParam(contextParam);
- if (result == null) result = caseJ2EEEObject(contextParam);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.SERVLET: {
- Servlet servlet = (Servlet)theEObject;
- Object result = caseServlet(servlet);
- if (result == null) result = caseCompatibilityDescriptionGroup(servlet);
- if (result == null) result = caseDescriptionGroup(servlet);
- if (result == null) result = caseJ2EEEObject(servlet);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.SERVLET_MAPPING: {
- ServletMapping servletMapping = (ServletMapping)theEObject;
- Object result = caseServletMapping(servletMapping);
- if (result == null) result = caseJ2EEEObject(servletMapping);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.SESSION_CONFIG: {
- SessionConfig sessionConfig = (SessionConfig)theEObject;
- Object result = caseSessionConfig(sessionConfig);
- if (result == null) result = caseJ2EEEObject(sessionConfig);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.MIME_MAPPING: {
- MimeMapping mimeMapping = (MimeMapping)theEObject;
- Object result = caseMimeMapping(mimeMapping);
- if (result == null) result = caseJ2EEEObject(mimeMapping);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.WELCOME_FILE_LIST: {
- WelcomeFileList welcomeFileList = (WelcomeFileList)theEObject;
- Object result = caseWelcomeFileList(welcomeFileList);
- if (result == null) result = caseJ2EEEObject(welcomeFileList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.ERROR_PAGE: {
- ErrorPage errorPage = (ErrorPage)theEObject;
- Object result = caseErrorPage(errorPage);
- if (result == null) result = caseJ2EEEObject(errorPage);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.TAG_LIB_REF: {
- TagLibRef tagLibRef = (TagLibRef)theEObject;
- Object result = caseTagLibRef(tagLibRef);
- if (result == null) result = caseJ2EEEObject(tagLibRef);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.SECURITY_CONSTRAINT: {
- SecurityConstraint securityConstraint = (SecurityConstraint)theEObject;
- Object result = caseSecurityConstraint(securityConstraint);
- if (result == null) result = caseJ2EEEObject(securityConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.WEB_RESOURCE_COLLECTION: {
- WebResourceCollection webResourceCollection = (WebResourceCollection)theEObject;
- Object result = caseWebResourceCollection(webResourceCollection);
- if (result == null) result = caseJ2EEEObject(webResourceCollection);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.AUTH_CONSTRAINT: {
- AuthConstraint authConstraint = (AuthConstraint)theEObject;
- Object result = caseAuthConstraint(authConstraint);
- if (result == null) result = caseJ2EEEObject(authConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.USER_DATA_CONSTRAINT: {
- UserDataConstraint userDataConstraint = (UserDataConstraint)theEObject;
- Object result = caseUserDataConstraint(userDataConstraint);
- if (result == null) result = caseJ2EEEObject(userDataConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.LOGIN_CONFIG: {
- LoginConfig loginConfig = (LoginConfig)theEObject;
- Object result = caseLoginConfig(loginConfig);
- if (result == null) result = caseJ2EEEObject(loginConfig);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.FORM_LOGIN_CONFIG: {
- FormLoginConfig formLoginConfig = (FormLoginConfig)theEObject;
- Object result = caseFormLoginConfig(formLoginConfig);
- if (result == null) result = caseJ2EEEObject(formLoginConfig);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.INIT_PARAM: {
- InitParam initParam = (InitParam)theEObject;
- Object result = caseInitParam(initParam);
- if (result == null) result = caseJ2EEEObject(initParam);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.WEB_TYPE: {
- WebType webType = (WebType)theEObject;
- Object result = caseWebType(webType);
- if (result == null) result = caseJ2EEEObject(webType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.SERVLET_TYPE: {
- ServletType servletType = (ServletType)theEObject;
- Object result = caseServletType(servletType);
- if (result == null) result = caseWebType(servletType);
- if (result == null) result = caseJ2EEEObject(servletType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.JSP_TYPE: {
- JSPType jspType = (JSPType)theEObject;
- Object result = caseJSPType(jspType);
- if (result == null) result = caseWebType(jspType);
- if (result == null) result = caseJ2EEEObject(jspType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.URL_PATTERN_TYPE: {
- URLPatternType urlPatternType = (URLPatternType)theEObject;
- Object result = caseURLPatternType(urlPatternType);
- if (result == null) result = caseJ2EEEObject(urlPatternType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.ROLE_NAME_TYPE: {
- RoleNameType roleNameType = (RoleNameType)theEObject;
- Object result = caseRoleNameType(roleNameType);
- if (result == null) result = caseJ2EEEObject(roleNameType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.WELCOME_FILE: {
- WelcomeFile welcomeFile = (WelcomeFile)theEObject;
- Object result = caseWelcomeFile(welcomeFile);
- if (result == null) result = caseJ2EEEObject(welcomeFile);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.EXCEPTION_TYPE_ERROR_PAGE: {
- ExceptionTypeErrorPage exceptionTypeErrorPage = (ExceptionTypeErrorPage)theEObject;
- Object result = caseExceptionTypeErrorPage(exceptionTypeErrorPage);
- if (result == null) result = caseErrorPage(exceptionTypeErrorPage);
- if (result == null) result = caseJ2EEEObject(exceptionTypeErrorPage);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.ERROR_CODE_ERROR_PAGE: {
- ErrorCodeErrorPage errorCodeErrorPage = (ErrorCodeErrorPage)theEObject;
- Object result = caseErrorCodeErrorPage(errorCodeErrorPage);
- if (result == null) result = caseErrorPage(errorCodeErrorPage);
- if (result == null) result = caseJ2EEEObject(errorCodeErrorPage);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.FILTER_MAPPING: {
- FilterMapping filterMapping = (FilterMapping)theEObject;
- Object result = caseFilterMapping(filterMapping);
- if (result == null) result = caseJ2EEEObject(filterMapping);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.FILTER: {
- Filter filter = (Filter)theEObject;
- Object result = caseFilter(filter);
- if (result == null) result = caseCompatibilityDescriptionGroup(filter);
- if (result == null) result = caseDescriptionGroup(filter);
- if (result == null) result = caseJ2EEEObject(filter);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING_LIST: {
- LocalEncodingMappingList localEncodingMappingList = (LocalEncodingMappingList)theEObject;
- Object result = caseLocalEncodingMappingList(localEncodingMappingList);
- if (result == null) result = caseJ2EEEObject(localEncodingMappingList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.LOCAL_ENCODING_MAPPING: {
- LocalEncodingMapping localEncodingMapping = (LocalEncodingMapping)theEObject;
- Object result = caseLocalEncodingMapping(localEncodingMapping);
- if (result == null) result = caseJ2EEEObject(localEncodingMapping);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case WebapplicationPackage.HTTP_METHOD_TYPE: {
- HTTPMethodType httpMethodType = (HTTPMethodType)theEObject;
- Object result = caseHTTPMethodType(httpMethodType);
- if (result == null) result = caseJ2EEEObject(httpMethodType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Web App</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>Web App</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWebApp(WebApp object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Context Param</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>Context Param</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseContextParam(ContextParam object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Servlet</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>Servlet</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseServlet(Servlet object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Servlet Mapping</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>Servlet Mapping</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseServletMapping(ServletMapping object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Session Config</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>Session Config</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSessionConfig(SessionConfig object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Mime Mapping</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>Mime Mapping</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseMimeMapping(MimeMapping object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Welcome File List</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>Welcome File List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWelcomeFileList(WelcomeFileList object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Error Page</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>Error Page</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseErrorPage(ErrorPage object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Tag Lib Ref</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>Tag Lib Ref</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseTagLibRef(TagLibRef object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Security Constraint</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>Security Constraint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseSecurityConstraint(SecurityConstraint object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Web Resource Collection</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>Web Resource Collection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWebResourceCollection(WebResourceCollection object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Auth Constraint</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>Auth Constraint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseAuthConstraint(AuthConstraint object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>User Data Constraint</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>User Data Constraint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseUserDataConstraint(UserDataConstraint object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Login Config</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>Login Config</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseLoginConfig(LoginConfig object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Form Login Config</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>Form Login Config</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseFormLoginConfig(FormLoginConfig object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Init Param</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>Init Param</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseInitParam(InitParam object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Web 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>Web Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWebType(WebType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Servlet 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>Servlet Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseServletType(ServletType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>JSP 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>JSP Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseJSPType(JSPType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>URL Pattern 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>URL Pattern Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseURLPatternType(URLPatternType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Role 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>Role Name Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseRoleNameType(RoleNameType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Welcome File</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>Welcome File</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseWelcomeFile(WelcomeFile object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Exception Type Error Page</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>Exception Type Error Page</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseExceptionTypeErrorPage(ExceptionTypeErrorPage object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Error Code Error Page</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>Error Code Error Page</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseErrorCodeErrorPage(ErrorCodeErrorPage object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Filter Mapping</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>Filter Mapping</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseFilterMapping(FilterMapping object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Filter</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>Filter</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseFilter(Filter object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Local Encoding Mapping List</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>Local Encoding Mapping List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseLocalEncodingMappingList(LocalEncodingMappingList object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Local Encoding Mapping</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>Local Encoding Mapping</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseLocalEncodingMapping(LocalEncodingMapping object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>HTTP Method 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>HTTP Method Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseHTTPMethodType(HTTPMethodType object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>J2EEE Object</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>J2EEE Object</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseJ2EEEObject(J2EEEObject object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Description Group</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 Group</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseDescriptionGroup(DescriptionGroup object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Compatibility Description Group</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>Compatibility Description Group</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseCompatibilityDescriptionGroup(CompatibilityDescriptionGroup object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>JNDI Env Refs Group</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>JNDI Env Refs Group</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public Object caseJNDIEnvRefsGroup(JNDIEnvRefsGroup 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;
- }
-
-} //WebapplicationSwitch
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/package.xml b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/package.xml
deleted file mode 100644
index afe8e3776..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/package.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<html>
- <head>
- <meta
- name="root"
- content="../../../../../../../" />
- <title>EJB Artifact Edit api overview</title>
- </head>
-
- <body>
- <abstract>
- This package includes the EJBArtifactEdit api. This api is used to work with the emf model
- of a flexible ejb module. It contains api to read and serialize out the emf model.
- </abstract>
-
- <a href="#top">top</a>
- </body>
-</html>
- \ No newline at end of file

Back to the top