diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core')
83 files changed, 0 insertions, 39572 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/AddressingResponsesType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/AddressingResponsesType.java deleted file mode 100644 index 0ebd4f583..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/AddressingResponsesType.java +++ /dev/null @@ -1,249 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Addressing Responses Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * If WS-Addressing is enabled, this type determines if an endpoint - * requires the use of only anonymous responses, or only non-anonymous - * responses, or all. - * - * @since Java EE 6, Web Services Client 1.3 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingResponsesType() - * @generated - */ -public enum AddressingResponsesType implements Enumerator { - /** - * The '<em><b>ANONYMOUS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ANONYMOUS_VALUE - * @generated - * @ordered - */ - ANONYMOUS(0, "ANONYMOUS", "ANONYMOUS"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>NONANONYMOUS</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #NONANONYMOUS_VALUE - * @generated - * @ordered - */ - NONANONYMOUS(1, "NONANONYMOUS", "NON_ANONYMOUS"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>ALL</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ALL_VALUE - * @generated - * @ordered - */ - ALL(2, "ALL", "ALL"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>ANONYMOUS</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ANONYMOUS</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ANONYMOUS - * @generated - * @ordered - */ - public static final int ANONYMOUS_VALUE = 0; - - /** - * The '<em><b>NONANONYMOUS</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>NONANONYMOUS</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #NONANONYMOUS - * @generated - * @ordered - */ - public static final int NONANONYMOUS_VALUE = 1; - - /** - * The '<em><b>ALL</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>ALL</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ALL - * @generated - * @ordered - */ - public static final int ALL_VALUE = 2; - - /** - * An array of all the '<em><b>Addressing Responses Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final AddressingResponsesType[] VALUES_ARRAY = - new AddressingResponsesType[] { - ANONYMOUS, - NONANONYMOUS, - ALL, - }; - - /** - * A public read-only list of all the '<em><b>Addressing Responses Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<AddressingResponsesType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Addressing Responses Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static AddressingResponsesType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - AddressingResponsesType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Addressing Responses Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static AddressingResponsesType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - AddressingResponsesType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Addressing Responses Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static AddressingResponsesType get(int value) { - switch (value) { - case ANONYMOUS_VALUE: return ANONYMOUS; - case NONANONYMOUS_VALUE: return NONANONYMOUS; - case ALL_VALUE: return ALL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private AddressingResponsesType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //AddressingResponsesType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/AddressingType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/AddressingType.java deleted file mode 100644 index d9f8b3482..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/AddressingType.java +++ /dev/null @@ -1,222 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Addressing Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * This specifies the WS-Addressing requirements for a JAX-WS web service. - * It corresponds to javax.xml.ws.soap.Addressing annotation or its - * feature javax.xml.ws.soap.AddressingFeature. - * - * If the "enabled" element is "true", WS-Addressing is enabled. - * It means that the endpoint supports WS-Addressing but does not require - * its use. The default value for "enabled" is "true". - * - * If the WS-Addressing is enabled and the "required" element is "true", - * it means that the endpoint requires WS-Addressing. The default value - * for "required" is "false". - * - * If WS-Addressing is enabled, the "responses" element determines - * if an endpoint requires the use of only anonymous responses, - * or only non-anonymous responses, or all. The value of the "responses" - * element must be one of the following: - * - * ANONYMOUS - * NON_ANONYMOUS - * ALL - * - * The default value for the "responses" is ALL. - * - * @since Java EE 6, Web Services Client 1.3 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType() - * @extends JavaEEObject - * @generated - */ -public interface AddressingType extends JavaEEObject { - /** - * Returns the value of the '<em><b>Enabled</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enabled</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enabled</em>' attribute. - * @see #isSetEnabled() - * @see #unsetEnabled() - * @see #setEnabled(boolean) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType_Enabled() - * @generated - */ - boolean isEnabled(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Enabled</em>' attribute. - * @see #isSetEnabled() - * @see #unsetEnabled() - * @see #isEnabled() - * @generated - */ - void setEnabled(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetEnabled() - * @see #isEnabled() - * @see #setEnabled(boolean) - * @generated - */ - void unsetEnabled(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Enabled</em>' attribute is set. - * @see #unsetEnabled() - * @see #isEnabled() - * @see #setEnabled(boolean) - * @generated - */ - boolean isSetEnabled(); - - /** - * Returns the value of the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Required</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Required</em>' attribute. - * @see #isSetRequired() - * @see #unsetRequired() - * @see #setRequired(boolean) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType_Required() - * @generated - */ - boolean isRequired(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Required</em>' attribute. - * @see #isSetRequired() - * @see #unsetRequired() - * @see #isRequired() - * @generated - */ - void setRequired(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetRequired() - * @see #isRequired() - * @see #setRequired(boolean) - * @generated - */ - void unsetRequired(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Required</em>' attribute is set. - * @see #unsetRequired() - * @see #isRequired() - * @see #setRequired(boolean) - * @generated - */ - boolean isSetRequired(); - - /** - * Returns the value of the '<em><b>Responses</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.AddressingResponsesType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Responses</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Responses</em>' attribute. - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @see #isSetResponses() - * @see #unsetResponses() - * @see #setResponses(AddressingResponsesType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getAddressingType_Responses() - * @generated - */ - AddressingResponsesType getResponses(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Responses</em>' attribute. - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @see #isSetResponses() - * @see #unsetResponses() - * @see #getResponses() - * @generated - */ - void setResponses(AddressingResponsesType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetResponses() - * @see #getResponses() - * @see #setResponses(AddressingResponsesType) - * @generated - */ - void unsetResponses(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Responses</em>' attribute is set. - * @see #unsetResponses() - * @see #getResponses() - * @see #setResponses(AddressingResponsesType) - * @generated - */ - boolean isSetResponses(); - -} // AddressingType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DataSourceType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DataSourceType.java deleted file mode 100644 index ccfa52e0c..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DataSourceType.java +++ /dev/null @@ -1,671 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core; - -import java.math.BigInteger; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Data Source Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * Configuration of a DataSource. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getClassName <em>Class Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getServerName <em>Server Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getPortNumber <em>Port Number</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName <em>Database Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getUrl <em>Url</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getUser <em>User</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getPassword <em>Password</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getProperty <em>Property</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout <em>Login Timeout</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize <em>Initial Pool Size</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize <em>Max Pool Size</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize <em>Min Pool Size</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime <em>Max Idle Time</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements <em>Max Statements</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DataSourceType#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType() - * @extends JavaEEObject - * @generated - */ -public interface DataSourceType extends JavaEEObject { - /** - * Returns the value of the '<em><b>Description</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Description of this DataSource. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Description</em>' containment reference. - * @see #setDescription(Description) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Description() - * @generated - */ - Description getDescription(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getDescription <em>Description</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Description</em>' containment reference. - * @see #getDescription() - * @generated - */ - void setDescription(Description value); - - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The name element specifies the JNDI name of the - * data source being defined. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Name() - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#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); - - /** - * Returns the value of the '<em><b>Class Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * DataSource, XADataSource or ConnectionPoolDataSource - * implementation class. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Class Name</em>' attribute. - * @see #setClassName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_ClassName() - * @generated - */ - String getClassName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getClassName <em>Class Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Class Name</em>' attribute. - * @see #getClassName() - * @generated - */ - void setClassName(String value); - - /** - * Returns the value of the '<em><b>Server Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Database server name. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Server Name</em>' attribute. - * @see #setServerName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_ServerName() - * @generated - */ - String getServerName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getServerName <em>Server Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Server Name</em>' attribute. - * @see #getServerName() - * @generated - */ - void setServerName(String value); - - /** - * Returns the value of the '<em><b>Port Number</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Port number where a server is listening for requests. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Port Number</em>' attribute. - * @see #setPortNumber(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_PortNumber() - * @generated - */ - BigInteger getPortNumber(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getPortNumber <em>Port Number</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Port Number</em>' attribute. - * @see #getPortNumber() - * @generated - */ - void setPortNumber(BigInteger value); - - /** - * Returns the value of the '<em><b>Database Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Name of a database on a server. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Database Name</em>' attribute. - * @see #setDatabaseName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_DatabaseName() - * @generated - */ - String getDatabaseName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName <em>Database Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Database Name</em>' attribute. - * @see #getDatabaseName() - * @generated - */ - void setDatabaseName(String value); - - /** - * Returns the value of the '<em><b>Url</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * A JDBC URL. If the <code>url</code> property is specified - * along with other standard <code>DataSource</code> properties - * such as <code>serverName</code>, <code>databaseName</code> - * and <code>portNumber</code>, the more specific properties will - * take precedence and <code>url</code> will be ignored. - * - * ]]> - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Url</em>' attribute. - * @see #setUrl(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Url() - * @generated - */ - String getUrl(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getUrl <em>Url</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Url</em>' attribute. - * @see #getUrl() - * @generated - */ - void setUrl(String value); - - /** - * Returns the value of the '<em><b>User</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * User name to use for connection authentication. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>User</em>' attribute. - * @see #setUser(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_User() - * @generated - */ - String getUser(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getUser <em>User</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>User</em>' attribute. - * @see #getUser() - * @generated - */ - void setUser(String value); - - /** - * Returns the value of the '<em><b>Password</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Password to use for connection authentication. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Password</em>' attribute. - * @see #setPassword(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Password() - * @generated - */ - String getPassword(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getPassword <em>Password</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Password</em>' attribute. - * @see #getPassword() - * @generated - */ - void setPassword(String value); - - /** - * Returns the value of the '<em><b>Property</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.PropertyType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * JDBC DataSource property. This may be a vendor-specific - * property or a less commonly used DataSource property. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Property</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Property() - * @generated - */ - List<PropertyType> getProperty(); - - /** - * Returns the value of the '<em><b>Login Timeout</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Sets the maximum time in seconds that this data source - * will wait while attempting to connect to a database. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Login Timeout</em>' attribute. - * @see #setLoginTimeout(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_LoginTimeout() - * @generated - */ - BigInteger getLoginTimeout(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout <em>Login Timeout</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Login Timeout</em>' attribute. - * @see #getLoginTimeout() - * @generated - */ - void setLoginTimeout(BigInteger value); - - /** - * Returns the value of the '<em><b>Transactional</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Set to false if connections should not participate in - * transactions. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Transactional</em>' attribute. - * @see #isSetTransactional() - * @see #unsetTransactional() - * @see #setTransactional(boolean) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Transactional() - * @generated - */ - boolean isTransactional(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Transactional</em>' attribute. - * @see #isSetTransactional() - * @see #unsetTransactional() - * @see #isTransactional() - * @generated - */ - void setTransactional(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetTransactional() - * @see #isTransactional() - * @see #setTransactional(boolean) - * @generated - */ - void unsetTransactional(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Transactional</em>' attribute is set. - * @see #unsetTransactional() - * @see #isTransactional() - * @see #setTransactional(boolean) - * @generated - */ - boolean isSetTransactional(); - - /** - * Returns the value of the '<em><b>Isolation Level</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.IsolationLevelType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Isolation level for connections. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Isolation Level</em>' attribute. - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @see #isSetIsolationLevel() - * @see #unsetIsolationLevel() - * @see #setIsolationLevel(IsolationLevelType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_IsolationLevel() - * @generated - */ - IsolationLevelType getIsolationLevel(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Isolation Level</em>' attribute. - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @see #isSetIsolationLevel() - * @see #unsetIsolationLevel() - * @see #getIsolationLevel() - * @generated - */ - void setIsolationLevel(IsolationLevelType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetIsolationLevel() - * @see #getIsolationLevel() - * @see #setIsolationLevel(IsolationLevelType) - * @generated - */ - void unsetIsolationLevel(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Isolation Level</em>' attribute is set. - * @see #unsetIsolationLevel() - * @see #getIsolationLevel() - * @see #setIsolationLevel(IsolationLevelType) - * @generated - */ - boolean isSetIsolationLevel(); - - /** - * Returns the value of the '<em><b>Initial Pool Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Number of connections that should be created when a - * connection pool is initialized. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Initial Pool Size</em>' attribute. - * @see #setInitialPoolSize(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_InitialPoolSize() - * @generated - */ - BigInteger getInitialPoolSize(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize <em>Initial Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Initial Pool Size</em>' attribute. - * @see #getInitialPoolSize() - * @generated - */ - void setInitialPoolSize(BigInteger value); - - /** - * Returns the value of the '<em><b>Max Pool Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Maximum number of connections that should be concurrently - * allocated for a connection pool. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Max Pool Size</em>' attribute. - * @see #setMaxPoolSize(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MaxPoolSize() - * @generated - */ - BigInteger getMaxPoolSize(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize <em>Max Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Max Pool Size</em>' attribute. - * @see #getMaxPoolSize() - * @generated - */ - void setMaxPoolSize(BigInteger value); - - /** - * Returns the value of the '<em><b>Min Pool Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Minimum number of connections that should be concurrently - * allocated for a connection pool. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Min Pool Size</em>' attribute. - * @see #setMinPoolSize(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MinPoolSize() - * @generated - */ - BigInteger getMinPoolSize(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize <em>Min Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Min Pool Size</em>' attribute. - * @see #getMinPoolSize() - * @generated - */ - void setMinPoolSize(BigInteger value); - - /** - * Returns the value of the '<em><b>Max Idle Time</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The number of seconds that a physical connection should - * remain unused in the pool before the connection is - * closed for a connection pool. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Max Idle Time</em>' attribute. - * @see #setMaxIdleTime(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MaxIdleTime() - * @generated - */ - BigInteger getMaxIdleTime(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime <em>Max Idle Time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Max Idle Time</em>' attribute. - * @see #getMaxIdleTime() - * @generated - */ - void setMaxIdleTime(BigInteger value); - - /** - * Returns the value of the '<em><b>Max Statements</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The total number of statements that a connection pool - * should keep open. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Max Statements</em>' attribute. - * @see #setMaxStatements(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_MaxStatements() - * @generated - */ - BigInteger getMaxStatements(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements <em>Max Statements</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Max Statements</em>' attribute. - * @see #getMaxStatements() - * @generated - */ - void setMaxStatements(BigInteger value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDataSourceType_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DataSourceType#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // DataSourceType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Description.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Description.java deleted file mode 100644 index 5a4453716..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Description.java +++ /dev/null @@ -1,132 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Description</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The description type is used by a description element to - * provide text describing the parent element. The elements - * that use this type should include any information that the - * Deployment Component's Deployment File file producer wants - * to provide to the consumer of the Deployment Component's - * Deployment File (i.e., to the Deployer). Typically, the - * tools used by such a Deployment File consumer will display - * the description when processing the parent element that - * contains the description. - * - * The lang attribute defines the language that the - * description is provided in. The default value is "en" (English). - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.Description#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Description#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDescription() - * @extends JavaEEObject - * @generated - */ -public interface Description extends JavaEEObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDescription_Value() - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Description#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - - /** - * Returns the value of the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * - * <h3>lang (as an attribute name)</h3> - * <p> - * denotes an attribute whose value - * is a language code for the natural language of the content of - * any element; its value is inherited. This name is reserved - * by virtue of its definition in the XML specification.</p> - * - * </div> - * <div xmlns="http://www.w3.org/1999/xhtml"> - * <h4>Notes</h4> - * <p> - * Attempting to install the relevant ISO 2- and 3-letter - * codes as the enumerated possible values is probably never - * going to be a realistic possibility. - * </p> - * <p> - * See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"> - * http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a> - * and the IANA language subtag registry at - * <a href="http://www.iana.org/assignments/language-subtag-registry"> - * http://www.iana.org/assignments/language-subtag-registry</a> - * for further information. - * </p> - * <p> - * The union allows for the 'un-declaration' of xml:lang with - * the empty string. - * </p> - * </div> - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lang</em>' attribute. - * @see #setLang(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDescription_Lang() - * @generated - */ - String getLang(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Description#getLang <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lang</em>' attribute. - * @see #getLang() - * @generated - */ - void setLang(String value); - -} // Description
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DisplayName.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DisplayName.java deleted file mode 100644 index dc495f66c..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/DisplayName.java +++ /dev/null @@ -1,133 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Display Name</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The display-name type contains a short name that is intended - * to be displayed by tools. It is used by display-name - * elements. The display name need not be unique. - * - * Example: - * - * ... - * <display-name xml:lang="en"> - * Employee Self Service - * </display-name> - * - * The value of the xml:lang attribute is "en" (English) by default. - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.DisplayName#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.DisplayName#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDisplayName() - * @extends JavaEEObject - * @generated - */ -public interface DisplayName extends JavaEEObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDisplayName_Value() - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DisplayName#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - - /** - * Returns the value of the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * - * <h3>lang (as an attribute name)</h3> - * <p> - * denotes an attribute whose value - * is a language code for the natural language of the content of - * any element; its value is inherited. This name is reserved - * by virtue of its definition in the XML specification.</p> - * - * </div> - * <div xmlns="http://www.w3.org/1999/xhtml"> - * <h4>Notes</h4> - * <p> - * Attempting to install the relevant ISO 2- and 3-letter - * codes as the enumerated possible values is probably never - * going to be a realistic possibility. - * </p> - * <p> - * See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"> - * http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a> - * and the IANA language subtag registry at - * <a href="http://www.iana.org/assignments/language-subtag-registry"> - * http://www.iana.org/assignments/language-subtag-registry</a> - * for further information. - * </p> - * <p> - * The union allows for the 'un-declaration' of xml:lang with - * the empty string. - * </p> - * </div> - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lang</em>' attribute. - * @see #setLang(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getDisplayName_Lang() - * @generated - */ - String getLang(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.DisplayName#getLang <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lang</em>' attribute. - * @see #getLang() - * @generated - */ - void setLang(String value); - -} // DisplayName
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbLocalRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbLocalRef.java deleted file mode 100644 index 634c84d01..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbLocalRef.java +++ /dev/null @@ -1,350 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Ejb Local Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The ejb-local-refType is used by ejb-local-ref elements for - * the declaration of a reference to an enterprise bean's local - * home or to the local business interface of a 3.0 bean. - * The declaration consists of: - * - * - an optional description - * - the EJB reference name used in the code of the Deployment - * Component that's referencing the enterprise bean. - * - the optional expected type of the referenced enterprise bean - * - the optional expected local interface of the referenced - * enterprise bean or the local business interface of the - * referenced enterprise bean. - * - the optional expected local home interface of the referenced - * enterprise bean. Not applicable if this ejb-local-ref refers - * to the local business interface of a 3.0 bean. - * - optional ejb-link information, used to specify the - * referenced enterprise bean - * - optional elements to define injection of the named enterprise - * bean into a component field or property. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefName <em>Ejb Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefType <em>Ejb Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLocalHome <em>Local Home</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLocal <em>Local</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbLink <em>Ejb Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef() - * @extends JavaEEObject - * @generated - */ -public interface EjbLocalRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Ejb Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ejb Ref Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ejb Ref Name</em>' attribute. - * @see #setEjbRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_EjbRefName() - * @generated - */ - String getEjbRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefName <em>Ejb Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ejb Ref Name</em>' attribute. - * @see #getEjbRefName() - * @generated - */ - void setEjbRefName(String value); - - /** - * Returns the value of the '<em><b>Ejb Ref Type</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EjbRefType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ejb Ref Type</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ejb Ref Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see #isSetEjbRefType() - * @see #unsetEjbRefType() - * @see #setEjbRefType(EjbRefType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_EjbRefType() - * @generated - */ - EjbRefType getEjbRefType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefType <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ejb Ref Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see #isSetEjbRefType() - * @see #unsetEjbRefType() - * @see #getEjbRefType() - * @generated - */ - void setEjbRefType(EjbRefType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefType <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetEjbRefType() - * @see #getEjbRefType() - * @see #setEjbRefType(EjbRefType) - * @generated - */ - void unsetEjbRefType(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefType <em>Ejb Ref Type</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Ejb Ref Type</em>' attribute is set. - * @see #unsetEjbRefType() - * @see #getEjbRefType() - * @see #setEjbRefType(EjbRefType) - * @generated - */ - boolean isSetEjbRefType(); - - /** - * Returns the value of the '<em><b>Local Home</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Local Home</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Local Home</em>' attribute. - * @see #setLocalHome(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_LocalHome() - * @generated - */ - String getLocalHome(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLocalHome <em>Local Home</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Local Home</em>' attribute. - * @see #getLocalHome() - * @generated - */ - void setLocalHome(String value); - - /** - * Returns the value of the '<em><b>Local</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Local</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Local</em>' attribute. - * @see #setLocal(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_Local() - * @generated - */ - String getLocal(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLocal <em>Local</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Local</em>' attribute. - * @see #getLocal() - * @generated - */ - void setLocal(String value); - - /** - * Returns the value of the '<em><b>Ejb Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ejb Link</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ejb Link</em>' attribute. - * @see #setEjbLink(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_EjbLink() - * @generated - */ - String getEjbLink(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbLink <em>Ejb Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ejb Link</em>' attribute. - * @see #getEjbLink() - * @generated - */ - void setEjbLink(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbLocalRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // EjbLocalRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbRef.java deleted file mode 100644 index 812f8ffb8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbRef.java +++ /dev/null @@ -1,351 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Ejb Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The ejb-refType is used by ejb-ref elements for the - * declaration of a reference to an enterprise bean's home or - * to the remote business interface of a 3.0 bean. - * The declaration consists of: - * - * - an optional description - * - the EJB reference name used in the code of - * the Deployment Component that's referencing the enterprise - * bean. - * - the optional expected type of the referenced enterprise bean - * - the optional remote interface of the referenced enterprise bean - * or the remote business interface of the referenced enterprise - * bean - * - the optional expected home interface of the referenced - * enterprise bean. Not applicable if this ejb-ref - * refers to the remote business interface of a 3.0 bean. - * - optional ejb-link information, used to specify the - * referenced enterprise bean - * - optional elements to define injection of the named enterprise - * bean into a component field or property - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefName <em>Ejb Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefType <em>Ejb Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getHome <em>Home</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getRemote <em>Remote</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getEjbLink <em>Ejb Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef() - * @extends JavaEEObject - * @generated - */ -public interface EjbRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Ejb Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ejb Ref Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ejb Ref Name</em>' attribute. - * @see #setEjbRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_EjbRefName() - * @generated - */ - String getEjbRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefName <em>Ejb Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ejb Ref Name</em>' attribute. - * @see #getEjbRefName() - * @generated - */ - void setEjbRefName(String value); - - /** - * Returns the value of the '<em><b>Ejb Ref Type</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.EjbRefType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ejb Ref Type</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ejb Ref Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see #isSetEjbRefType() - * @see #unsetEjbRefType() - * @see #setEjbRefType(EjbRefType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_EjbRefType() - * @generated - */ - EjbRefType getEjbRefType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefType <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ejb Ref Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see #isSetEjbRefType() - * @see #unsetEjbRefType() - * @see #getEjbRefType() - * @generated - */ - void setEjbRefType(EjbRefType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefType <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetEjbRefType() - * @see #getEjbRefType() - * @see #setEjbRefType(EjbRefType) - * @generated - */ - void unsetEjbRefType(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefType <em>Ejb Ref Type</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Ejb Ref Type</em>' attribute is set. - * @see #unsetEjbRefType() - * @see #getEjbRefType() - * @see #setEjbRefType(EjbRefType) - * @generated - */ - boolean isSetEjbRefType(); - - /** - * Returns the value of the '<em><b>Home</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Home</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Home</em>' attribute. - * @see #setHome(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_Home() - * @generated - */ - String getHome(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getHome <em>Home</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Home</em>' attribute. - * @see #getHome() - * @generated - */ - void setHome(String value); - - /** - * Returns the value of the '<em><b>Remote</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Remote</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Remote</em>' attribute. - * @see #setRemote(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_Remote() - * @generated - */ - String getRemote(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getRemote <em>Remote</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Remote</em>' attribute. - * @see #getRemote() - * @generated - */ - void setRemote(String value); - - /** - * Returns the value of the '<em><b>Ejb Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ejb Link</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ejb Link</em>' attribute. - * @see #setEjbLink(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_EjbLink() - * @generated - */ - String getEjbLink(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbLink <em>Ejb Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Ejb Link</em>' attribute. - * @see #getEjbLink() - * @generated - */ - void setEjbLink(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // EjbRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbRefType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbRefType.java deleted file mode 100644 index 1dc13ab49..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EjbRefType.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Ejb Ref Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The ejb-ref-typeType contains the expected type of the - * referenced enterprise bean. - * - * The ejb-ref-type designates a value - * that must be one of the following: - * - * Entity - * Session - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEjbRefType() - * @generated - */ -public enum EjbRefType implements Enumerator -{ - /** - * The '<em><b>Entity</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #ENTITY - * @generated - * @ordered - */ - ENTITY_LITERAL(0, "Entity", "Entity"), //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Session</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SESSION - * @generated - * @ordered - */ - SESSION_LITERAL(1, "Session", "Session"); //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Entity</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Entity</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #ENTITY_LITERAL - * @generated - * @ordered - */ - public static final int ENTITY = 0; - - /** - * The '<em><b>Session</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Session</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SESSION_LITERAL - * @generated - * @ordered - */ - public static final int SESSION = 1; - - /** - * An array of all the '<em><b>Ejb Ref Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final EjbRefType[] VALUES_ARRAY = - new EjbRefType[] { - ENTITY_LITERAL, - SESSION_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Ejb Ref Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<EjbRefType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Ejb Ref Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static EjbRefType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - EjbRefType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Ejb Ref Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static EjbRefType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - EjbRefType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Ejb Ref Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static EjbRefType get(int value) { - switch (value) { - case ENTITY: return ENTITY_LITERAL; - case SESSION: return SESSION_LITERAL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EjbRefType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EmptyType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EmptyType.java deleted file mode 100644 index 655150f02..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EmptyType.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Empty Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * This type is used to designate an empty - * element when used. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.EmptyType#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEmptyType() - * @extends JavaEEObject - * @generated - */ -public interface EmptyType extends JavaEEObject { - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEmptyType_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EmptyType#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // EmptyType
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EnvEntry.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EnvEntry.java deleted file mode 100644 index 177426afb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EnvEntry.java +++ /dev/null @@ -1,341 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Env Entry</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The env-entryType is used to declare an application's - * environment entry. The declaration consists of an optional - * description, the name of the environment entry, a type - * (optional if the value is injected, otherwise required), and - * an optional value. - * - * It also includes optional elements to define injection of - * the named resource into fields or JavaBeans properties. - * - * If a value is not specified and injection is requested, - * no injection will occur and no entry of the specified name - * will be created. This allows an initial value to be - * specified in the source code without being incorrectly - * changed when no override has been specified. - * - * If a value is not specified and no injection is requested, - * a value must be supplied during deployment. - * - * This type is used by env-entry elements. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryName <em>Env Entry Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryValue <em>Env Entry Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry() - * @extends JavaEEObject - * @generated - */ -public interface EnvEntry extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Env Entry Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The env-entry-name element contains the name of a - * Deployment Component's environment entry. The name - * is a JNDI name relative to the java:comp/env - * context. The name must be unique within a - * Deployment Component. The uniqueness - * constraints must be defined within the declared - * context. - * - * Example: - * - * <env-entry-name>minAmount</env-entry-name> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Env Entry Name</em>' attribute. - * @see #setEnvEntryName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_EnvEntryName() - * @generated - */ - String getEnvEntryName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryName <em>Env Entry Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Env Entry Name</em>' attribute. - * @see #getEnvEntryName() - * @generated - */ - void setEnvEntryName(String value); - - /** - * Returns the value of the '<em><b>Env Entry Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The env-entry-type element contains the Java language - * type of the environment entry. If an injection target - * is specified for the environment entry, the type may - * be omitted, or must match the type of the injection - * target. If no injection target is specified, the type - * is required. - * - * Example: - * - * <env-entry-type>java.lang.Integer</env-entry-type> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Env Entry Type</em>' attribute. - * @see #setEnvEntryType(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_EnvEntryType() - * @generated - */ - String getEnvEntryType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Env Entry Type</em>' attribute. - * @see #getEnvEntryType() - * @generated - */ - void setEnvEntryType(String value); - - /** - * Returns the value of the '<em><b>Env Entry Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The env-entry-value designates the value of a - * Deployment Component's environment entry. The value - * must be a String that is valid for the - * constructor of the specified type that takes a - * single String parameter, or for java.lang.Character, - * a single character. - * - * Example: - * - * <env-entry-value>100.00</env-entry-value> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Env Entry Value</em>' attribute. - * @see #setEnvEntryValue(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_EnvEntryValue() - * @generated - */ - String getEnvEntryValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryValue <em>Env Entry Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Env Entry Value</em>' attribute. - * @see #getEnvEntryValue() - * @generated - */ - void setEnvEntryValue(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntry_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute. - * @param value the new value of the '<em>Env Entry Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @see #isSetEnvEntryType() - * @see #unsetEnvEntryType() - * @see #getEnvEntryType() - * This is provided for Java EE 5 model equivalence - */ - void setEnvEntryType(EnvEntryType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute. - * @see #isSetEnvEntryType() - * @see #getEnvEntryType() - * @see #setEnvEntryType(EnvEntryType) - * This is provided for Java EE 5 model equivalence - */ - void unsetEnvEntryType(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}' attribute is set. - * @return whether the value of the '<em>Env Entry Type</em>' attribute is set. - * @see #unsetEnvEntryType() - * @see #getEnvEntryType() - * @see #setEnvEntryType(EnvEntryType) - * This is provided for Java EE 5 model equivalence - */ - boolean isSetEnvEntryType(); - -} // EnvEntry
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EnvEntryType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EnvEntryType.java deleted file mode 100644 index 929f25358..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/EnvEntryType.java +++ /dev/null @@ -1,361 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -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>Env Entry Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * - * This type contains the fully-qualified Java type of the - * environment entry value that is expected by the - * application's code. - * - * The following are the legal values of env-entry-type-valuesType: - * - * java.lang.Boolean - * java.lang.Byte - * java.lang.Character - * java.lang.String - * java.lang.Short - * java.lang.Integer - * java.lang.Long - * java.lang.Float - * java.lang.Double - * - * Example: - * - * <env-entry-type>java.lang.Boolean</env-entry-type> - * - * - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getEnvEntryType() - * @generated - */ -public final class EnvEntryType extends AbstractEnumerator { - /** - * The '<em><b>Java Lang Boolean</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Boolean</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_BOOLEAN_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_BOOLEAN = 0; - - /** - * The '<em><b>Java Lang Byte</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Byte</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_BYTE_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_BYTE = 1; - - /** - * The '<em><b>Java Lang Character</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Character</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_CHARACTER_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_CHARACTER = 2; - - /** - * The '<em><b>Java Lang String</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang String</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_STRING_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_STRING = 3; - - /** - * The '<em><b>Java Lang Short</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Short</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_SHORT_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_SHORT = 4; - - /** - * The '<em><b>Java Lang Integer</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Integer</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_INTEGER_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_INTEGER = 5; - - /** - * The '<em><b>Java Lang Long</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Long</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_LONG_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_LONG = 6; - - /** - * The '<em><b>Java Lang Float</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Float</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_FLOAT_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_FLOAT = 7; - - /** - * The '<em><b>Java Lang Double</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Java Lang Double</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JAVA_LANG_DOUBLE_LITERAL - * @generated - * @ordered - */ - public static final int JAVA_LANG_DOUBLE = 8; - - /** - * The '<em><b>Java Lang Boolean</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_BOOLEAN - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_BOOLEAN_LITERAL = new EnvEntryType(JAVA_LANG_BOOLEAN, "javaLangBoolean", "java.lang.Boolean"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Byte</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_BYTE - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_BYTE_LITERAL = new EnvEntryType(JAVA_LANG_BYTE, "javaLangByte", "java.lang.Byte"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Character</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_CHARACTER - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_CHARACTER_LITERAL = new EnvEntryType(JAVA_LANG_CHARACTER, "javaLangCharacter", "java.lang.Character"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang String</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_STRING - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_STRING_LITERAL = new EnvEntryType(JAVA_LANG_STRING, "javaLangString", "java.lang.String"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Short</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_SHORT - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_SHORT_LITERAL = new EnvEntryType(JAVA_LANG_SHORT, "javaLangShort", "java.lang.Short"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Integer</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_INTEGER - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_INTEGER_LITERAL = new EnvEntryType(JAVA_LANG_INTEGER, "javaLangInteger", "java.lang.Integer"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Long</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_LONG - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_LONG_LITERAL = new EnvEntryType(JAVA_LANG_LONG, "javaLangLong", "java.lang.Long"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Float</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_FLOAT - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_FLOAT_LITERAL = new EnvEntryType(JAVA_LANG_FLOAT, "javaLangFloat", "java.lang.Float"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Java Lang Double</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #JAVA_LANG_DOUBLE - * @generated - * @ordered - */ - public static final EnvEntryType JAVA_LANG_DOUBLE_LITERAL = new EnvEntryType(JAVA_LANG_DOUBLE, "javaLangDouble", "java.lang.Double"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * An array of all the '<em><b>Env Entry Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final EnvEntryType[] VALUES_ARRAY = - new EnvEntryType[] { - JAVA_LANG_BOOLEAN_LITERAL, - JAVA_LANG_BYTE_LITERAL, - JAVA_LANG_CHARACTER_LITERAL, - JAVA_LANG_STRING_LITERAL, - JAVA_LANG_SHORT_LITERAL, - JAVA_LANG_INTEGER_LITERAL, - JAVA_LANG_LONG_LITERAL, - JAVA_LANG_FLOAT_LITERAL, - JAVA_LANG_DOUBLE_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Env Entry 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>Env Entry Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static EnvEntryType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - EnvEntryType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Env Entry Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static EnvEntryType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - EnvEntryType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Env Entry Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static EnvEntryType get(int value) { - switch (value) { - case JAVA_LANG_BOOLEAN: return JAVA_LANG_BOOLEAN_LITERAL; - case JAVA_LANG_BYTE: return JAVA_LANG_BYTE_LITERAL; - case JAVA_LANG_CHARACTER: return JAVA_LANG_CHARACTER_LITERAL; - case JAVA_LANG_STRING: return JAVA_LANG_STRING_LITERAL; - case JAVA_LANG_SHORT: return JAVA_LANG_SHORT_LITERAL; - case JAVA_LANG_INTEGER: return JAVA_LANG_INTEGER_LITERAL; - case JAVA_LANG_LONG: return JAVA_LANG_LONG_LITERAL; - case JAVA_LANG_FLOAT: return JAVA_LANG_FLOAT_LITERAL; - case JAVA_LANG_DOUBLE: return JAVA_LANG_DOUBLE_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EnvEntryType(int value, String name, String literal) { - super(value, name, literal); - } - -} //EnvEntryType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/GenericBooleanType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/GenericBooleanType.java deleted file mode 100644 index 4aaad5cb0..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/GenericBooleanType.java +++ /dev/null @@ -1,275 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Generic Boolean Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * This type defines four different values which can designate - * boolean values. This includes values yes and no which are - * not designated by xsd:boolean - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getGenericBooleanType() - * @generated - */ -public enum GenericBooleanType implements Enumerator { - /** - * The '<em><b>True</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TRUE_VALUE - * @generated - * @ordered - */ - TRUE(0, "true", "true"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>False</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #FALSE_VALUE - * @generated - * @ordered - */ - FALSE(1, "false", "false"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Yes</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #YES_VALUE - * @generated - * @ordered - */ - YES(2, "yes", "yes"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>No</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #NO_VALUE - * @generated - * @ordered - */ - NO(3, "no", "no"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>True</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>True</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TRUE - * @generated - * @ordered - */ - public static final int TRUE_VALUE = 0; - - /** - * The '<em><b>False</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>False</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #FALSE - * @generated - * @ordered - */ - public static final int FALSE_VALUE = 1; - - /** - * The '<em><b>Yes</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Yes</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #YES - * @generated - * @ordered - */ - public static final int YES_VALUE = 2; - - /** - * The '<em><b>No</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>No</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #NO - * @generated - * @ordered - */ - public static final int NO_VALUE = 3; - - /** - * An array of all the '<em><b>Generic Boolean Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final GenericBooleanType[] VALUES_ARRAY = - new GenericBooleanType[] { - TRUE, - FALSE, - YES, - NO, - }; - - /** - * A public read-only list of all the '<em><b>Generic Boolean Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<GenericBooleanType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Generic Boolean Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static GenericBooleanType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - GenericBooleanType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Generic Boolean Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static GenericBooleanType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - GenericBooleanType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Generic Boolean Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static GenericBooleanType get(int value) { - switch (value) { - case TRUE_VALUE: return TRUE; - case FALSE_VALUE: return FALSE; - case YES_VALUE: return YES; - case NO_VALUE: return NO; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private GenericBooleanType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //GenericBooleanType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Icon.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Icon.java deleted file mode 100644 index fa2429681..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Icon.java +++ /dev/null @@ -1,211 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Icon</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The icon type contains small-icon and large-icon elements - * that specify the file names for small and large GIF, JPEG, - * or PNG icon images used to represent the parent element in a - * GUI tool. - * - * The xml:lang attribute defines the language that the - * icon file names are provided in. Its value is "en" (English) - * by default. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.Icon#getSmallIcon <em>Small Icon</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Icon#getLargeIcon <em>Large Icon</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Icon#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Icon#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIcon() - * @extends JavaEEObject - * @generated - */ -public interface Icon extends JavaEEObject { - /** - * Returns the value of the '<em><b>Small Icon</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The small-icon element contains the name of a file - * containing a small (16 x 16) icon image. The file - * name is a relative path within the Deployment - * Component's Deployment File. - * - * The image may be in the GIF, JPEG, or PNG format. - * The icon can be used by tools. - * - * Example: - * - * <small-icon>employee-service-icon16x16.jpg</small-icon> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Small Icon</em>' attribute. - * @see #setSmallIcon(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIcon_SmallIcon() - * @generated - */ - String getSmallIcon(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Icon#getSmallIcon <em>Small Icon</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Small Icon</em>' attribute. - * @see #getSmallIcon() - * @generated - */ - void setSmallIcon(String value); - - /** - * Returns the value of the '<em><b>Large Icon</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The large-icon element contains the name of a file - * containing a large - * (32 x 32) icon image. The file name is a relative - * path within the Deployment Component's Deployment - * File. - * - * The image may be in the GIF, JPEG, or PNG format. - * The icon can be used by tools. - * - * Example: - * - * <large-icon>employee-service-icon32x32.jpg</large-icon> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Large Icon</em>' attribute. - * @see #setLargeIcon(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIcon_LargeIcon() - * @generated - */ - String getLargeIcon(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Icon#getLargeIcon <em>Large Icon</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Large Icon</em>' attribute. - * @see #getLargeIcon() - * @generated - */ - void setLargeIcon(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIcon_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Icon#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - - /** - * Returns the value of the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * - * <h3>lang (as an attribute name)</h3> - * <p> - * denotes an attribute whose value - * is a language code for the natural language of the content of - * any element; its value is inherited. This name is reserved - * by virtue of its definition in the XML specification.</p> - * - * </div> - * <div xmlns="http://www.w3.org/1999/xhtml"> - * <h4>Notes</h4> - * <p> - * Attempting to install the relevant ISO 2- and 3-letter - * codes as the enumerated possible values is probably never - * going to be a realistic possibility. - * </p> - * <p> - * See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"> - * http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a> - * and the IANA language subtag registry at - * <a href="http://www.iana.org/assignments/language-subtag-registry"> - * http://www.iana.org/assignments/language-subtag-registry</a> - * for further information. - * </p> - * <p> - * The union allows for the 'un-declaration' of xml:lang with - * the empty string. - * </p> - * </div> - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lang</em>' attribute. - * @see #setLang(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIcon_Lang() - * @generated - */ - String getLang(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Icon#getLang <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lang</em>' attribute. - * @see #getLang() - * @generated - */ - void setLang(String value); - -} // Icon
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/InjectionTarget.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/InjectionTarget.java deleted file mode 100644 index 37f5cd132..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/InjectionTarget.java +++ /dev/null @@ -1,107 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Injection Target</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * An injection target specifies a class and a name within - * that class into which a resource should be injected. - * - * The injection target class specifies the fully qualified - * class name that is the target of the injection. The - * Java EE specifications describe which classes can be an - * injection target. - * - * The injection target name specifies the target within - * the specified class. The target is first looked for as a - * JavaBeans property name. If not found, the target is - * looked for as a field name. - * - * The specified resource will be injected into the target - * during initialization of the class by either calling the - * set method for the target property or by setting a value - * into the named field. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetClass <em>Injection Target Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetName <em>Injection Target Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getInjectionTarget() - * @extends JavaEEObject - * @generated - */ -public interface InjectionTarget extends JavaEEObject { - /** - * Returns the value of the '<em><b>Injection Target Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Target Class</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Injection Target Class</em>' attribute. - * @see #setInjectionTargetClass(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getInjectionTarget_InjectionTargetClass() - * @generated - */ - String getInjectionTargetClass(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetClass <em>Injection Target Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Injection Target Class</em>' attribute. - * @see #getInjectionTargetClass() - * @generated - */ - void setInjectionTargetClass(String value); - - /** - * Returns the value of the '<em><b>Injection Target Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Target Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Injection Target Name</em>' attribute. - * @see #setInjectionTargetName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getInjectionTarget_InjectionTargetName() - * @generated - */ - String getInjectionTargetName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetName <em>Injection Target Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Injection Target Name</em>' attribute. - * @see #getInjectionTargetName() - * @generated - */ - void setInjectionTargetName(String value); - -} // InjectionTarget
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java deleted file mode 100644 index c7255adbd..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/IsolationLevelType.java +++ /dev/null @@ -1,279 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Isolation Level Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The following transaction isolation levels are allowed - * (see documentation for the java.sql.Connection interface): - * TRANSACTION_READ_UNCOMMITTED - * TRANSACTION_READ_COMMITTED - * TRANSACTION_REPEATABLE_READ - * TRANSACTION_SERIALIZABLE - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getIsolationLevelType() - * @generated - */ -public enum IsolationLevelType implements Enumerator { - - /** - * The '<em><b>TRANSACTIONREADUNCOMMITTED</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TRANSACTIONREADUNCOMMITTED_VALUE - * @generated - * @ordered - */ - TRANSACTIONREADUNCOMMITTED(0, "TRANSACTIONREADUNCOMMITTED", "TRANSACTION_READ_UNCOMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>TRANSACTIONREADCOMMITTED</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TRANSACTIONREADCOMMITTED_VALUE - * @generated - * @ordered - */ - TRANSACTIONREADCOMMITTED(1, "TRANSACTIONREADCOMMITTED", "TRANSACTION_READ_COMMITTED"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>TRANSACTIONREPEATABLEREAD</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TRANSACTIONREPEATABLEREAD_VALUE - * @generated - * @ordered - */ - TRANSACTIONREPEATABLEREAD(2, "TRANSACTIONREPEATABLEREAD", "TRANSACTION_REPEATABLE_READ"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>TRANSACTIONSERIALIZABLE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TRANSACTIONSERIALIZABLE_VALUE - * @generated - * @ordered - */ - TRANSACTIONSERIALIZABLE(3, "TRANSACTIONSERIALIZABLE", "TRANSACTION_SERIALIZABLE"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>TRANSACTIONREADUNCOMMITTED</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>TRANSACTIONREADUNCOMMITTED</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TRANSACTIONREADUNCOMMITTED - * @generated - * @ordered - */ - public static final int TRANSACTIONREADUNCOMMITTED_VALUE = 0; - - /** - * The '<em><b>TRANSACTIONREADCOMMITTED</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>TRANSACTIONREADCOMMITTED</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TRANSACTIONREADCOMMITTED - * @generated - * @ordered - */ - public static final int TRANSACTIONREADCOMMITTED_VALUE = 1; - - /** - * The '<em><b>TRANSACTIONREPEATABLEREAD</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>TRANSACTIONREPEATABLEREAD</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TRANSACTIONREPEATABLEREAD - * @generated - * @ordered - */ - public static final int TRANSACTIONREPEATABLEREAD_VALUE = 2; - - /** - * The '<em><b>TRANSACTIONSERIALIZABLE</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>TRANSACTIONSERIALIZABLE</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TRANSACTIONSERIALIZABLE - * @generated - * @ordered - */ - public static final int TRANSACTIONSERIALIZABLE_VALUE = 3; - - /** - * An array of all the '<em><b>Isolation Level Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final IsolationLevelType[] VALUES_ARRAY = - new IsolationLevelType[] { - TRANSACTIONREADUNCOMMITTED, - TRANSACTIONREADCOMMITTED, - TRANSACTIONREPEATABLEREAD, - TRANSACTIONSERIALIZABLE, - }; - - /** - * A public read-only list of all the '<em><b>Isolation Level Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<IsolationLevelType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Isolation Level Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static IsolationLevelType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - IsolationLevelType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Isolation Level Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static IsolationLevelType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - IsolationLevelType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Isolation Level Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static IsolationLevelType get(int value) { - switch (value) { - case TRANSACTIONREADUNCOMMITTED_VALUE: return TRANSACTIONREADUNCOMMITTED; - case TRANSACTIONREADCOMMITTED_VALUE: return TRANSACTIONREADCOMMITTED; - case TRANSACTIONREPEATABLEREAD_VALUE: return TRANSACTIONREPEATABLEREAD; - case TRANSACTIONSERIALIZABLE_VALUE: return TRANSACTIONSERIALIZABLE; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private IsolationLevelType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //IsolationLevelType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JEESAXXMLHandler.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JEESAXXMLHandler.java deleted file mode 100644 index 8ada46d0e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JEESAXXMLHandler.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 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.javaee.core; - -import java.util.Map; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.xmi.XMLHelper; -import org.eclipse.emf.ecore.xmi.XMLResource; -import org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler; - -public class JEESAXXMLHandler extends SAXXMIHandler { - - public JEESAXXMLHandler(XMLResource xmiResource, XMLHelper helper, - Map<?, ?> options) { - super(xmiResource, helper, options); - } - - @Override - protected EPackage getPackageForURI(String uriString) { - EPackage defPackage; - // Grab the schema location because all JEE DD files share a common namespace - if (urisToLocations == null) {//uriMap not initialized yet - defPackage = super.getPackageForURI(uriString); - if (urisToLocations == null)// if still not initialized.. then just return defPackage - return defPackage; - } - URI uri = urisToLocations.get(uriString); - String locString = (uri == null) ? uriString : uri.toString(); - EPackage ePackage = packageRegistry.getEPackage(locString); - if (ePackage == null) - return super.getPackageForURI(locString); - else return ePackage; - - } - -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JEEXMLLoadImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JEEXMLLoadImpl.java deleted file mode 100644 index 043b7809f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JEEXMLLoadImpl.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 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.javaee.core; - -import org.eclipse.emf.ecore.xmi.XMLHelper; -import org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl; -import org.xml.sax.helpers.DefaultHandler; - -public class JEEXMLLoadImpl extends XMLLoadImpl { - - @Override - protected DefaultHandler makeDefaultHandler() { - - return new JEESAXXMLHandler(resource, helper, options); - } - - public JEEXMLLoadImpl(XMLHelper helper) { - super(helper); - } - -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JavaEEObject.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JavaEEObject.java deleted file mode 100644 index 1200c7cfa..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JavaEEObject.java +++ /dev/null @@ -1,15 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 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.javaee.core; - -public interface JavaEEObject { - -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JavaeeFactory.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JavaeeFactory.java deleted file mode 100644 index 693f71097..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/JavaeeFactory.java +++ /dev/null @@ -1,313 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import org.eclipse.emf.ecore.EFactory; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage - * @generated - */ -public interface JavaeeFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - JavaeeFactory eINSTANCE = org.eclipse.jst.javaee.core.internal.impl.JavaeeFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Addressing Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Addressing Type</em>'. - * @generated - */ - AddressingType createAddressingType(); - - /** - * Returns a new object of class '<em>Data Source Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Data Source Type</em>'. - * @generated - */ - DataSourceType createDataSourceType(); - - /** - * Returns a new object of class '<em>Description</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Description</em>'. - * @generated - */ - Description createDescription(); - - /** - * Returns a new object of class '<em>Display Name</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Display Name</em>'. - * @generated - */ - DisplayName createDisplayName(); - - /** - * Returns a new object of class '<em>Ejb Local Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Ejb Local Ref</em>'. - * @generated - */ - EjbLocalRef createEjbLocalRef(); - - /** - * Returns a new object of class '<em>Ejb Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Ejb Ref</em>'. - * @generated - */ - EjbRef createEjbRef(); - - /** - * Returns a new object of class '<em>Empty Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Empty Type</em>'. - * @generated - */ - EmptyType createEmptyType(); - - /** - * Returns a new object of class '<em>Env Entry</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Env Entry</em>'. - * @generated - */ - EnvEntry createEnvEntry(); - - /** - * Returns a new object of class '<em>Icon</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Icon</em>'. - * @generated - */ - Icon createIcon(); - - /** - * Returns a new object of class '<em>Injection Target</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Injection Target</em>'. - * @generated - */ - InjectionTarget createInjectionTarget(); - - /** - * Returns a new object of class '<em>Lifecycle Callback</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Lifecycle Callback</em>'. - * @generated - */ - LifecycleCallback createLifecycleCallback(); - - /** - * Returns a new object of class '<em>Listener</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Listener</em>'. - * @generated - */ - Listener createListener(); - - /** - * Returns a new object of class '<em>Message Destination</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Message Destination</em>'. - * @generated - */ - MessageDestination createMessageDestination(); - - /** - * Returns a new object of class '<em>Message Destination Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Message Destination Ref</em>'. - * @generated - */ - MessageDestinationRef createMessageDestinationRef(); - - /** - * Returns a new object of class '<em>Param Value</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Param Value</em>'. - * @generated - */ - ParamValue createParamValue(); - - /** - * Returns a new object of class '<em>Persistence Context Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Persistence Context Ref</em>'. - * @generated - */ - PersistenceContextRef createPersistenceContextRef(); - - /** - * Returns a new object of class '<em>Persistence Unit Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Persistence Unit Ref</em>'. - * @generated - */ - PersistenceUnitRef createPersistenceUnitRef(); - - /** - * Returns a new object of class '<em>Port Component Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Port Component Ref</em>'. - * @generated - */ - PortComponentRef createPortComponentRef(); - - /** - * Returns a new object of class '<em>Property Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Property Type</em>'. - * @generated - */ - PropertyType createPropertyType(); - - /** - * Returns a new object of class '<em>Resource Env Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Resource Env Ref</em>'. - * @generated - */ - ResourceEnvRef createResourceEnvRef(); - - /** - * Returns a new object of class '<em>Resource Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Resource Ref</em>'. - * @generated - */ - ResourceRef createResourceRef(); - - /** - * Returns a new object of class '<em>Respect Binding Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Respect Binding Type</em>'. - * @generated - */ - RespectBindingType createRespectBindingType(); - - /** - * Returns a new object of class '<em>Run As</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Run As</em>'. - * @generated - */ - RunAs createRunAs(); - - /** - * Returns a new object of class '<em>Security Role</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Security Role</em>'. - * @generated - */ - SecurityRole createSecurityRole(); - - /** - * Returns a new object of class '<em>Security Role Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Security Role Ref</em>'. - * @generated - */ - SecurityRoleRef createSecurityRoleRef(); - - /** - * Returns a new object of class '<em>Service Ref</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Service Ref</em>'. - * @generated - */ - ServiceRef createServiceRef(); - - /** - * Returns a new object of class '<em>Service Ref Handler</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Service Ref Handler</em>'. - * @generated - */ - ServiceRefHandler createServiceRefHandler(); - - /** - * Returns a new object of class '<em>Service Ref Handler Chain</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Service Ref Handler Chain</em>'. - * @generated - */ - ServiceRefHandlerChain createServiceRefHandlerChain(); - - /** - * Returns a new object of class '<em>Service Ref Handler Chains</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Service Ref Handler Chains</em>'. - * @generated - */ - ServiceRefHandlerChains createServiceRefHandlerChains(); - - /** - * Returns a new object of class '<em>Url Pattern Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Url Pattern Type</em>'. - * @generated - */ - UrlPatternType createUrlPatternType(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - JavaeePackage getJavaeePackage(); - -} //JavaeeFactory diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/LifecycleCallback.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/LifecycleCallback.java deleted file mode 100644 index 1edb61573..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/LifecycleCallback.java +++ /dev/null @@ -1,100 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Lifecycle Callback</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The lifecycle-callback type specifies a method on a - * class to be called when a lifecycle event occurs. - * Note that each class may have only one lifecycle callback - * method for any given event and that the method may not - * be overloaded. - * - * If the lifefycle-callback-class element is missing then - * the class defining the callback is assumed to be the - * component class in scope at the place in the descriptor - * in which the callback definition appears. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackClass <em>Lifecycle Callback Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackMethod <em>Lifecycle Callback Method</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getLifecycleCallback() - * @extends JavaEEObject - * @generated - */ -public interface LifecycleCallback extends JavaEEObject { - /** - * Returns the value of the '<em><b>Lifecycle Callback Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Lifecycle Callback Class</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Lifecycle Callback Class</em>' attribute. - * @see #setLifecycleCallbackClass(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getLifecycleCallback_LifecycleCallbackClass() - * @generated - */ - String getLifecycleCallbackClass(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackClass <em>Lifecycle Callback Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lifecycle Callback Class</em>' attribute. - * @see #getLifecycleCallbackClass() - * @generated - */ - void setLifecycleCallbackClass(String value); - - /** - * Returns the value of the '<em><b>Lifecycle Callback Method</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Lifecycle Callback 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>Lifecycle Callback Method</em>' attribute. - * @see #setLifecycleCallbackMethod(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getLifecycleCallback_LifecycleCallbackMethod() - * @generated - */ - String getLifecycleCallbackMethod(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackMethod <em>Lifecycle Callback Method</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lifecycle Callback Method</em>' attribute. - * @see #getLifecycleCallbackMethod() - * @generated - */ - void setLifecycleCallbackMethod(String value); - -} // LifecycleCallback
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Listener.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Listener.java deleted file mode 100644 index 29d69c163..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/Listener.java +++ /dev/null @@ -1,148 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Listener</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The listenerType indicates the deployment properties for a web - * application listener bean. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.Listener#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Listener#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Listener#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Listener#getListenerClass <em>Listener Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.Listener#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener() - * @extends JavaEEObject - * @generated - */ -public interface Listener extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Display Names</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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.javaee.core.internal.metadata.JavaeePackage#getListener_DisplayNames() - * @generated - */ - List<DisplayName> getDisplayNames(); - - /** - * Returns the value of the '<em><b>Icons</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.Icon}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Icons</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>Icons</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Icons() - * @generated - */ - List<Icon> getIcons(); - - /** - * Returns the value of the '<em><b>Listener Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The listener-class element declares a class in the - * application must be registered as a web - * application listener bean. The value is the fully - * qualified classname of the listener class. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Listener Class</em>' attribute. - * @see #setListenerClass(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_ListenerClass() - * @generated - */ - String getListenerClass(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Listener#getListenerClass <em>Listener Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Listener Class</em>' attribute. - * @see #getListenerClass() - * @generated - */ - void setListenerClass(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getListener_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.Listener#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // Listener
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestination.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestination.java deleted file mode 100644 index 6b1c686b3..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestination.java +++ /dev/null @@ -1,243 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Message Destination</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The message-destinationType specifies a message - * destination. The logical destination described by this - * element is mapped to a physical destination by the Deployer. - * - * The message destination element contains: - * - * - an optional description - * - an optional display-name - * - an optional icon - * - a message destination name which must be unique - * among message destination names within the same - * Deployment File. - * - an optional mapped name - * - an optional lookup name - * - * Example: - * - * <message-destination> - * <message-destination-name>CorporateStocks - * </message-destination-name> - * </message-destination> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getMessageDestinationName <em>Message Destination Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestination#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination() - * @extends JavaEEObject - * @generated - */ -public interface MessageDestination extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Display Names</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_DisplayNames() - * @generated - */ - List<DisplayName> getDisplayNames(); - - /** - * Returns the value of the '<em><b>Icons</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.Icon}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Icons</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>Icons</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Icons() - * @generated - */ - List<Icon> getIcons(); - - /** - * Returns the value of the '<em><b>Message Destination Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The message-destination-name element specifies a - * name for a message destination. This name must be - * unique among the names of message destinations - * within the Deployment File. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Message Destination Name</em>' attribute. - * @see #setMessageDestinationName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_MessageDestinationName() - * @generated - */ - String getMessageDestinationName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestination#getMessageDestinationName <em>Message Destination Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message Destination Name</em>' attribute. - * @see #getMessageDestinationName() - * @generated - */ - void setMessageDestinationName(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this message destination - * should be mapped to. Each message-destination-ref - * element that references this message destination will - * define a name in the namespace of the referencing - * component or in one of the other predefined namespaces. - * Many application servers provide a way to map these - * local names to names of resources known to the - * application server. This mapped name is often a global - * JNDI name, but may be a name of any form. Each of the - * local names should be mapped to this same global name. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestination#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve the message destination. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestination#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestination_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestination#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // MessageDestination
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java deleted file mode 100644 index 811344e45..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationRef.java +++ /dev/null @@ -1,346 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Message Destination Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The message-destination-ref element contains a declaration - * of Deployment Component's reference to a message destination - * associated with a resource in Deployment Component's - * environment. It consists of: - * - * - an optional description - * - the message destination reference name - * - an optional message destination type - * - an optional specification as to whether - * the destination is used for - * consuming or producing messages, or both. - * if not specified, "both" is assumed. - * - an optional link to the message destination - * - optional injection targets - * - * The message destination type must be supplied unless an - * injection target is specified, in which case the type - * of the target is used. If both are specified, the type - * must be assignment compatible with the type of the injection - * target. - * - * Examples: - * - * <message-destination-ref> - * <message-destination-ref-name>jms/StockQueue - * </message-destination-ref-name> - * <message-destination-type>javax.jms.Queue - * </message-destination-type> - * <message-destination-usage>Consumes - * </message-destination-usage> - * <message-destination-link>CorporateStocks - * </message-destination-link> - * </message-destination-ref> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationRefName <em>Message Destination Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationType <em>Message Destination Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationUsage <em>Message Destination Usage</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationLink <em>Message Destination Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef() - * @extends JavaEEObject - * @generated - */ -public interface MessageDestinationRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Message Destination Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The message-destination-ref-name element specifies - * the name of a message destination reference; its - * value is the environment entry name used in - * Deployment Component code. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Message Destination Ref Name</em>' attribute. - * @see #setMessageDestinationRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_MessageDestinationRefName() - * @generated - */ - String getMessageDestinationRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationRefName <em>Message Destination Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message Destination Ref Name</em>' attribute. - * @see #getMessageDestinationRefName() - * @generated - */ - void setMessageDestinationRefName(String value); - - /** - * Returns the value of the '<em><b>Message Destination Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Message Destination Type</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Message Destination Type</em>' attribute. - * @see #setMessageDestinationType(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_MessageDestinationType() - * @generated - */ - String getMessageDestinationType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationType <em>Message Destination Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message Destination Type</em>' attribute. - * @see #getMessageDestinationType() - * @generated - */ - void setMessageDestinationType(String value); - - /** - * Returns the value of the '<em><b>Message Destination Usage</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.MessageDestinationUsageType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Message Destination Usage</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Message Destination Usage</em>' attribute. - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @see #isSetMessageDestinationUsage() - * @see #unsetMessageDestinationUsage() - * @see #setMessageDestinationUsage(MessageDestinationUsageType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_MessageDestinationUsage() - * @generated - */ - MessageDestinationUsageType getMessageDestinationUsage(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationUsage <em>Message Destination Usage</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message Destination Usage</em>' attribute. - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @see #isSetMessageDestinationUsage() - * @see #unsetMessageDestinationUsage() - * @see #getMessageDestinationUsage() - * @generated - */ - void setMessageDestinationUsage(MessageDestinationUsageType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationUsage <em>Message Destination Usage</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetMessageDestinationUsage() - * @see #getMessageDestinationUsage() - * @see #setMessageDestinationUsage(MessageDestinationUsageType) - * @generated - */ - void unsetMessageDestinationUsage(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationUsage <em>Message Destination Usage</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Message Destination Usage</em>' attribute is set. - * @see #unsetMessageDestinationUsage() - * @see #getMessageDestinationUsage() - * @see #setMessageDestinationUsage(MessageDestinationUsageType) - * @generated - */ - boolean isSetMessageDestinationUsage(); - - /** - * Returns the value of the '<em><b>Message Destination Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Message Destination Link</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Message Destination Link</em>' attribute. - * @see #setMessageDestinationLink(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_MessageDestinationLink() - * @generated - */ - String getMessageDestinationLink(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationLink <em>Message Destination Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Message Destination Link</em>' attribute. - * @see #getMessageDestinationLink() - * @generated - */ - void setMessageDestinationLink(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // MessageDestinationRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationUsageType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationUsageType.java deleted file mode 100644 index 73ad47c44..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/MessageDestinationUsageType.java +++ /dev/null @@ -1,255 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Message Destination Usage Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The message-destination-usageType specifies the use of the - * message destination indicated by the reference. The value - * indicates whether messages are consumed from the message - * destination, produced for the destination, or both. The - * Assembler makes use of this information in linking producers - * of a destination with its consumers. - * - * The value of the message-destination-usage element must be - * one of the following: - * Consumes - * Produces - * ConsumesProduces - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getMessageDestinationUsageType() - * @generated - */ -public enum MessageDestinationUsageType implements Enumerator -{ - /** - * The '<em><b>Consumes</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #CONSUMES - * @generated - * @ordered - */ - CONSUMES_LITERAL(0, "Consumes", "Consumes"), //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Produces</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PRODUCES - * @generated - * @ordered - */ - PRODUCES_LITERAL(1, "Produces", "Produces"), //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Consumes Produces</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #CONSUMES_PRODUCES - * @generated - * @ordered - */ - CONSUMES_PRODUCES_LITERAL(2, "ConsumesProduces", "ConsumesProduces"); //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Consumes</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Consumes</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #CONSUMES_LITERAL - * @generated - * @ordered - */ - public static final int CONSUMES = 0; - - /** - * The '<em><b>Produces</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Produces</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PRODUCES_LITERAL - * @generated - * @ordered - */ - public static final int PRODUCES = 1; - - /** - * The '<em><b>Consumes Produces</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Consumes Produces</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #CONSUMES_PRODUCES_LITERAL - * @generated - * @ordered - */ - public static final int CONSUMES_PRODUCES = 2; - - /** - * An array of all the '<em><b>Message Destination Usage Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final MessageDestinationUsageType[] VALUES_ARRAY = - new MessageDestinationUsageType[] { - CONSUMES_LITERAL, - PRODUCES_LITERAL, - CONSUMES_PRODUCES_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Message Destination Usage Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<MessageDestinationUsageType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Message Destination Usage Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static MessageDestinationUsageType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - MessageDestinationUsageType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Message Destination Usage Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static MessageDestinationUsageType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - MessageDestinationUsageType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Message Destination Usage Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static MessageDestinationUsageType get(int value) { - switch (value) { - case CONSUMES: return CONSUMES_LITERAL; - case PRODUCES: return PRODUCES_LITERAL; - case CONSUMES_PRODUCES: return CONSUMES_PRODUCES_LITERAL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private MessageDestinationUsageType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ParamValue.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ParamValue.java deleted file mode 100644 index 69332af9b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ParamValue.java +++ /dev/null @@ -1,145 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Param Value</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * This type is a general type that can be used to declare - * parameter/value lists. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ParamValue#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ParamValue#getParamName <em>Param Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ParamValue#getParamValue <em>Param Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ParamValue#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue() - * @extends JavaEEObject - * @generated - */ -public interface ParamValue extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Param Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The param-name element contains the name of a - * parameter. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Param Name</em>' attribute. - * @see #setParamName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue_ParamName() - * @generated - */ - String getParamName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ParamValue#getParamName <em>Param Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Param Name</em>' attribute. - * @see #getParamName() - * @generated - */ - void setParamName(String value); - - /** - * Returns the value of the '<em><b>Param Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The param-value element contains the value of a - * parameter. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Param Value</em>' attribute. - * @see #setParamValue(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue_ParamValue() - * @generated - */ - String getParamValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ParamValue#getParamValue <em>Param Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Param Value</em>' attribute. - * @see #getParamValue() - * @generated - */ - void setParamValue(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getParamValue_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ParamValue#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // ParamValue
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java deleted file mode 100644 index 2063ed59d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextRef.java +++ /dev/null @@ -1,328 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Persistence Context Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The persistence-context-ref element contains a declaration - * of Deployment Component's reference to a persistence context - * associated within a Deployment Component's - * environment. It consists of: - * - * - an optional description - * - the persistence context reference name - * - an optional persistence unit name. If not specified, - * the default persistence unit is assumed. - * - an optional specification as to whether - * the persistence context type is Transaction or - * Extended. If not specified, Transaction is assumed. - * - an optional list of persistence properties - * - optional injection targets - * - * Examples: - * - * <persistence-context-ref> - * <persistence-context-ref-name>myPersistenceContext - * </persistence-context-ref-name> - * </persistence-context-ref> - * - * <persistence-context-ref> - * <persistence-context-ref-name>myPersistenceContext - * </persistence-context-ref-name> - * <persistence-unit-name>PersistenceUnit1 - * </persistence-unit-name> - * <persistence-context-type>Extended</persistence-context-type> - * </persistence-context-ref> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextRefName <em>Persistence Context Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceUnitName <em>Persistence Unit Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextType <em>Persistence Context Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceProperties <em>Persistence Properties</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef() - * @extends JavaEEObject - * @generated - */ -public interface PersistenceContextRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Persistence Context Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The persistence-context-ref-name element specifies - * the name of a persistence context reference; its - * value is the environment entry name used in - * Deployment Component code. The name is a JNDI name - * relative to the java:comp/env context. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Persistence Context Ref Name</em>' attribute. - * @see #setPersistenceContextRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_PersistenceContextRefName() - * @generated - */ - String getPersistenceContextRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextRefName <em>Persistence Context Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Persistence Context Ref Name</em>' attribute. - * @see #getPersistenceContextRefName() - * @generated - */ - void setPersistenceContextRefName(String value); - - /** - * Returns the value of the '<em><b>Persistence Unit Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The Application Assembler(or BeanProvider) may use the - * following syntax to avoid the need to rename persistence - * units to have unique names within a Java EE application. - * - * The Application Assembler specifies the pathname of the - * root of the persistence.xml file for the referenced - * persistence unit and appends the name of the persistence - * unit separated from the pathname by #. The pathname is - * relative to the referencing application component jar file. - * In this manner, multiple persistence units with the same - * persistence unit name may be uniquely identified when the - * Application Assembler cannot change persistence unit names. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Persistence Unit Name</em>' attribute. - * @see #setPersistenceUnitName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_PersistenceUnitName() - * @generated - */ - String getPersistenceUnitName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceUnitName <em>Persistence Unit Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Persistence Unit Name</em>' attribute. - * @see #getPersistenceUnitName() - * @generated - */ - void setPersistenceUnitName(String value); - - /** - * Returns the value of the '<em><b>Persistence Context Type</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.PersistenceContextType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Persistence Context Type</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Persistence Context Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @see #isSetPersistenceContextType() - * @see #unsetPersistenceContextType() - * @see #setPersistenceContextType(PersistenceContextType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_PersistenceContextType() - * @generated - */ - PersistenceContextType getPersistenceContextType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextType <em>Persistence Context Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Persistence Context Type</em>' attribute. - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @see #isSetPersistenceContextType() - * @see #unsetPersistenceContextType() - * @see #getPersistenceContextType() - * @generated - */ - void setPersistenceContextType(PersistenceContextType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextType <em>Persistence Context Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetPersistenceContextType() - * @see #getPersistenceContextType() - * @see #setPersistenceContextType(PersistenceContextType) - * @generated - */ - void unsetPersistenceContextType(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextType <em>Persistence Context Type</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Persistence Context Type</em>' attribute is set. - * @see #unsetPersistenceContextType() - * @see #getPersistenceContextType() - * @see #setPersistenceContextType(PersistenceContextType) - * @generated - */ - boolean isSetPersistenceContextType(); - - /** - * Returns the value of the '<em><b>Persistence Properties</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.PropertyType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Used to specify properties for the container or persistence - * provider. Vendor-specific properties may be included in - * the set of properties. Properties that are not recognized - * by a vendor must be ignored. Entries that make use of the - * namespace javax.persistence and its subnamespaces must not - * be used for vendor-specific properties. The namespace - * javax.persistence is reserved for use by the specification. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Persistence Properties</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_PersistenceProperties() - * @generated - */ - List<PropertyType> getPersistenceProperties(); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // PersistenceContextRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextType.java deleted file mode 100644 index edcd61241..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceContextType.java +++ /dev/null @@ -1,225 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Persistence Context Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The persistence-context-typeType specifies the transactional - * nature of a persistence context reference. - * - * The value of the persistence-context-type element must be - * one of the following: - * Transaction - * Extended - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceContextType() - * @generated - */ -public enum PersistenceContextType implements Enumerator -{ - /** - * The '<em><b>Transaction</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #TRANSACTION - * @generated - * @ordered - */ - TRANSACTION_LITERAL(0, "Transaction", "Transaction"), //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Extended</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #EXTENDED - * @generated - * @ordered - */ - EXTENDED_LITERAL(1, "Extended", "Extended"); //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Transaction</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Transaction</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TRANSACTION_LITERAL - * @generated - * @ordered - */ - public static final int TRANSACTION = 0; - - /** - * The '<em><b>Extended</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Extended</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #EXTENDED_LITERAL - * @generated - * @ordered - */ - public static final int EXTENDED = 1; - - /** - * An array of all the '<em><b>Persistence Context Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final PersistenceContextType[] VALUES_ARRAY = - new PersistenceContextType[] { - TRANSACTION_LITERAL, - EXTENDED_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Persistence Context Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<PersistenceContextType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Persistence Context Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PersistenceContextType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - PersistenceContextType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Persistence Context Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PersistenceContextType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - PersistenceContextType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Persistence Context Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PersistenceContextType get(int value) { - switch (value) { - case TRANSACTION: return TRANSACTION_LITERAL; - case EXTENDED: return EXTENDED_LITERAL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private PersistenceContextType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java deleted file mode 100644 index c94ded108..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PersistenceUnitRef.java +++ /dev/null @@ -1,241 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Persistence Unit Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The persistence-unit-ref element contains a declaration - * of Deployment Component's reference to a persistence unit - * associated within a Deployment Component's - * environment. It consists of: - * - * - an optional description - * - the persistence unit reference name - * - an optional persistence unit name. If not specified, - * the default persistence unit is assumed. - * - optional injection targets - * - * Examples: - * - * <persistence-unit-ref> - * <persistence-unit-ref-name>myPersistenceUnit - * </persistence-unit-ref-name> - * </persistence-unit-ref> - * - * <persistence-unit-ref> - * <persistence-unit-ref-name>myPersistenceUnit - * </persistence-unit-ref-name> - * <persistence-unit-name>PersistenceUnit1 - * </persistence-unit-name> - * </persistence-unit-ref> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitRefName <em>Persistence Unit Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName <em>Persistence Unit Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef() - * @extends JavaEEObject - * @generated - */ -public interface PersistenceUnitRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Persistence Unit Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The persistence-unit-ref-name element specifies - * the name of a persistence unit reference; its - * value is the environment entry name used in - * Deployment Component code. The name is a JNDI name - * relative to the java:comp/env context. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Persistence Unit Ref Name</em>' attribute. - * @see #setPersistenceUnitRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_PersistenceUnitRefName() - * @generated - */ - String getPersistenceUnitRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitRefName <em>Persistence Unit Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Persistence Unit Ref Name</em>' attribute. - * @see #getPersistenceUnitRefName() - * @generated - */ - void setPersistenceUnitRefName(String value); - - /** - * Returns the value of the '<em><b>Persistence Unit Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The Application Assembler(or BeanProvider) may use the - * following syntax to avoid the need to rename persistence - * units to have unique names within a Java EE application. - * - * The Application Assembler specifies the pathname of the - * root of the persistence.xml file for the referenced - * persistence unit and appends the name of the persistence - * unit separated from the pathname by #. The pathname is - * relative to the referencing application component jar file. - * In this manner, multiple persistence units with the same - * persistence unit name may be uniquely identified when the - * Application Assembler cannot change persistence unit names. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Persistence Unit Name</em>' attribute. - * @see #setPersistenceUnitName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_PersistenceUnitName() - * @generated - */ - String getPersistenceUnitName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName <em>Persistence Unit Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Persistence Unit Name</em>' attribute. - * @see #getPersistenceUnitName() - * @generated - */ - void setPersistenceUnitName(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPersistenceUnitRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // PersistenceUnitRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PortComponentRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PortComponentRef.java deleted file mode 100644 index 4e4d2da5e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PortComponentRef.java +++ /dev/null @@ -1,306 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.math.BigInteger; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Port Component Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The port-component-ref element declares a client dependency - * on the container for resolving a Service Endpoint Interface - * to a WSDL port. It optionally associates the Service Endpoint - * Interface with a particular port-component. This is only used - * by the container for a Service.getPort(Class) method call. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold <em>Mtom Threshold</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getAddressing <em>Addressing</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding <em>Respect Binding</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PortComponentRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef() - * @extends JavaEEObject - * @generated - */ -public interface PortComponentRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Service Endpoint Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The service-endpoint-interface element defines a fully qualified - * Java class that represents the Service Endpoint Interface of a - * WSDL port. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Service Endpoint Interface</em>' attribute. - * @see #setServiceEndpointInterface(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_ServiceEndpointInterface() - * @generated - */ - String getServiceEndpointInterface(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service Endpoint Interface</em>' attribute. - * @see #getServiceEndpointInterface() - * @generated - */ - void setServiceEndpointInterface(String value); - - /** - * Returns the value of the '<em><b>Enable Mtom</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Used to enable or disable SOAP MTOM/XOP mechanism on the client - * side for a port-component. - * - * Not to be specified for JAX-RPC runtime - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Enable Mtom</em>' attribute. - * @see #isSetEnableMtom() - * @see #unsetEnableMtom() - * @see #setEnableMtom(boolean) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_EnableMtom() - * @generated - */ - boolean isEnableMtom(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Enable Mtom</em>' attribute. - * @see #isSetEnableMtom() - * @see #unsetEnableMtom() - * @see #isEnableMtom() - * @generated - */ - void setEnableMtom(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetEnableMtom() - * @see #isEnableMtom() - * @see #setEnableMtom(boolean) - * @generated - */ - void unsetEnableMtom(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Enable Mtom</em>' attribute is set. - * @see #unsetEnableMtom() - * @see #isEnableMtom() - * @see #setEnableMtom(boolean) - * @generated - */ - boolean isSetEnableMtom(); - - /** - * Returns the value of the '<em><b>Mtom Threshold</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * When MTOM is enabled, binary data above this size in bytes - * should be XOP encoded or sent as attachment. Default value is 0. - * - * Not to be specified for JAX-RPC runtime - * - * @since Java EE 6, Web Services Client 1.3 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mtom Threshold</em>' attribute. - * @see #setMtomThreshold(BigInteger) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_MtomThreshold() - * @generated - */ - BigInteger getMtomThreshold(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold <em>Mtom Threshold</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mtom Threshold</em>' attribute. - * @see #getMtomThreshold() - * @generated - */ - void setMtomThreshold(BigInteger value); - - /** - * Returns the value of the '<em><b>Addressing</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * This specifies the WS-Addressing requirements for a JAX-WS - * web service. It corresponds to javax.xml.ws.soap.Addressing - * annotation or its feature javax.xml.ws.soap.AddressingFeature. - * - * See the addressingType for more information. - * - * Not to be specified for JAX-RPC runtime - * - * @since Java EE 6, Web Services Client 1.3 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Addressing</em>' containment reference. - * @see #setAddressing(AddressingType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_Addressing() - * @generated - */ - AddressingType getAddressing(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getAddressing <em>Addressing</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Addressing</em>' containment reference. - * @see #getAddressing() - * @generated - */ - void setAddressing(AddressingType value); - - /** - * Returns the value of the '<em><b>Respect Binding</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Corresponds to the javax.xml.ws.RespectBinding annotation - * or its corresponding javax.xml.ws.RespectBindingFeature web - * service feature. This is used to control whether a JAX-WS - * implementation must respect/honor the contents of the - * wsdl:binding in the WSDL that is associated with the service. - * - * Not to be specified for JAX-RPC runtime - * - * @since Java EE 6, Web Services Client 1.3 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Respect Binding</em>' containment reference. - * @see #setRespectBinding(RespectBindingType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_RespectBinding() - * @generated - */ - RespectBindingType getRespectBinding(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding <em>Respect Binding</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Respect Binding</em>' containment reference. - * @see #getRespectBinding() - * @generated - */ - void setRespectBinding(RespectBindingType value); - - /** - * Returns the value of the '<em><b>Port Component Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The port-component-link element links a port-component-ref - * to a specific port-component required to be made available - * by a service reference. - * - * The value of a port-component-link must be the - * port-component-name of a port-component in the same module - * or another module in the same application unit. The syntax - * for specification follows the syntax defined for ejb-link - * in the EJB 2.0 specification. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Port Component Link</em>' attribute. - * @see #setPortComponentLink(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_PortComponentLink() - * @generated - */ - String getPortComponentLink(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Port Component Link</em>' attribute. - * @see #getPortComponentLink() - * @generated - */ - void setPortComponentLink(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPortComponentRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PortComponentRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // PortComponentRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PropertyType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PropertyType.java deleted file mode 100644 index 905ec7888..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/PropertyType.java +++ /dev/null @@ -1,117 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Property Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * Specifies a name/value pair. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.PropertyType#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PropertyType#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.PropertyType#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPropertyType() - * @extends JavaEEObject - * @generated - */ -public interface PropertyType extends JavaEEObject { - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPropertyType_Name() - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PropertyType#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); - - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPropertyType_Value() - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PropertyType#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getPropertyType_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.PropertyType#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // PropertyType
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResAuthType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResAuthType.java deleted file mode 100644 index ed6779ebb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResAuthType.java +++ /dev/null @@ -1,229 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Res Auth Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The res-authType specifies whether the Deployment Component - * code signs on programmatically to the resource manager, or - * whether the Container will sign on to the resource manager - * on behalf of the Deployment Component. In the latter case, - * the Container uses information that is supplied by the - * Deployer. - * - * The value must be one of the two following: - * - * Application - * Container - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResAuthType() - * @generated - */ -public enum ResAuthType implements Enumerator -{ - /** - * The '<em><b>Application</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #APPLICATION - * @generated - * @ordered - */ - APPLICATION_LITERAL(0, "Application", "Application"), //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Container</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #CONTAINER - * @generated - * @ordered - */ - CONTAINER_LITERAL(1, "Container", "Container"); //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Application</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Application</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #APPLICATION_LITERAL - * @generated - * @ordered - */ - public static final int APPLICATION = 0; - - /** - * The '<em><b>Container</b></em>' literal value. - * <!-- 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_LITERAL - * @generated - * @ordered - */ - public static final int CONTAINER = 1; - - /** - * An array of all the '<em><b>Res Auth Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final ResAuthType[] VALUES_ARRAY = - new ResAuthType[] { - APPLICATION_LITERAL, - CONTAINER_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Res Auth Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<ResAuthType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Res Auth Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ResAuthType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ResAuthType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Res Auth Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ResAuthType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ResAuthType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Res Auth Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ResAuthType get(int value) { - switch (value) { - case APPLICATION: return APPLICATION_LITERAL; - case CONTAINER: return CONTAINER_LITERAL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private ResAuthType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResSharingScopeType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResSharingScopeType.java deleted file mode 100644 index 3f1c417cc..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResSharingScopeType.java +++ /dev/null @@ -1,227 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Res Sharing Scope Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The res-sharing-scope type specifies whether connections - * obtained through the given resource manager connection - * factory reference can be shared. The value, if specified, - * must be one of the two following: - * - * Shareable - * Unshareable - * - * The default value is Shareable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResSharingScopeType() - * @generated - */ -public enum ResSharingScopeType implements Enumerator -{ - /** - * The '<em><b>Shareable</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SHAREABLE - * @generated - * @ordered - */ - SHAREABLE_LITERAL(0, "Shareable", "Shareable"), //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Unshareable</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #UNSHAREABLE - * @generated - * @ordered - */ - UNSHAREABLE_LITERAL(1, "Unshareable", "Unshareable"); //$NON-NLS-1$ //$NON-NLS-2$ - /** - * The '<em><b>Shareable</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Shareable</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SHAREABLE_LITERAL - * @generated - * @ordered - */ - public static final int SHAREABLE = 0; - - /** - * The '<em><b>Unshareable</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Unshareable</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #UNSHAREABLE_LITERAL - * @generated - * @ordered - */ - public static final int UNSHAREABLE = 1; - - /** - * An array of all the '<em><b>Res Sharing Scope Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final ResSharingScopeType[] VALUES_ARRAY = - new ResSharingScopeType[] { - SHAREABLE_LITERAL, - UNSHAREABLE_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Res Sharing Scope Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<ResSharingScopeType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Res Sharing Scope Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ResSharingScopeType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ResSharingScopeType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Res Sharing Scope Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ResSharingScopeType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - ResSharingScopeType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Res Sharing Scope Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ResSharingScopeType get(int value) { - switch (value) { - case SHAREABLE: return SHAREABLE_LITERAL; - case UNSHAREABLE: return UNSHAREABLE_LITERAL; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private ResSharingScopeType(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResourceEnvRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResourceEnvRef.java deleted file mode 100644 index 9c8e9fa85..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResourceEnvRef.java +++ /dev/null @@ -1,266 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Resource Env Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The resource-env-refType is used to define - * resource-env-ref elements. It contains a declaration of a - * Deployment Component's reference to an administered object - * associated with a resource in the Deployment Component's - * environment. It consists of an optional description, the - * resource environment reference name, and an optional - * indication of the resource environment reference type - * expected by the Deployment Component code. - * - * It also includes optional elements to define injection of - * the named resource into fields or JavaBeans properties. - * - * The resource environment type must be supplied unless an - * injection target is specified, in which case the type - * of the target is used. If both are specified, the type - * must be assignment compatible with the type of the injection - * target. - * - * Example: - * - * <resource-env-ref> - * <resource-env-ref-name>jms/StockQueue - * </resource-env-ref-name> - * <resource-env-ref-type>javax.jms.Queue - * </resource-env-ref-type> - * </resource-env-ref> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefName <em>Resource Env Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefType <em>Resource Env Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef() - * @extends JavaEEObject - * @generated - */ -public interface ResourceEnvRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Resource Env Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The resource-env-ref-name element specifies the name - * of a resource environment reference; its value is - * the environment entry name used in - * the Deployment Component code. The name is a JNDI - * name relative to the java:comp/env context and must - * be unique within a Deployment Component. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Resource Env Ref Name</em>' attribute. - * @see #setResourceEnvRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_ResourceEnvRefName() - * @generated - */ - String getResourceEnvRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefName <em>Resource Env Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Resource Env Ref Name</em>' attribute. - * @see #getResourceEnvRefName() - * @generated - */ - void setResourceEnvRefName(String value); - - /** - * Returns the value of the '<em><b>Resource Env Ref Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The resource-env-ref-type element specifies the type - * of a resource environment reference. It is the - * fully qualified name of a Java language class or - * interface. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Resource Env Ref Type</em>' attribute. - * @see #setResourceEnvRefType(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_ResourceEnvRefType() - * @generated - */ - String getResourceEnvRefType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefType <em>Resource Env Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Resource Env Ref Type</em>' attribute. - * @see #getResourceEnvRefType() - * @generated - */ - void setResourceEnvRefType(String value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceEnvRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // ResourceEnvRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResourceRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResourceRef.java deleted file mode 100644 index 87e299b08..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ResourceRef.java +++ /dev/null @@ -1,378 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Resource Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The resource-refType contains a declaration of a - * Deployment Component's reference to an external resource. It - * consists of an optional description, the resource manager - * connection factory reference name, an optional indication of - * the resource manager connection factory type expected by the - * Deployment Component code, an optional type of authentication - * (Application or Container), and an optional specification of - * the shareability of connections obtained from the resource - * (Shareable or Unshareable). - * - * It also includes optional elements to define injection of - * the named resource into fields or JavaBeans properties. - * - * The connection factory type must be supplied unless an - * injection target is specified, in which case the type - * of the target is used. If both are specified, the type - * must be assignment compatible with the type of the injection - * target. - * - * Example: - * - * <resource-ref> - * <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> - * <res-type>javax.sql.DataSource</res-type> - * <res-auth>Container</res-auth> - * <res-sharing-scope>Shareable</res-sharing-scope> - * </resource-ref> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getResRefName <em>Res Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getResType <em>Res Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getResAuth <em>Res Auth</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef() - * @extends JavaEEObject - * @generated - */ -public interface ResourceRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Res Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The res-ref-name element specifies the name of a - * resource manager connection factory reference. - * The name is a JNDI name relative to the - * java:comp/env context. - * The name must be unique within a Deployment File. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Res Ref Name</em>' attribute. - * @see #setResRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_ResRefName() - * @generated - */ - String getResRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResRefName <em>Res Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Res Ref Name</em>' attribute. - * @see #getResRefName() - * @generated - */ - void setResRefName(String value); - - /** - * Returns the value of the '<em><b>Res Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The res-type element specifies the type of the data - * source. The type is specified by the fully qualified - * Java language class or interface - * expected to be implemented by the data source. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Res Type</em>' attribute. - * @see #setResType(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_ResType() - * @generated - */ - String getResType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResType <em>Res Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Res Type</em>' attribute. - * @see #getResType() - * @generated - */ - void setResType(String value); - - /** - * Returns the value of the '<em><b>Res Auth</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.ResAuthType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Res Auth</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Res Auth</em>' attribute. - * @see org.eclipse.jst.javaee.core.ResAuthType - * @see #isSetResAuth() - * @see #unsetResAuth() - * @see #setResAuth(ResAuthType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_ResAuth() - * @generated - */ - ResAuthType getResAuth(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResAuth <em>Res Auth</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Res Auth</em>' attribute. - * @see org.eclipse.jst.javaee.core.ResAuthType - * @see #isSetResAuth() - * @see #unsetResAuth() - * @see #getResAuth() - * @generated - */ - void setResAuth(ResAuthType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResAuth <em>Res Auth</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetResAuth() - * @see #getResAuth() - * @see #setResAuth(ResAuthType) - * @generated - */ - void unsetResAuth(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResAuth <em>Res Auth</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Res Auth</em>' attribute is set. - * @see #unsetResAuth() - * @see #getResAuth() - * @see #setResAuth(ResAuthType) - * @generated - */ - boolean isSetResAuth(); - - /** - * Returns the value of the '<em><b>Res Sharing Scope</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.jst.javaee.core.ResSharingScopeType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Res Sharing Scope</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Res Sharing Scope</em>' attribute. - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @see #isSetResSharingScope() - * @see #unsetResSharingScope() - * @see #setResSharingScope(ResSharingScopeType) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_ResSharingScope() - * @generated - */ - ResSharingScopeType getResSharingScope(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Res Sharing Scope</em>' attribute. - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @see #isSetResSharingScope() - * @see #unsetResSharingScope() - * @see #getResSharingScope() - * @generated - */ - void setResSharingScope(ResSharingScopeType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetResSharingScope() - * @see #getResSharingScope() - * @see #setResSharingScope(ResSharingScopeType) - * @generated - */ - void unsetResSharingScope(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Res Sharing Scope</em>' attribute is set. - * @see #unsetResSharingScope() - * @see #getResSharingScope() - * @see #setResSharingScope(ResSharingScopeType) - * @generated - */ - boolean isSetResSharingScope(); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getResourceRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // ResourceRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/RespectBindingType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/RespectBindingType.java deleted file mode 100644 index 41dc42dff..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/RespectBindingType.java +++ /dev/null @@ -1,99 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Respect Binding Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * Corresponds to the javax.xml.ws.RespectBinding annotation - * or its corresponding javax.xml.ws.RespectBindingFeature web - * service feature. This is used to control whether a JAX-WS - * implementation must respect/honor the contents of the - * wsdl:binding in the WSDL that is associated with the service. - * - * If the "enabled" element is "true", wsdl:binding in the - * associated WSDL, if any, must be respected/honored. - * - * @since Java EE 6, Web Services Client 1.3 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRespectBindingType() - * @extends JavaEEObject - * @generated - */ -public interface RespectBindingType extends JavaEEObject { - /** - * Returns the value of the '<em><b>Enabled</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Enabled</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Enabled</em>' attribute. - * @see #isSetEnabled() - * @see #unsetEnabled() - * @see #setEnabled(boolean) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRespectBindingType_Enabled() - * @generated - */ - boolean isEnabled(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Enabled</em>' attribute. - * @see #isSetEnabled() - * @see #unsetEnabled() - * @see #isEnabled() - * @generated - */ - void setEnabled(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetEnabled() - * @see #isEnabled() - * @see #setEnabled(boolean) - * @generated - */ - void unsetEnabled(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Enabled</em>' attribute is set. - * @see #unsetEnabled() - * @see #isEnabled() - * @see #setEnabled(boolean) - * @generated - */ - boolean isSetEnabled(); - -} // RespectBindingType diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/RunAs.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/RunAs.java deleted file mode 100644 index 567d6482d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/RunAs.java +++ /dev/null @@ -1,110 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Run As</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The run-asType specifies the run-as identity to be - * used for the execution of a component. It contains an - * optional description, and the name of a security role. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.RunAs#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.RunAs#getRoleName <em>Role Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.RunAs#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRunAs() - * @extends JavaEEObject - * @generated - */ -public interface RunAs extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRunAs_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Role Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Role Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Role Name</em>' attribute. - * @see #setRoleName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRunAs_RoleName() - * @generated - */ - String getRoleName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.RunAs#getRoleName <em>Role Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Role Name</em>' attribute. - * @see #getRoleName() - * @generated - */ - void setRoleName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getRunAs_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.RunAs#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // RunAs
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/SecurityRole.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/SecurityRole.java deleted file mode 100644 index 90c3148e6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/SecurityRole.java +++ /dev/null @@ -1,121 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Security Role</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * <![CDATA[[ - * The security-roleType contains the definition of a security - * role. The definition consists of an optional description of - * the security role, and the security role name. - * - * Example: - * - * <security-role> - * <description> - * This role includes all employees who are authorized - * to access the employee service application. - * </description> - * <role-name>employee</role-name> - * </security-role> - * - * ]]> - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRole#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRole#getRoleName <em>Role Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRole#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRole() - * @extends JavaEEObject - * @generated - */ -public interface SecurityRole extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRole_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Role Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Role Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Role Name</em>' attribute. - * @see #setRoleName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRole_RoleName() - * @generated - */ - String getRoleName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.SecurityRole#getRoleName <em>Role Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Role Name</em>' attribute. - * @see #getRoleName() - * @generated - */ - void setRoleName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRole_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.SecurityRole#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // SecurityRole
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/SecurityRoleRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/SecurityRoleRef.java deleted file mode 100644 index 552c46d0f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/SecurityRoleRef.java +++ /dev/null @@ -1,154 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Security Role Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The security-role-refType contains the declaration of a - * security role reference in a component's or a - * Deployment Component's code. The declaration consists of an - * optional description, the security role name used in the - * code, and an optional link to a security role. If the - * security role is not specified, the Deployer must choose an - * appropriate security role. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleName <em>Role Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleLink <em>Role Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef() - * @extends JavaEEObject - * @generated - */ -public interface SecurityRoleRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Role Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The value of the role-name element must be the String used - * as the parameter to the - * EJBContext.isCallerInRole(String roleName) method or the - * HttpServletRequest.isUserInRole(String role) method. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Role Name</em>' attribute. - * @see #setRoleName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef_RoleName() - * @generated - */ - String getRoleName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleName <em>Role Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Role Name</em>' attribute. - * @see #getRoleName() - * @generated - */ - void setRoleName(String value); - - /** - * Returns the value of the '<em><b>Role Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The role-link element is a reference to a defined - * security role. The role-link element must contain - * the name of one of the security roles defined in the - * security-role elements. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Role Link</em>' attribute. - * @see #setRoleLink(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef_RoleLink() - * @generated - */ - String getRoleLink(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleLink <em>Role Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Role Link</em>' attribute. - * @see #getRoleLink() - * @generated - */ - void setRoleLink(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getSecurityRoleRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // SecurityRoleRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRef.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRef.java deleted file mode 100644 index a92062c7e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRef.java +++ /dev/null @@ -1,500 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; -import javax.xml.namespace.QName; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Service Ref</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The service-ref element declares a reference to a Web - * service. It contains optional description, display name and - * icons, a declaration of the required Service interface, - * an optional WSDL document location, an optional set - * of JAX-RPC mappings, an optional QName for the service element, - * an optional set of Service Endpoint Interfaces to be resolved - * by the container to a WSDL port, and an optional set of handlers. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceRefName <em>Service Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceInterface <em>Service Interface</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceRefType <em>Service Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getWsdlFile <em>Wsdl File</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getJaxrpcMappingFile <em>Jaxrpc Mapping File</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceQname <em>Service Qname</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getPortComponentRefs <em>Port Component Refs</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlers <em>Handlers</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlerChains <em>Handler Chains</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef() - * @extends JavaEEObject - * @generated - */ -public interface ServiceRef extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Display Names</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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.javaee.core.internal.metadata.JavaeePackage#getServiceRef_DisplayNames() - * @generated - */ - List<DisplayName> getDisplayNames(); - - /** - * Returns the value of the '<em><b>Icons</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.Icon}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Icons</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>Icons</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Icons() - * @generated - */ - List<Icon> getIcons(); - - /** - * Returns the value of the '<em><b>Service Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The service-ref-name element declares logical name that the - * components in the module use to look up the Web service. It - * is recommended that all service reference names start with - * "service/". - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Service Ref Name</em>' attribute. - * @see #setServiceRefName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_ServiceRefName() - * @generated - */ - String getServiceRefName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceRefName <em>Service Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service Ref Name</em>' attribute. - * @see #getServiceRefName() - * @generated - */ - void setServiceRefName(String value); - - /** - * Returns the value of the '<em><b>Service Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The service-interface element declares the fully qualified class - * name of the JAX-RPC Service interface the client depends on. - * In most cases the value will be javax.xml.rpc.Service. A JAX-RPC - * generated Service Interface class may also be specified. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Service Interface</em>' attribute. - * @see #setServiceInterface(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_ServiceInterface() - * @generated - */ - String getServiceInterface(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceInterface <em>Service Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service Interface</em>' attribute. - * @see #getServiceInterface() - * @generated - */ - void setServiceInterface(String value); - - /** - * Returns the value of the '<em><b>Service Ref Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The service-ref-type element declares the type of the service-ref - * element that is injected or returned when a JNDI lookup is done. - * This must be either a fully qualified name of Service class or - * the fully qualified name of service endpoint interface class. - * This is only used with JAX-WS runtime where the corresponding - * @WebServiceRef annotation can be used to denote both a Service - * or a Port. - * - * If this is not specified, then the type of service-ref element - * that is injected or returned when a JNDI lookup is done is - * always a Service interface/class. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Service Ref Type</em>' attribute. - * @see #setServiceRefType(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_ServiceRefType() - * @generated - */ - String getServiceRefType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceRefType <em>Service Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service Ref Type</em>' attribute. - * @see #getServiceRefType() - * @generated - */ - void setServiceRefType(String value); - - /** - * Returns the value of the '<em><b>Wsdl File</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The wsdl-file element contains the URI location of a WSDL - * file. The location is relative to the root of the module. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Wsdl File</em>' attribute. - * @see #setWsdlFile(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_WsdlFile() - * @generated - */ - String getWsdlFile(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getWsdlFile <em>Wsdl File</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Wsdl File</em>' attribute. - * @see #getWsdlFile() - * @generated - */ - void setWsdlFile(String value); - - /** - * Returns the value of the '<em><b>Jaxrpc Mapping File</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The jaxrpc-mapping-file element contains the name of a file that - * describes the JAX-RPC mapping between the Java interaces used by - * the application and the WSDL description in the wsdl-file. The - * file name is a relative path within the module file. - * - * This is not required when JAX-WS based runtime is used. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Jaxrpc Mapping File</em>' attribute. - * @see #setJaxrpcMappingFile(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_JaxrpcMappingFile() - * @generated - */ - String getJaxrpcMappingFile(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getJaxrpcMappingFile <em>Jaxrpc Mapping File</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Jaxrpc Mapping File</em>' attribute. - * @see #getJaxrpcMappingFile() - * @generated - */ - void setJaxrpcMappingFile(String value); - - /** - * Returns the value of the '<em><b>Service Qname</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The service-qname element declares the specific WSDL service - * element that is being refered to. It is not specified if no - * wsdl-file is declared. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Service Qname</em>' attribute. - * @see #setServiceQname(QName) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_ServiceQname() - * @generated - */ - QName getServiceQname(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceQname <em>Service Qname</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service Qname</em>' attribute. - * @see #getServiceQname() - * @generated - */ - void setServiceQname(QName value); - - /** - * Returns the value of the '<em><b>Port Component Refs</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.PortComponentRef}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The port-component-ref element declares a client dependency - * on the container for resolving a Service Endpoint Interface - * to a WSDL port. It optionally associates the Service Endpoint - * Interface with a particular port-component. This is only used - * by the container for a Service.getPort(Class) method call. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Port Component Refs</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_PortComponentRefs() - * @generated - */ - List<PortComponentRef> getPortComponentRefs(); - - /** - * Returns the value of the '<em><b>Handlers</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.ServiceRefHandler}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Declares the handler for a port-component. Handlers can - * access the init-param name/value pairs using the - * HandlerInfo interface. If port-name is not specified, the - * handler is assumed to be associated with all ports of the - * service. - * - * To be used with JAX-RPC based runtime only. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Handlers</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Handlers() - * @generated - */ - List<ServiceRefHandler> getHandlers(); - - /** - * Returns the value of the '<em><b>Handler Chains</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * To be used with JAX-WS based runtime only. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Handler Chains</em>' containment reference. - * @see #setHandlerChains(ServiceRefHandlerChains) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_HandlerChains() - * @generated - */ - ServiceRefHandlerChains getHandlerChains(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlerChains <em>Handler Chains</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Handler Chains</em>' containment reference. - * @see #getHandlerChains() - * @generated - */ - void setHandlerChains(ServiceRefHandlerChains value); - - /** - * Returns the value of the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A product specific name that this resource should be - * mapped to. The name of this resource, as defined by the - * resource's name element or defaulted, is a name that is - * local to the application component using the resource. - * (It's a name in the JNDI java:comp/env namespace.) Many - * application servers provide a way to map these local - * names to names of resources known to the application - * server. This mapped name is often a global JNDI name, - * but may be a name of any form. - * - * Application servers are not required to support any - * particular form or type of mapped name, nor the ability - * to use mapped names. The mapped name is - * product-dependent and often installation-dependent. No - * use of a mapped name is portable. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Mapped Name</em>' attribute. - * @see #setMappedName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_MappedName() - * @generated - */ - String getMappedName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getMappedName <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Mapped Name</em>' attribute. - * @see #getMappedName() - * @generated - */ - void setMappedName(String value); - - /** - * Returns the value of the '<em><b>Injection Targets</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.InjectionTarget}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Injection Targets</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>Injection Targets</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_InjectionTargets() - * @generated - */ - List<InjectionTarget> getInjectionTargets(); - - /** - * Returns the value of the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The JNDI name to be looked up to resolve a resource reference. - * - * @since Java EE 6 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Lookup Name</em>' attribute. - * @see #setLookupName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_LookupName() - * @generated - */ - String getLookupName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getLookupName <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lookup Name</em>' attribute. - * @see #getLookupName() - * @generated - */ - void setLookupName(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRef_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - - /** - * This method is provided for API compliance with the older Java EE 5 models - * @param newServiceQname - */ - void setServiceQname(Object newServiceQname); -} // ServiceRef
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandler.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandler.java deleted file mode 100644 index a744f3121..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandler.java +++ /dev/null @@ -1,272 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; -import javax.xml.namespace.QName; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Service Ref Handler</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * Declares the handler for a port-component, service-ref. Handlers can - * access the init-param name/value pairs using the HandlerInfo interface. - * - * Used in: port-component, service-ref - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerName <em>Handler Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerClass <em>Handler Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getInitParams <em>Init Params</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getSoapHeaders <em>Soap Headers</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getSoapRoles <em>Soap Roles</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getPortNames <em>Port Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler() - * @extends JavaEEObject - * @generated - */ -public interface ServiceRefHandler extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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 --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Display Names</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.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.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_DisplayNames() - * @generated - */ - List<DisplayName> getDisplayNames(); - - /** - * Returns the value of the '<em><b>Icons</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.Icon}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Icons</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>Icons</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Icons() - * @generated - */ - List<Icon> getIcons(); - - /** - * Returns the value of the '<em><b>Handler Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Defines the name of the handler. The name must be unique within the - * module. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Handler Name</em>' attribute. - * @see #setHandlerName(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_HandlerName() - * @generated - */ - String getHandlerName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerName <em>Handler Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Handler Name</em>' attribute. - * @see #getHandlerName() - * @generated - */ - void setHandlerName(String value); - - /** - * Returns the value of the '<em><b>Handler Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Defines a fully qualified class name for the handler implementation. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Handler Class</em>' attribute. - * @see #setHandlerClass(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_HandlerClass() - * @generated - */ - String getHandlerClass(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerClass <em>Handler Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Handler Class</em>' attribute. - * @see #getHandlerClass() - * @generated - */ - void setHandlerClass(String 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.javaee.core.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 --> - * <!-- begin-model-doc --> - * - * - * Not to be specified for JAX-WS runtime - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Init Params</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_InitParams() - * @generated - */ - List<ParamValue> getInitParams(); - - /** - * Returns the value of the '<em><b>Soap Headers</b></em>' attribute list. - * The list contents are of type {@link javax.xml.namespace.QName}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Defines the QName of a SOAP header that will be processed by the - * handler. - * - * Not to be specified for JAX-WS runtime - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Soap Headers</em>' attribute list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_SoapHeaders() - * @generated - */ - List<QName> getSoapHeaders(); - - /** - * Returns the value of the '<em><b>Soap Roles</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The soap-role element contains a SOAP actor definition that the - * Handler will play as a role. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Soap Roles</em>' attribute list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_SoapRoles() - * @generated - */ - List<String> getSoapRoles(); - - /** - * Returns the value of the '<em><b>Port Names</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The port-name element defines the WSDL port-name that a - * handler should be associated with. If port-name is not - * specified, the handler is assumed to be associated with - * all ports of the service. - * - * Not to be specified for JAX-WS runtime - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Port Names</em>' attribute list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_PortNames() - * @generated - */ - List<String> getPortNames(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandler_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // ServiceRefHandler
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChain.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChain.java deleted file mode 100644 index 1ff81a816..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChain.java +++ /dev/null @@ -1,169 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Service Ref Handler Chain</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The handler-chain element defines the handlerchain. - * Handlerchain can be defined such that the handlers in the - * handlerchain operate,all ports of a service, on a specific - * port or on a list of protocol-bindings. The choice of elements - * service-name-pattern, port-name-pattern and protocol-bindings - * are used to specify whether the handlers in handler-chain are - * for a service, port or protocol binding. If none of these - * choices are specified with the handler-chain element then the - * handlers specified in the handler-chain will be applied on - * everything. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getServiceNamePattern <em>Service Name Pattern</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getPortNamePattern <em>Port Name Pattern</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getProtocolBindings <em>Protocol Bindings</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getHandlers <em>Handlers</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain() - * @extends JavaEEObject - * @generated - */ -public interface ServiceRefHandlerChain extends JavaEEObject { - /** - * Returns the value of the '<em><b>Service Name Pattern</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Service Name Pattern</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Service Name Pattern</em>' attribute. - * @see #setServiceNamePattern(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_ServiceNamePattern() - * @generated - */ - String getServiceNamePattern(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getServiceNamePattern <em>Service Name Pattern</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Service Name Pattern</em>' attribute. - * @see #getServiceNamePattern() - * @generated - */ - void setServiceNamePattern(String value); - - /** - * Returns the value of the '<em><b>Port Name Pattern</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Port Name Pattern</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Port Name Pattern</em>' attribute. - * @see #setPortNamePattern(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_PortNamePattern() - * @generated - */ - String getPortNamePattern(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getPortNamePattern <em>Port Name Pattern</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Port Name Pattern</em>' attribute. - * @see #getPortNamePattern() - * @generated - */ - void setPortNamePattern(String value); - - /** - * Returns the value of the '<em><b>Protocol Bindings</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Protocol Bindings</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Protocol Bindings</em>' attribute. - * @see #setProtocolBindings(List) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_ProtocolBindings() - * @generated - */ - List<String> getProtocolBindings(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getProtocolBindings <em>Protocol Bindings</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Protocol Bindings</em>' attribute. - * @see #getProtocolBindings() - * @generated - */ - void setProtocolBindings(List<String> value); - - /** - * Returns the value of the '<em><b>Handlers</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.ServiceRefHandler}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Handlers</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>Handlers</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_Handlers() - * @generated - */ - List<ServiceRefHandler> getHandlers(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChain_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // ServiceRefHandlerChain
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChains.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChains.java deleted file mode 100644 index 316c18680..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/ServiceRefHandlerChains.java +++ /dev/null @@ -1,83 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - -import java.util.List; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Service Ref Handler Chains</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The handler-chains element defines the handlerchains associated with this - * service or service endpoint. - * - * @since Java EE 5, Web Services Client 1.2 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getHandlerChains <em>Handler Chains</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChains() - * @extends JavaEEObject - * @generated - */ -public interface ServiceRefHandlerChains extends JavaEEObject { - /** - * Returns the value of the '<em><b>Handler Chains</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Handler Chains</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>Handler Chains</em>' containment reference list. - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChains_HandlerChains() - * @generated - */ - List<ServiceRefHandlerChain> getHandlerChains(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getServiceRefHandlerChains_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // ServiceRefHandlerChains
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/UrlPatternType.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/UrlPatternType.java deleted file mode 100644 index 3b326019b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/UrlPatternType.java +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Url Pattern Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The url-patternType contains the url pattern of the mapping. - * It must follow the rules specified in Section 11.2 of the - * Servlet API Specification. This pattern is assumed to be in - * URL-decoded form and must not contain CR(#xD) or LF(#xA). - * If it contains those characters, the container must inform - * the developer with a descriptive error message. - * The container must preserve all characters including whitespaces. - * - * @since Java EE 5 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.UrlPatternType#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getUrlPatternType() - * @extends JavaEEObject - * @generated - */ -public interface UrlPatternType extends JavaEEObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#getUrlPatternType_Value() - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.core.UrlPatternType#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - -} // UrlPatternType
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/AddressingTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/AddressingTypeImpl.java deleted file mode 100644 index 0d8202b62..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/AddressingTypeImpl.java +++ /dev/null @@ -1,383 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.AddressingResponsesType; -import org.eclipse.jst.javaee.core.AddressingType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Addressing Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl#isEnabled <em>Enabled</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl#isRequired <em>Required</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl#getResponses <em>Responses</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class AddressingTypeImpl extends EObjectImpl implements AddressingType { - /** - * The default value of the '{@link #isEnabled() <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEnabled() - * @generated - * @ordered - */ - protected static final boolean ENABLED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isEnabled() <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEnabled() - * @generated - * @ordered - */ - protected boolean enabled = ENABLED_EDEFAULT; - - /** - * This is true if the Enabled attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean enabledESet; - - /** - * The default value of the '{@link #isRequired() <em>Required</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isRequired() - * @generated - * @ordered - */ - protected static final boolean REQUIRED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isRequired() - * @generated - * @ordered - */ - protected boolean required = REQUIRED_EDEFAULT; - - /** - * This is true if the Required attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean requiredESet; - - /** - * The default value of the '{@link #getResponses() <em>Responses</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResponses() - * @generated - * @ordered - */ - protected static final AddressingResponsesType RESPONSES_EDEFAULT = AddressingResponsesType.ANONYMOUS; - - /** - * The cached value of the '{@link #getResponses() <em>Responses</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResponses() - * @generated - * @ordered - */ - protected AddressingResponsesType responses = RESPONSES_EDEFAULT; - - /** - * This is true if the Responses attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean responsesESet; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AddressingTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.ADDRESSING_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isEnabled() { - return enabled; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnabled(boolean newEnabled) { - boolean oldEnabled = enabled; - enabled = newEnabled; - boolean oldEnabledESet = enabledESet; - enabledESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ADDRESSING_TYPE__ENABLED, oldEnabled, enabled, !oldEnabledESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetEnabled() { - boolean oldEnabled = enabled; - boolean oldEnabledESet = enabledESet; - enabled = ENABLED_EDEFAULT; - enabledESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ADDRESSING_TYPE__ENABLED, oldEnabled, ENABLED_EDEFAULT, oldEnabledESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetEnabled() { - return enabledESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isRequired() { - return required; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRequired(boolean newRequired) { - boolean oldRequired = required; - required = newRequired; - boolean oldRequiredESet = requiredESet; - requiredESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ADDRESSING_TYPE__REQUIRED, oldRequired, required, !oldRequiredESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetRequired() { - boolean oldRequired = required; - boolean oldRequiredESet = requiredESet; - required = REQUIRED_EDEFAULT; - requiredESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ADDRESSING_TYPE__REQUIRED, oldRequired, REQUIRED_EDEFAULT, oldRequiredESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetRequired() { - return requiredESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddressingResponsesType getResponses() { - return responses; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResponses(AddressingResponsesType newResponses) { - AddressingResponsesType oldResponses = responses; - responses = newResponses == null ? RESPONSES_EDEFAULT : newResponses; - boolean oldResponsesESet = responsesESet; - responsesESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ADDRESSING_TYPE__RESPONSES, oldResponses, responses, !oldResponsesESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetResponses() { - AddressingResponsesType oldResponses = responses; - boolean oldResponsesESet = responsesESet; - responses = RESPONSES_EDEFAULT; - responsesESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ADDRESSING_TYPE__RESPONSES, oldResponses, RESPONSES_EDEFAULT, oldResponsesESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetResponses() { - return responsesESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.ADDRESSING_TYPE__ENABLED: - return isEnabled(); - case JavaeePackage.ADDRESSING_TYPE__REQUIRED: - return isRequired(); - case JavaeePackage.ADDRESSING_TYPE__RESPONSES: - return getResponses(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.ADDRESSING_TYPE__ENABLED: - setEnabled((Boolean)newValue); - return; - case JavaeePackage.ADDRESSING_TYPE__REQUIRED: - setRequired((Boolean)newValue); - return; - case JavaeePackage.ADDRESSING_TYPE__RESPONSES: - setResponses((AddressingResponsesType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.ADDRESSING_TYPE__ENABLED: - unsetEnabled(); - return; - case JavaeePackage.ADDRESSING_TYPE__REQUIRED: - unsetRequired(); - return; - case JavaeePackage.ADDRESSING_TYPE__RESPONSES: - unsetResponses(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.ADDRESSING_TYPE__ENABLED: - return isSetEnabled(); - case JavaeePackage.ADDRESSING_TYPE__REQUIRED: - return isSetRequired(); - case JavaeePackage.ADDRESSING_TYPE__RESPONSES: - return isSetResponses(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (enabled: "); //$NON-NLS-1$ - if (enabledESet) result.append(enabled); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", required: "); //$NON-NLS-1$ - if (requiredESet) result.append(required); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", responses: "); //$NON-NLS-1$ - if (responsesESet) result.append(responses); else result.append("<unset>"); //$NON-NLS-1$ - result.append(')'); - return result.toString(); - } - -} //AddressingTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java deleted file mode 100644 index d97eb61d7..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DataSourceTypeImpl.java +++ /dev/null @@ -1,1234 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core.internal.impl; - -import java.math.BigInteger; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.DataSourceType; -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.IsolationLevelType; -import org.eclipse.jst.javaee.core.PropertyType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Data Source Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getClassName <em>Class Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getServerName <em>Server Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getPortNumber <em>Port Number</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getDatabaseName <em>Database Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getUrl <em>Url</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getUser <em>User</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getPassword <em>Password</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getProperty <em>Property</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getLoginTimeout <em>Login Timeout</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#isTransactional <em>Transactional</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getIsolationLevel <em>Isolation Level</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getInitialPoolSize <em>Initial Pool Size</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMaxPoolSize <em>Max Pool Size</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMinPoolSize <em>Min Pool Size</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMaxIdleTime <em>Max Idle Time</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getMaxStatements <em>Max Statements</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DataSourceTypeImpl extends EObjectImpl implements DataSourceType { - /** - * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescription() - * @generated - * @ordered - */ - protected Description description; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getClassName() <em>Class Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClassName() - * @generated - * @ordered - */ - protected String className = CLASS_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getServerName() <em>Server Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServerName() - * @generated - * @ordered - */ - protected static final String SERVER_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServerName() <em>Server Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServerName() - * @generated - * @ordered - */ - protected String serverName = SERVER_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPortNumber() <em>Port Number</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortNumber() - * @generated - * @ordered - */ - protected static final BigInteger PORT_NUMBER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPortNumber() <em>Port Number</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortNumber() - * @generated - * @ordered - */ - protected BigInteger portNumber = PORT_NUMBER_EDEFAULT; - - /** - * The default value of the '{@link #getDatabaseName() <em>Database Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDatabaseName() - * @generated - * @ordered - */ - protected static final String DATABASE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDatabaseName() <em>Database Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDatabaseName() - * @generated - * @ordered - */ - protected String databaseName = DATABASE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getUrl() <em>Url</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUrl() - * @generated - * @ordered - */ - protected static final String URL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUrl() <em>Url</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUrl() - * @generated - * @ordered - */ - protected String url = URL_EDEFAULT; - - /** - * The default value of the '{@link #getUser() <em>User</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUser() - * @generated - * @ordered - */ - protected static final String USER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getUser() <em>User</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUser() - * @generated - * @ordered - */ - protected String user = USER_EDEFAULT; - - /** - * The default value of the '{@link #getPassword() <em>Password</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPassword() - * @generated - * @ordered - */ - protected static final String PASSWORD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPassword() <em>Password</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPassword() - * @generated - * @ordered - */ - protected String password = PASSWORD_EDEFAULT; - - /** - * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getProperty() - * @generated - * @ordered - */ - protected EList<PropertyType> property; - - /** - * The default value of the '{@link #getLoginTimeout() <em>Login Timeout</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLoginTimeout() - * @generated - * @ordered - */ - protected static final BigInteger LOGIN_TIMEOUT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLoginTimeout() <em>Login Timeout</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLoginTimeout() - * @generated - * @ordered - */ - protected BigInteger loginTimeout = LOGIN_TIMEOUT_EDEFAULT; - - /** - * The default value of the '{@link #isTransactional() <em>Transactional</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isTransactional() - * @generated - * @ordered - */ - protected static final boolean TRANSACTIONAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTransactional() <em>Transactional</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isTransactional() - * @generated - * @ordered - */ - protected boolean transactional = TRANSACTIONAL_EDEFAULT; - - /** - * This is true if the Transactional attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean transactionalESet; - - /** - * The default value of the '{@link #getIsolationLevel() <em>Isolation Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIsolationLevel() - * @generated - * @ordered - */ - protected static final IsolationLevelType ISOLATION_LEVEL_EDEFAULT = IsolationLevelType.TRANSACTIONREADUNCOMMITTED; - - /** - * The cached value of the '{@link #getIsolationLevel() <em>Isolation Level</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIsolationLevel() - * @generated - * @ordered - */ - protected IsolationLevelType isolationLevel = ISOLATION_LEVEL_EDEFAULT; - - /** - * This is true if the Isolation Level attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean isolationLevelESet; - - /** - * The default value of the '{@link #getInitialPoolSize() <em>Initial Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitialPoolSize() - * @generated - * @ordered - */ - protected static final BigInteger INITIAL_POOL_SIZE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getInitialPoolSize() <em>Initial Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInitialPoolSize() - * @generated - * @ordered - */ - protected BigInteger initialPoolSize = INITIAL_POOL_SIZE_EDEFAULT; - - /** - * The default value of the '{@link #getMaxPoolSize() <em>Max Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMaxPoolSize() - * @generated - * @ordered - */ - protected static final BigInteger MAX_POOL_SIZE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMaxPoolSize() <em>Max Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMaxPoolSize() - * @generated - * @ordered - */ - protected BigInteger maxPoolSize = MAX_POOL_SIZE_EDEFAULT; - - /** - * The default value of the '{@link #getMinPoolSize() <em>Min Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMinPoolSize() - * @generated - * @ordered - */ - protected static final BigInteger MIN_POOL_SIZE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMinPoolSize() <em>Min Pool Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMinPoolSize() - * @generated - * @ordered - */ - protected BigInteger minPoolSize = MIN_POOL_SIZE_EDEFAULT; - - /** - * The default value of the '{@link #getMaxIdleTime() <em>Max Idle Time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMaxIdleTime() - * @generated - * @ordered - */ - protected static final BigInteger MAX_IDLE_TIME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMaxIdleTime() <em>Max Idle Time</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMaxIdleTime() - * @generated - * @ordered - */ - protected BigInteger maxIdleTime = MAX_IDLE_TIME_EDEFAULT; - - /** - * The default value of the '{@link #getMaxStatements() <em>Max Statements</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMaxStatements() - * @generated - * @ordered - */ - protected static final BigInteger MAX_STATEMENTS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMaxStatements() <em>Max Statements</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMaxStatements() - * @generated - * @ordered - */ - protected BigInteger maxStatements = MAX_STATEMENTS_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DataSourceTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.DATA_SOURCE_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Description getDescription() { - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) { - Description oldDescription = description; - description = newDescription; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, oldDescription, newDescription); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDescription(Description newDescription) { - if (newDescription != description) { - NotificationChain msgs = null; - if (description != null) - msgs = ((InternalEObject)description).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, null, msgs); - if (newDescription != null) - msgs = ((InternalEObject)newDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, null, msgs); - msgs = basicSetDescription(newDescription, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION, newDescription, newDescription)); - } - - /** - * <!-- 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, JavaeePackage.DATA_SOURCE_TYPE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getClassName() { - return className; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setClassName(String newClassName) { - String oldClassName = className; - className = newClassName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME, oldClassName, className)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServerName() { - return serverName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServerName(String newServerName) { - String oldServerName = serverName; - serverName = newServerName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME, oldServerName, serverName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getPortNumber() { - return portNumber; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPortNumber(BigInteger newPortNumber) { - BigInteger oldPortNumber = portNumber; - portNumber = newPortNumber; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER, oldPortNumber, portNumber)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDatabaseName() { - return databaseName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDatabaseName(String newDatabaseName) { - String oldDatabaseName = databaseName; - databaseName = newDatabaseName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME, oldDatabaseName, databaseName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getUrl() { - return url; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setUrl(String newUrl) { - String oldUrl = url; - url = newUrl; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__URL, oldUrl, url)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getUser() { - return user; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setUser(String newUser) { - String oldUser = user; - user = newUser; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__USER, oldUser, user)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPassword() { - return password; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPassword(String newPassword) { - String oldPassword = password; - password = newPassword; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__PASSWORD, oldPassword, password)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<PropertyType> getProperty() { - if (property == null) { - property = new EObjectContainmentEList<PropertyType>(PropertyType.class, this, JavaeePackage.DATA_SOURCE_TYPE__PROPERTY); - } - return property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getLoginTimeout() { - return loginTimeout; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLoginTimeout(BigInteger newLoginTimeout) { - BigInteger oldLoginTimeout = loginTimeout; - loginTimeout = newLoginTimeout; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT, oldLoginTimeout, loginTimeout)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isTransactional() { - return transactional; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTransactional(boolean newTransactional) { - boolean oldTransactional = transactional; - transactional = newTransactional; - boolean oldTransactionalESet = transactionalESet; - transactionalESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL, oldTransactional, transactional, !oldTransactionalESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetTransactional() { - boolean oldTransactional = transactional; - boolean oldTransactionalESet = transactionalESet; - transactional = TRANSACTIONAL_EDEFAULT; - transactionalESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL, oldTransactional, TRANSACTIONAL_EDEFAULT, oldTransactionalESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetTransactional() { - return transactionalESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IsolationLevelType getIsolationLevel() { - return isolationLevel; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIsolationLevel(IsolationLevelType newIsolationLevel) { - IsolationLevelType oldIsolationLevel = isolationLevel; - isolationLevel = newIsolationLevel == null ? ISOLATION_LEVEL_EDEFAULT : newIsolationLevel; - boolean oldIsolationLevelESet = isolationLevelESet; - isolationLevelESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL, oldIsolationLevel, isolationLevel, !oldIsolationLevelESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetIsolationLevel() { - IsolationLevelType oldIsolationLevel = isolationLevel; - boolean oldIsolationLevelESet = isolationLevelESet; - isolationLevel = ISOLATION_LEVEL_EDEFAULT; - isolationLevelESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL, oldIsolationLevel, ISOLATION_LEVEL_EDEFAULT, oldIsolationLevelESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetIsolationLevel() { - return isolationLevelESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getInitialPoolSize() { - return initialPoolSize; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInitialPoolSize(BigInteger newInitialPoolSize) { - BigInteger oldInitialPoolSize = initialPoolSize; - initialPoolSize = newInitialPoolSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE, oldInitialPoolSize, initialPoolSize)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getMaxPoolSize() { - return maxPoolSize; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMaxPoolSize(BigInteger newMaxPoolSize) { - BigInteger oldMaxPoolSize = maxPoolSize; - maxPoolSize = newMaxPoolSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE, oldMaxPoolSize, maxPoolSize)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getMinPoolSize() { - return minPoolSize; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMinPoolSize(BigInteger newMinPoolSize) { - BigInteger oldMinPoolSize = minPoolSize; - minPoolSize = newMinPoolSize; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE, oldMinPoolSize, minPoolSize)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getMaxIdleTime() { - return maxIdleTime; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMaxIdleTime(BigInteger newMaxIdleTime) { - BigInteger oldMaxIdleTime = maxIdleTime; - maxIdleTime = newMaxIdleTime; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME, oldMaxIdleTime, maxIdleTime)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getMaxStatements() { - return maxStatements; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMaxStatements(BigInteger newMaxStatements) { - BigInteger oldMaxStatements = maxStatements; - maxStatements = newMaxStatements; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS, oldMaxStatements, maxStatements)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DATA_SOURCE_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION: - return basicSetDescription(null, msgs); - case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY: - return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION: - return getDescription(); - case JavaeePackage.DATA_SOURCE_TYPE__NAME: - return getName(); - case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME: - return getClassName(); - case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME: - return getServerName(); - case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER: - return getPortNumber(); - case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME: - return getDatabaseName(); - case JavaeePackage.DATA_SOURCE_TYPE__URL: - return getUrl(); - case JavaeePackage.DATA_SOURCE_TYPE__USER: - return getUser(); - case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD: - return getPassword(); - case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY: - return getProperty(); - case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT: - return getLoginTimeout(); - case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL: - return isTransactional(); - case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL: - return getIsolationLevel(); - case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE: - return getInitialPoolSize(); - case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE: - return getMaxPoolSize(); - case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE: - return getMinPoolSize(); - case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME: - return getMaxIdleTime(); - case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS: - return getMaxStatements(); - case JavaeePackage.DATA_SOURCE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION: - setDescription((Description)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__NAME: - setName((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME: - setClassName((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME: - setServerName((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER: - setPortNumber((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME: - setDatabaseName((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__URL: - setUrl((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__USER: - setUser((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD: - setPassword((String)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY: - getProperty().clear(); - getProperty().addAll((Collection<? extends PropertyType>)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT: - setLoginTimeout((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL: - setTransactional((Boolean)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL: - setIsolationLevel((IsolationLevelType)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE: - setInitialPoolSize((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE: - setMaxPoolSize((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE: - setMinPoolSize((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME: - setMaxIdleTime((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS: - setMaxStatements((BigInteger)newValue); - return; - case JavaeePackage.DATA_SOURCE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION: - setDescription((Description)null); - return; - case JavaeePackage.DATA_SOURCE_TYPE__NAME: - setName(NAME_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME: - setClassName(CLASS_NAME_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME: - setServerName(SERVER_NAME_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER: - setPortNumber(PORT_NUMBER_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME: - setDatabaseName(DATABASE_NAME_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__URL: - setUrl(URL_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__USER: - setUser(USER_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD: - setPassword(PASSWORD_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY: - getProperty().clear(); - return; - case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT: - setLoginTimeout(LOGIN_TIMEOUT_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL: - unsetTransactional(); - return; - case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL: - unsetIsolationLevel(); - return; - case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE: - setInitialPoolSize(INITIAL_POOL_SIZE_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE: - setMaxPoolSize(MAX_POOL_SIZE_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE: - setMinPoolSize(MIN_POOL_SIZE_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME: - setMaxIdleTime(MAX_IDLE_TIME_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS: - setMaxStatements(MAX_STATEMENTS_EDEFAULT); - return; - case JavaeePackage.DATA_SOURCE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.DATA_SOURCE_TYPE__DESCRIPTION: - return description != null; - case JavaeePackage.DATA_SOURCE_TYPE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaeePackage.DATA_SOURCE_TYPE__CLASS_NAME: - return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className); - case JavaeePackage.DATA_SOURCE_TYPE__SERVER_NAME: - return SERVER_NAME_EDEFAULT == null ? serverName != null : !SERVER_NAME_EDEFAULT.equals(serverName); - case JavaeePackage.DATA_SOURCE_TYPE__PORT_NUMBER: - return PORT_NUMBER_EDEFAULT == null ? portNumber != null : !PORT_NUMBER_EDEFAULT.equals(portNumber); - case JavaeePackage.DATA_SOURCE_TYPE__DATABASE_NAME: - return DATABASE_NAME_EDEFAULT == null ? databaseName != null : !DATABASE_NAME_EDEFAULT.equals(databaseName); - case JavaeePackage.DATA_SOURCE_TYPE__URL: - return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url); - case JavaeePackage.DATA_SOURCE_TYPE__USER: - return USER_EDEFAULT == null ? user != null : !USER_EDEFAULT.equals(user); - case JavaeePackage.DATA_SOURCE_TYPE__PASSWORD: - return PASSWORD_EDEFAULT == null ? password != null : !PASSWORD_EDEFAULT.equals(password); - case JavaeePackage.DATA_SOURCE_TYPE__PROPERTY: - return property != null && !property.isEmpty(); - case JavaeePackage.DATA_SOURCE_TYPE__LOGIN_TIMEOUT: - return LOGIN_TIMEOUT_EDEFAULT == null ? loginTimeout != null : !LOGIN_TIMEOUT_EDEFAULT.equals(loginTimeout); - case JavaeePackage.DATA_SOURCE_TYPE__TRANSACTIONAL: - return isSetTransactional(); - case JavaeePackage.DATA_SOURCE_TYPE__ISOLATION_LEVEL: - return isSetIsolationLevel(); - case JavaeePackage.DATA_SOURCE_TYPE__INITIAL_POOL_SIZE: - return INITIAL_POOL_SIZE_EDEFAULT == null ? initialPoolSize != null : !INITIAL_POOL_SIZE_EDEFAULT.equals(initialPoolSize); - case JavaeePackage.DATA_SOURCE_TYPE__MAX_POOL_SIZE: - return MAX_POOL_SIZE_EDEFAULT == null ? maxPoolSize != null : !MAX_POOL_SIZE_EDEFAULT.equals(maxPoolSize); - case JavaeePackage.DATA_SOURCE_TYPE__MIN_POOL_SIZE: - return MIN_POOL_SIZE_EDEFAULT == null ? minPoolSize != null : !MIN_POOL_SIZE_EDEFAULT.equals(minPoolSize); - case JavaeePackage.DATA_SOURCE_TYPE__MAX_IDLE_TIME: - return MAX_IDLE_TIME_EDEFAULT == null ? maxIdleTime != null : !MAX_IDLE_TIME_EDEFAULT.equals(maxIdleTime); - case JavaeePackage.DATA_SOURCE_TYPE__MAX_STATEMENTS: - return MAX_STATEMENTS_EDEFAULT == null ? maxStatements != null : !MAX_STATEMENTS_EDEFAULT.equals(maxStatements); - case JavaeePackage.DATA_SOURCE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", className: "); //$NON-NLS-1$ - result.append(className); - result.append(", serverName: "); //$NON-NLS-1$ - result.append(serverName); - result.append(", portNumber: "); //$NON-NLS-1$ - result.append(portNumber); - result.append(", databaseName: "); //$NON-NLS-1$ - result.append(databaseName); - result.append(", url: "); //$NON-NLS-1$ - result.append(url); - result.append(", user: "); //$NON-NLS-1$ - result.append(user); - result.append(", password: "); //$NON-NLS-1$ - result.append(password); - result.append(", loginTimeout: "); //$NON-NLS-1$ - result.append(loginTimeout); - result.append(", transactional: "); //$NON-NLS-1$ - if (transactionalESet) result.append(transactional); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", isolationLevel: "); //$NON-NLS-1$ - if (isolationLevelESet) result.append(isolationLevel); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", initialPoolSize: "); //$NON-NLS-1$ - result.append(initialPoolSize); - result.append(", maxPoolSize: "); //$NON-NLS-1$ - result.append(maxPoolSize); - result.append(", minPoolSize: "); //$NON-NLS-1$ - result.append(minPoolSize); - result.append(", maxIdleTime: "); //$NON-NLS-1$ - result.append(maxIdleTime); - result.append(", maxStatements: "); //$NON-NLS-1$ - result.append(maxStatements); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //DataSourceTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DescriptionImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DescriptionImpl.java deleted file mode 100644 index a317896f8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DescriptionImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.Description; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Description</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DescriptionImpl extends EObjectImpl implements Description { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected static final String LANG_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected String lang = LANG_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DescriptionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.DESCRIPTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DESCRIPTION__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLang() { - return lang; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLang(String newLang) { - String oldLang = lang; - lang = newLang; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DESCRIPTION__LANG, oldLang, lang)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.DESCRIPTION__VALUE: - return getValue(); - case JavaeePackage.DESCRIPTION__LANG: - return getLang(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.DESCRIPTION__VALUE: - setValue((String)newValue); - return; - case JavaeePackage.DESCRIPTION__LANG: - setLang((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.DESCRIPTION__VALUE: - setValue(VALUE_EDEFAULT); - return; - case JavaeePackage.DESCRIPTION__LANG: - setLang(LANG_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.DESCRIPTION__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - case JavaeePackage.DESCRIPTION__LANG: - return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (value: "); //$NON-NLS-1$ - result.append(value); - result.append(", lang: "); //$NON-NLS-1$ - result.append(lang); - result.append(')'); - return result.toString(); - } - -} //DescriptionImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DisplayNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DisplayNameImpl.java deleted file mode 100644 index e7093255d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DisplayNameImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.DisplayName; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Display Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DisplayNameImpl#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.DisplayNameImpl#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DisplayNameImpl extends EObjectImpl implements DisplayName { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected static final String LANG_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected String lang = LANG_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DisplayNameImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.DISPLAY_NAME; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DISPLAY_NAME__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLang() { - return lang; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLang(String newLang) { - String oldLang = lang; - lang = newLang; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.DISPLAY_NAME__LANG, oldLang, lang)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.DISPLAY_NAME__VALUE: - return getValue(); - case JavaeePackage.DISPLAY_NAME__LANG: - return getLang(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.DISPLAY_NAME__VALUE: - setValue((String)newValue); - return; - case JavaeePackage.DISPLAY_NAME__LANG: - setLang((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.DISPLAY_NAME__VALUE: - setValue(VALUE_EDEFAULT); - return; - case JavaeePackage.DISPLAY_NAME__LANG: - setLang(LANG_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.DISPLAY_NAME__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - case JavaeePackage.DISPLAY_NAME__LANG: - return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (value: "); //$NON-NLS-1$ - result.append(value); - result.append(", lang: "); //$NON-NLS-1$ - result.append(lang); - result.append(')'); - return result.toString(); - } - -} //DisplayNameImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbLocalRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbLocalRefImpl.java deleted file mode 100644 index 533a13c61..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbLocalRefImpl.java +++ /dev/null @@ -1,682 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.EjbLocalRef; -import org.eclipse.jst.javaee.core.EjbRefType; -import org.eclipse.jst.javaee.core.InjectionTarget; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Ejb Local Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getEjbRefName <em>Ejb Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getEjbRefType <em>Ejb Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getLocalHome <em>Local Home</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getLocal <em>Local</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getEjbLink <em>Ejb Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class EjbLocalRefImpl extends EObjectImpl implements EjbLocalRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefName() - * @generated - * @ordered - */ - protected static final String EJB_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefName() - * @generated - * @ordered - */ - protected String ejbRefName = EJB_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getEjbRefType() <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefType() - * @generated - * @ordered - */ - protected static final EjbRefType EJB_REF_TYPE_EDEFAULT = EjbRefType.ENTITY_LITERAL; - - /** - * The cached value of the '{@link #getEjbRefType() <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefType() - * @generated - * @ordered - */ - protected EjbRefType ejbRefType = EJB_REF_TYPE_EDEFAULT; - - /** - * This is true if the Ejb Ref Type attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean ejbRefTypeESet; - - /** - * The default value of the '{@link #getLocalHome() <em>Local Home</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLocalHome() - * @generated - * @ordered - */ - protected static final String LOCAL_HOME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLocalHome() <em>Local Home</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLocalHome() - * @generated - * @ordered - */ - protected String localHome = LOCAL_HOME_EDEFAULT; - - /** - * The default value of the '{@link #getLocal() <em>Local</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLocal() - * @generated - * @ordered - */ - protected static final String LOCAL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLocal() <em>Local</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLocal() - * @generated - * @ordered - */ - protected String local = LOCAL_EDEFAULT; - - /** - * The default value of the '{@link #getEjbLink() <em>Ejb Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbLink() - * @generated - * @ordered - */ - protected static final String EJB_LINK_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEjbLink() <em>Ejb Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbLink() - * @generated - * @ordered - */ - protected String ejbLink = EJB_LINK_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EjbLocalRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.EJB_LOCAL_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEjbRefName() { - return ejbRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEjbRefName(String newEjbRefName) { - String oldEjbRefName = ejbRefName; - ejbRefName = newEjbRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME, oldEjbRefName, ejbRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EjbRefType getEjbRefType() { - return ejbRefType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEjbRefType(EjbRefType newEjbRefType) { - EjbRefType oldEjbRefType = ejbRefType; - ejbRefType = newEjbRefType == null ? EJB_REF_TYPE_EDEFAULT : newEjbRefType; - boolean oldEjbRefTypeESet = ejbRefTypeESet; - ejbRefTypeESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__EJB_REF_TYPE, oldEjbRefType, ejbRefType, !oldEjbRefTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetEjbRefType() { - EjbRefType oldEjbRefType = ejbRefType; - boolean oldEjbRefTypeESet = ejbRefTypeESet; - ejbRefType = EJB_REF_TYPE_EDEFAULT; - ejbRefTypeESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.EJB_LOCAL_REF__EJB_REF_TYPE, oldEjbRefType, EJB_REF_TYPE_EDEFAULT, oldEjbRefTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetEjbRefType() { - return ejbRefTypeESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLocalHome() { - return localHome; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLocalHome(String newLocalHome) { - String oldLocalHome = localHome; - localHome = newLocalHome; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__LOCAL_HOME, oldLocalHome, localHome)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLocal() { - return local; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLocal(String newLocal) { - String oldLocal = local; - local = newLocal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__LOCAL, oldLocal, local)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEjbLink() { - return ejbLink; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEjbLink(String newEjbLink) { - String oldEjbLink = ejbLink; - ejbLink = newEjbLink; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__EJB_LINK, oldEjbLink, ejbLink)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_LOCAL_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME: - return getEjbRefName(); - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_TYPE: - return getEjbRefType(); - case JavaeePackage.EJB_LOCAL_REF__LOCAL_HOME: - return getLocalHome(); - case JavaeePackage.EJB_LOCAL_REF__LOCAL: - return getLocal(); - case JavaeePackage.EJB_LOCAL_REF__EJB_LINK: - return getEjbLink(); - case JavaeePackage.EJB_LOCAL_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.EJB_LOCAL_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME: - setEjbRefName((String)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_TYPE: - setEjbRefType((EjbRefType)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__LOCAL_HOME: - setLocalHome((String)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__LOCAL: - setLocal((String)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__EJB_LINK: - setEjbLink((String)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME: - setEjbRefName(EJB_REF_NAME_EDEFAULT); - return; - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_TYPE: - unsetEjbRefType(); - return; - case JavaeePackage.EJB_LOCAL_REF__LOCAL_HOME: - setLocalHome(LOCAL_HOME_EDEFAULT); - return; - case JavaeePackage.EJB_LOCAL_REF__LOCAL: - setLocal(LOCAL_EDEFAULT); - return; - case JavaeePackage.EJB_LOCAL_REF__EJB_LINK: - setEjbLink(EJB_LINK_EDEFAULT); - return; - case JavaeePackage.EJB_LOCAL_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.EJB_LOCAL_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_NAME: - return EJB_REF_NAME_EDEFAULT == null ? ejbRefName != null : !EJB_REF_NAME_EDEFAULT.equals(ejbRefName); - case JavaeePackage.EJB_LOCAL_REF__EJB_REF_TYPE: - return isSetEjbRefType(); - case JavaeePackage.EJB_LOCAL_REF__LOCAL_HOME: - return LOCAL_HOME_EDEFAULT == null ? localHome != null : !LOCAL_HOME_EDEFAULT.equals(localHome); - case JavaeePackage.EJB_LOCAL_REF__LOCAL: - return LOCAL_EDEFAULT == null ? local != null : !LOCAL_EDEFAULT.equals(local); - case JavaeePackage.EJB_LOCAL_REF__EJB_LINK: - return EJB_LINK_EDEFAULT == null ? ejbLink != null : !EJB_LINK_EDEFAULT.equals(ejbLink); - case JavaeePackage.EJB_LOCAL_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.EJB_LOCAL_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.EJB_LOCAL_REF__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.EJB_LOCAL_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (ejbRefName: "); //$NON-NLS-1$ - result.append(ejbRefName); - result.append(", ejbRefType: "); //$NON-NLS-1$ - if (ejbRefTypeESet) result.append(ejbRefType); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", localHome: "); //$NON-NLS-1$ - result.append(localHome); - result.append(", local: "); //$NON-NLS-1$ - result.append(local); - result.append(", ejbLink: "); //$NON-NLS-1$ - result.append(ejbLink); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //EjbLocalRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbRefImpl.java deleted file mode 100644 index 1c631090f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbRefImpl.java +++ /dev/null @@ -1,682 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.EjbRef; -import org.eclipse.jst.javaee.core.EjbRefType; -import org.eclipse.jst.javaee.core.InjectionTarget; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Ejb Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getEjbRefName <em>Ejb Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getEjbRefType <em>Ejb Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getHome <em>Home</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getRemote <em>Remote</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getEjbLink <em>Ejb Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class EjbRefImpl extends EObjectImpl implements EjbRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefName() - * @generated - * @ordered - */ - protected static final String EJB_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEjbRefName() <em>Ejb Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefName() - * @generated - * @ordered - */ - protected String ejbRefName = EJB_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getEjbRefType() <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefType() - * @generated - * @ordered - */ - protected static final EjbRefType EJB_REF_TYPE_EDEFAULT = EjbRefType.ENTITY_LITERAL; - - /** - * The cached value of the '{@link #getEjbRefType() <em>Ejb Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbRefType() - * @generated - * @ordered - */ - protected EjbRefType ejbRefType = EJB_REF_TYPE_EDEFAULT; - - /** - * This is true if the Ejb Ref Type attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean ejbRefTypeESet; - - /** - * The default value of the '{@link #getHome() <em>Home</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHome() - * @generated - * @ordered - */ - protected static final String HOME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHome() <em>Home</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHome() - * @generated - * @ordered - */ - protected String home = HOME_EDEFAULT; - - /** - * The default value of the '{@link #getRemote() <em>Remote</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRemote() - * @generated - * @ordered - */ - protected static final String REMOTE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRemote() <em>Remote</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRemote() - * @generated - * @ordered - */ - protected String remote = REMOTE_EDEFAULT; - - /** - * The default value of the '{@link #getEjbLink() <em>Ejb Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbLink() - * @generated - * @ordered - */ - protected static final String EJB_LINK_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEjbLink() <em>Ejb Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEjbLink() - * @generated - * @ordered - */ - protected String ejbLink = EJB_LINK_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EjbRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.EJB_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.EJB_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEjbRefName() { - return ejbRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEjbRefName(String newEjbRefName) { - String oldEjbRefName = ejbRefName; - ejbRefName = newEjbRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__EJB_REF_NAME, oldEjbRefName, ejbRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EjbRefType getEjbRefType() { - return ejbRefType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEjbRefType(EjbRefType newEjbRefType) { - EjbRefType oldEjbRefType = ejbRefType; - ejbRefType = newEjbRefType == null ? EJB_REF_TYPE_EDEFAULT : newEjbRefType; - boolean oldEjbRefTypeESet = ejbRefTypeESet; - ejbRefTypeESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__EJB_REF_TYPE, oldEjbRefType, ejbRefType, !oldEjbRefTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetEjbRefType() { - EjbRefType oldEjbRefType = ejbRefType; - boolean oldEjbRefTypeESet = ejbRefTypeESet; - ejbRefType = EJB_REF_TYPE_EDEFAULT; - ejbRefTypeESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.EJB_REF__EJB_REF_TYPE, oldEjbRefType, EJB_REF_TYPE_EDEFAULT, oldEjbRefTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetEjbRefType() { - return ejbRefTypeESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getHome() { - return home; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHome(String newHome) { - String oldHome = home; - home = newHome; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__HOME, oldHome, home)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getRemote() { - return remote; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRemote(String newRemote) { - String oldRemote = remote; - remote = newRemote; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__REMOTE, oldRemote, remote)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEjbLink() { - return ejbLink; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEjbLink(String newEjbLink) { - String oldEjbLink = ejbLink; - ejbLink = newEjbLink; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__EJB_LINK, oldEjbLink, ejbLink)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.EJB_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EJB_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.EJB_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.EJB_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.EJB_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.EJB_REF__EJB_REF_NAME: - return getEjbRefName(); - case JavaeePackage.EJB_REF__EJB_REF_TYPE: - return getEjbRefType(); - case JavaeePackage.EJB_REF__HOME: - return getHome(); - case JavaeePackage.EJB_REF__REMOTE: - return getRemote(); - case JavaeePackage.EJB_REF__EJB_LINK: - return getEjbLink(); - case JavaeePackage.EJB_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.EJB_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.EJB_REF__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.EJB_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.EJB_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.EJB_REF__EJB_REF_NAME: - setEjbRefName((String)newValue); - return; - case JavaeePackage.EJB_REF__EJB_REF_TYPE: - setEjbRefType((EjbRefType)newValue); - return; - case JavaeePackage.EJB_REF__HOME: - setHome((String)newValue); - return; - case JavaeePackage.EJB_REF__REMOTE: - setRemote((String)newValue); - return; - case JavaeePackage.EJB_REF__EJB_LINK: - setEjbLink((String)newValue); - return; - case JavaeePackage.EJB_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.EJB_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.EJB_REF__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.EJB_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.EJB_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.EJB_REF__EJB_REF_NAME: - setEjbRefName(EJB_REF_NAME_EDEFAULT); - return; - case JavaeePackage.EJB_REF__EJB_REF_TYPE: - unsetEjbRefType(); - return; - case JavaeePackage.EJB_REF__HOME: - setHome(HOME_EDEFAULT); - return; - case JavaeePackage.EJB_REF__REMOTE: - setRemote(REMOTE_EDEFAULT); - return; - case JavaeePackage.EJB_REF__EJB_LINK: - setEjbLink(EJB_LINK_EDEFAULT); - return; - case JavaeePackage.EJB_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.EJB_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.EJB_REF__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.EJB_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.EJB_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.EJB_REF__EJB_REF_NAME: - return EJB_REF_NAME_EDEFAULT == null ? ejbRefName != null : !EJB_REF_NAME_EDEFAULT.equals(ejbRefName); - case JavaeePackage.EJB_REF__EJB_REF_TYPE: - return isSetEjbRefType(); - case JavaeePackage.EJB_REF__HOME: - return HOME_EDEFAULT == null ? home != null : !HOME_EDEFAULT.equals(home); - case JavaeePackage.EJB_REF__REMOTE: - return REMOTE_EDEFAULT == null ? remote != null : !REMOTE_EDEFAULT.equals(remote); - case JavaeePackage.EJB_REF__EJB_LINK: - return EJB_LINK_EDEFAULT == null ? ejbLink != null : !EJB_LINK_EDEFAULT.equals(ejbLink); - case JavaeePackage.EJB_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.EJB_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.EJB_REF__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.EJB_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (ejbRefName: "); //$NON-NLS-1$ - result.append(ejbRefName); - result.append(", ejbRefType: "); //$NON-NLS-1$ - if (ejbRefTypeESet) result.append(ejbRefType); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", home: "); //$NON-NLS-1$ - result.append(home); - result.append(", remote: "); //$NON-NLS-1$ - result.append(remote); - result.append(", ejbLink: "); //$NON-NLS-1$ - result.append(ejbLink); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //EjbRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EmptyTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EmptyTypeImpl.java deleted file mode 100644 index 4d67edc25..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EmptyTypeImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.EmptyType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Empty Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class EmptyTypeImpl extends EObjectImpl implements EmptyType { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EmptyTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.EMPTY_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.EMPTY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.EMPTY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.EMPTY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.EMPTY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.EMPTY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //EmptyTypeImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EnvEntryImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EnvEntryImpl.java deleted file mode 100644 index d31f2b1e6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EnvEntryImpl.java +++ /dev/null @@ -1,565 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.EnvEntry; -import org.eclipse.jst.javaee.core.EnvEntryType; -import org.eclipse.jst.javaee.core.InjectionTarget; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Env Entry</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getEnvEntryName <em>Env Entry Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getEnvEntryType <em>Env Entry Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getEnvEntryValue <em>Env Entry Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class EnvEntryImpl extends EObjectImpl implements EnvEntry { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getEnvEntryName() <em>Env Entry Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryName() - * @generated - * @ordered - */ - protected static final String ENV_ENTRY_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEnvEntryName() <em>Env Entry Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryName() - * @generated - * @ordered - */ - protected String envEntryName = ENV_ENTRY_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getEnvEntryType() <em>Env Entry Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryType() - * @generated - * @ordered - */ - protected static final String ENV_ENTRY_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEnvEntryType() <em>Env Entry Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryType() - * @generated - * @ordered - */ - protected String envEntryType = ENV_ENTRY_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getEnvEntryValue() <em>Env Entry Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryValue() - * @generated - * @ordered - */ - protected static final String ENV_ENTRY_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getEnvEntryValue() <em>Env Entry Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryValue() - * @generated - * @ordered - */ - protected String envEntryValue = ENV_ENTRY_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EnvEntryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.ENV_ENTRY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.ENV_ENTRY__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEnvEntryName() { - return envEntryName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnvEntryName(String newEnvEntryName) { - String oldEnvEntryName = envEntryName; - envEntryName = newEnvEntryName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME, oldEnvEntryName, envEntryName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEnvEntryType() { - return envEntryType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnvEntryType(String newEnvEntryType) { - String oldEnvEntryType = envEntryType; - envEntryType = newEnvEntryType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE, oldEnvEntryType, envEntryType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getEnvEntryValue() { - return envEntryValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnvEntryValue(String newEnvEntryValue) { - String oldEnvEntryValue = envEntryValue; - envEntryValue = newEnvEntryValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE, oldEnvEntryValue, envEntryValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.ENV_ENTRY__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.ENV_ENTRY__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.ENV_ENTRY__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME: - return getEnvEntryName(); - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE: - return getEnvEntryType(); - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE: - return getEnvEntryValue(); - case JavaeePackage.ENV_ENTRY__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.ENV_ENTRY__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.ENV_ENTRY__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.ENV_ENTRY__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME: - setEnvEntryName((String)newValue); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE: - setEnvEntryType((String)newValue); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE: - setEnvEntryValue((String)newValue); - return; - case JavaeePackage.ENV_ENTRY__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.ENV_ENTRY__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.ENV_ENTRY__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.ENV_ENTRY__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME: - setEnvEntryName(ENV_ENTRY_NAME_EDEFAULT); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE: - setEnvEntryType(ENV_ENTRY_TYPE_EDEFAULT); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE: - setEnvEntryValue(ENV_ENTRY_VALUE_EDEFAULT); - return; - case JavaeePackage.ENV_ENTRY__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.ENV_ENTRY__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.ENV_ENTRY__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.ENV_ENTRY__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME: - return ENV_ENTRY_NAME_EDEFAULT == null ? envEntryName != null : !ENV_ENTRY_NAME_EDEFAULT.equals(envEntryName); - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE: - return ENV_ENTRY_TYPE_EDEFAULT == null ? envEntryType != null : !ENV_ENTRY_TYPE_EDEFAULT.equals(envEntryType); - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_VALUE: - return ENV_ENTRY_VALUE_EDEFAULT == null ? envEntryValue != null : !ENV_ENTRY_VALUE_EDEFAULT.equals(envEntryValue); - case JavaeePackage.ENV_ENTRY__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.ENV_ENTRY__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.ENV_ENTRY__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.ENV_ENTRY__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (envEntryName: "); //$NON-NLS-1$ - result.append(envEntryName); - result.append(", envEntryType: "); //$NON-NLS-1$ - result.append(envEntryType); - result.append(", envEntryValue: "); //$NON-NLS-1$ - result.append(envEntryValue); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - - /** - * This is provided for Java EE 5 model equivalence - * @param newEnvEntryType - */ - public void setEnvEntryType(EnvEntryType newEnvEntryType) { - if (newEnvEntryType != null) - { - setEnvEntryType(newEnvEntryType.getLiteral()); - } - else - { - setEnvEntryType((String)null); - } - } - - public void unsetEnvEntryType() - { - setEnvEntryType((String)null); - } - - public boolean isSetEnvEntryType() - { - return (envEntryType != null); - } - -} //EnvEntryImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/IconImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/IconImpl.java deleted file mode 100644 index 60c1bd46e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/IconImpl.java +++ /dev/null @@ -1,334 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.Icon; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Icon</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl#getSmallIcon <em>Small Icon</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl#getLargeIcon <em>Large Icon</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl#getLang <em>Lang</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class IconImpl extends EObjectImpl implements Icon { - /** - * The default value of the '{@link #getSmallIcon() <em>Small Icon</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSmallIcon() - * @generated - * @ordered - */ - protected static final String SMALL_ICON_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSmallIcon() <em>Small Icon</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSmallIcon() - * @generated - * @ordered - */ - protected String smallIcon = SMALL_ICON_EDEFAULT; - - /** - * The default value of the '{@link #getLargeIcon() <em>Large Icon</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLargeIcon() - * @generated - * @ordered - */ - protected static final String LARGE_ICON_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLargeIcon() <em>Large Icon</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLargeIcon() - * @generated - * @ordered - */ - protected String largeIcon = LARGE_ICON_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected static final String LANG_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLang() - * @generated - * @ordered - */ - protected String lang = LANG_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IconImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.ICON; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSmallIcon() { - return smallIcon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSmallIcon(String newSmallIcon) { - String oldSmallIcon = smallIcon; - smallIcon = newSmallIcon; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ICON__SMALL_ICON, oldSmallIcon, smallIcon)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLargeIcon() { - return largeIcon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLargeIcon(String newLargeIcon) { - String oldLargeIcon = largeIcon; - largeIcon = newLargeIcon; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ICON__LARGE_ICON, oldLargeIcon, largeIcon)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ICON__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLang() { - return lang; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLang(String newLang) { - String oldLang = lang; - lang = newLang; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ICON__LANG, oldLang, lang)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.ICON__SMALL_ICON: - return getSmallIcon(); - case JavaeePackage.ICON__LARGE_ICON: - return getLargeIcon(); - case JavaeePackage.ICON__ID: - return getId(); - case JavaeePackage.ICON__LANG: - return getLang(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.ICON__SMALL_ICON: - setSmallIcon((String)newValue); - return; - case JavaeePackage.ICON__LARGE_ICON: - setLargeIcon((String)newValue); - return; - case JavaeePackage.ICON__ID: - setId((String)newValue); - return; - case JavaeePackage.ICON__LANG: - setLang((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.ICON__SMALL_ICON: - setSmallIcon(SMALL_ICON_EDEFAULT); - return; - case JavaeePackage.ICON__LARGE_ICON: - setLargeIcon(LARGE_ICON_EDEFAULT); - return; - case JavaeePackage.ICON__ID: - setId(ID_EDEFAULT); - return; - case JavaeePackage.ICON__LANG: - setLang(LANG_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.ICON__SMALL_ICON: - return SMALL_ICON_EDEFAULT == null ? smallIcon != null : !SMALL_ICON_EDEFAULT.equals(smallIcon); - case JavaeePackage.ICON__LARGE_ICON: - return LARGE_ICON_EDEFAULT == null ? largeIcon != null : !LARGE_ICON_EDEFAULT.equals(largeIcon); - case JavaeePackage.ICON__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JavaeePackage.ICON__LANG: - return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (smallIcon: "); //$NON-NLS-1$ - result.append(smallIcon); - result.append(", largeIcon: "); //$NON-NLS-1$ - result.append(largeIcon); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(", lang: "); //$NON-NLS-1$ - result.append(lang); - result.append(')'); - return result.toString(); - } - -} //IconImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/InjectionTargetImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/InjectionTargetImpl.java deleted file mode 100644 index 6fb0c00dc..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/InjectionTargetImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.InjectionTarget; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Injection Target</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.InjectionTargetImpl#getInjectionTargetClass <em>Injection Target Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.InjectionTargetImpl#getInjectionTargetName <em>Injection Target Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class InjectionTargetImpl extends EObjectImpl implements InjectionTarget { - /** - * The default value of the '{@link #getInjectionTargetClass() <em>Injection Target Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargetClass() - * @generated - * @ordered - */ - protected static final String INJECTION_TARGET_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getInjectionTargetClass() <em>Injection Target Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargetClass() - * @generated - * @ordered - */ - protected String injectionTargetClass = INJECTION_TARGET_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getInjectionTargetName() <em>Injection Target Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargetName() - * @generated - * @ordered - */ - protected static final String INJECTION_TARGET_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getInjectionTargetName() <em>Injection Target Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargetName() - * @generated - * @ordered - */ - protected String injectionTargetName = INJECTION_TARGET_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InjectionTargetImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.INJECTION_TARGET; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getInjectionTargetClass() { - return injectionTargetClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInjectionTargetClass(String newInjectionTargetClass) { - String oldInjectionTargetClass = injectionTargetClass; - injectionTargetClass = newInjectionTargetClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_CLASS, oldInjectionTargetClass, injectionTargetClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getInjectionTargetName() { - return injectionTargetName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setInjectionTargetName(String newInjectionTargetName) { - String oldInjectionTargetName = injectionTargetName; - injectionTargetName = newInjectionTargetName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_NAME, oldInjectionTargetName, injectionTargetName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_CLASS: - return getInjectionTargetClass(); - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_NAME: - return getInjectionTargetName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_CLASS: - setInjectionTargetClass((String)newValue); - return; - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_NAME: - setInjectionTargetName((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_CLASS: - setInjectionTargetClass(INJECTION_TARGET_CLASS_EDEFAULT); - return; - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_NAME: - setInjectionTargetName(INJECTION_TARGET_NAME_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_CLASS: - return INJECTION_TARGET_CLASS_EDEFAULT == null ? injectionTargetClass != null : !INJECTION_TARGET_CLASS_EDEFAULT.equals(injectionTargetClass); - case JavaeePackage.INJECTION_TARGET__INJECTION_TARGET_NAME: - return INJECTION_TARGET_NAME_EDEFAULT == null ? injectionTargetName != null : !INJECTION_TARGET_NAME_EDEFAULT.equals(injectionTargetName); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (injectionTargetClass: "); //$NON-NLS-1$ - result.append(injectionTargetClass); - result.append(", injectionTargetName: "); //$NON-NLS-1$ - result.append(injectionTargetName); - result.append(')'); - return result.toString(); - } - -} //InjectionTargetImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeeFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeeFactoryImpl.java deleted file mode 100644 index cce3270ce..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeeFactoryImpl.java +++ /dev/null @@ -1,1390 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.ArrayList; -import java.util.List; -import java.util.StringTokenizer; - -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.emf.ecore.util.Diagnostician; - -import org.eclipse.emf.ecore.xml.type.XMLTypeFactory; -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; - -import org.eclipse.jst.javaee.core.*; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JavaeeFactoryImpl extends EFactoryImpl implements JavaeeFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JavaeeFactory init() { - try { - JavaeeFactory theJavaeeFactory = (JavaeeFactory)EPackage.Registry.INSTANCE.getEFactory("http://java.sun.com/xml/ns/javaee"); //$NON-NLS-1$ - if (theJavaeeFactory != null) { - return theJavaeeFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new JavaeeFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case JavaeePackage.ADDRESSING_TYPE: return (EObject)createAddressingType(); - case JavaeePackage.DATA_SOURCE_TYPE: return (EObject)createDataSourceType(); - case JavaeePackage.DESCRIPTION: return (EObject)createDescription(); - case JavaeePackage.DISPLAY_NAME: return (EObject)createDisplayName(); - case JavaeePackage.EJB_LOCAL_REF: return (EObject)createEjbLocalRef(); - case JavaeePackage.EJB_REF: return (EObject)createEjbRef(); - case JavaeePackage.EMPTY_TYPE: return (EObject)createEmptyType(); - case JavaeePackage.ENV_ENTRY: return (EObject)createEnvEntry(); - case JavaeePackage.ICON: return (EObject)createIcon(); - case JavaeePackage.INJECTION_TARGET: return (EObject)createInjectionTarget(); - case JavaeePackage.LIFECYCLE_CALLBACK: return (EObject)createLifecycleCallback(); - case JavaeePackage.LISTENER: return (EObject)createListener(); - case JavaeePackage.MESSAGE_DESTINATION: return (EObject)createMessageDestination(); - case JavaeePackage.MESSAGE_DESTINATION_REF: return (EObject)createMessageDestinationRef(); - case JavaeePackage.PARAM_VALUE: return (EObject)createParamValue(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF: return (EObject)createPersistenceContextRef(); - case JavaeePackage.PERSISTENCE_UNIT_REF: return (EObject)createPersistenceUnitRef(); - case JavaeePackage.PORT_COMPONENT_REF: return (EObject)createPortComponentRef(); - case JavaeePackage.PROPERTY_TYPE: return (EObject)createPropertyType(); - case JavaeePackage.RESOURCE_ENV_REF: return (EObject)createResourceEnvRef(); - case JavaeePackage.RESOURCE_REF: return (EObject)createResourceRef(); - case JavaeePackage.RESPECT_BINDING_TYPE: return (EObject)createRespectBindingType(); - case JavaeePackage.RUN_AS: return (EObject)createRunAs(); - case JavaeePackage.SECURITY_ROLE: return (EObject)createSecurityRole(); - case JavaeePackage.SECURITY_ROLE_REF: return (EObject)createSecurityRoleRef(); - case JavaeePackage.SERVICE_REF: return (EObject)createServiceRef(); - case JavaeePackage.SERVICE_REF_HANDLER: return (EObject)createServiceRefHandler(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN: return (EObject)createServiceRefHandlerChain(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS: return (EObject)createServiceRefHandlerChains(); - case JavaeePackage.URL_PATTERN_TYPE: return (EObject)createUrlPatternType(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case JavaeePackage.ADDRESSING_RESPONSES_TYPE: - return createAddressingResponsesTypeFromString(eDataType, initialValue); - case JavaeePackage.EJB_REF_TYPE: - return createEjbRefTypeFromString(eDataType, initialValue); - case JavaeePackage.GENERIC_BOOLEAN_TYPE: - return createGenericBooleanTypeFromString(eDataType, initialValue); - case JavaeePackage.ISOLATION_LEVEL_TYPE: - return createIsolationLevelTypeFromString(eDataType, initialValue); - case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE: - return createMessageDestinationUsageTypeFromString(eDataType, initialValue); - case JavaeePackage.PERSISTENCE_CONTEXT_TYPE: - return createPersistenceContextTypeFromString(eDataType, initialValue); - case JavaeePackage.RES_AUTH_TYPE: - return createResAuthTypeFromString(eDataType, initialValue); - case JavaeePackage.RES_SHARING_SCOPE_TYPE: - return createResSharingScopeTypeFromString(eDataType, initialValue); - case JavaeePackage.ADDRESSING_RESPONSES_TYPE_OBJECT: - return createAddressingResponsesTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.DEWEY_VERSION_TYPE: - return createDeweyVersionTypeFromString(eDataType, initialValue); - case JavaeePackage.EJB_LINK: - return createEJBLinkFromString(eDataType, initialValue); - case JavaeePackage.EJB_REF_NAME_TYPE: - return createEjbRefNameTypeFromString(eDataType, initialValue); - case JavaeePackage.EJB_REF_TYPE_OBJECT: - return createEjbRefTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.ENV_ENTRY_TYPE: - return createEnvEntryTypeFromString(eDataType, initialValue); - case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE: - return createFullyQualifiedClassTypeFromString(eDataType, initialValue); - case JavaeePackage.GENERIC_BOOLEAN_TYPE_OBJECT: - return createGenericBooleanTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.HOME: - return createHomeFromString(eDataType, initialValue); - case JavaeePackage.ISOLATION_LEVEL_TYPE_OBJECT: - return createIsolationLevelTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.JAVA_IDENTIFIER: - return createJavaIdentifierFromString(eDataType, initialValue); - case JavaeePackage.JAVA_TYPE: - return createJavaTypeFromString(eDataType, initialValue); - case JavaeePackage.JDBC_URL_TYPE: - return createJdbcUrlTypeFromString(eDataType, initialValue); - case JavaeePackage.JNDI_NAME: - return createJNDINameFromString(eDataType, initialValue); - case JavaeePackage.LOCAL: - return createLocalFromString(eDataType, initialValue); - case JavaeePackage.LOCAL_HOME: - return createLocalHomeFromString(eDataType, initialValue); - case JavaeePackage.MESSAGE_DESTINATION_LINK: - return createMessageDestinationLinkFromString(eDataType, initialValue); - case JavaeePackage.MESSAGE_DESTINATION_TYPE_TYPE: - return createMessageDestinationTypeTypeFromString(eDataType, initialValue); - case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE_OBJECT: - return createMessageDestinationUsageTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.PATH_TYPE: - return createPathTypeFromString(eDataType, initialValue); - case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT: - return createPersistenceContextTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.PROTOCOL_BINDING_LIST_TYPE: - return createProtocolBindingListTypeFromString(eDataType, initialValue); - case JavaeePackage.PROTOCOL_BINDING_TYPE: - return createProtocolBindingTypeFromString(eDataType, initialValue); - case JavaeePackage.PROTOCOL_URI_ALIAS_TYPE: - return createProtocolURIAliasTypeFromString(eDataType, initialValue); - case JavaeePackage.QNAME_PATTERN: - return createQnamePatternFromString(eDataType, initialValue); - case JavaeePackage.REMOTE: - return createRemoteFromString(eDataType, initialValue); - case JavaeePackage.RES_AUTH_TYPE_OBJECT: - return createResAuthTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.RES_SHARING_SCOPE_TYPE_OBJECT: - return createResSharingScopeTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.ROLE_NAME: - return createRoleNameFromString(eDataType, initialValue); - case JavaeePackage.TRUE_FALSE_TYPE: - return createTrueFalseTypeFromString(eDataType, initialValue); - case JavaeePackage.TRUE_FALSE_TYPE_OBJECT: - return createTrueFalseTypeObjectFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case JavaeePackage.ADDRESSING_RESPONSES_TYPE: - return convertAddressingResponsesTypeToString(eDataType, instanceValue); - case JavaeePackage.EJB_REF_TYPE: - return convertEjbRefTypeToString(eDataType, instanceValue); - case JavaeePackage.GENERIC_BOOLEAN_TYPE: - return convertGenericBooleanTypeToString(eDataType, instanceValue); - case JavaeePackage.ISOLATION_LEVEL_TYPE: - return convertIsolationLevelTypeToString(eDataType, instanceValue); - case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE: - return convertMessageDestinationUsageTypeToString(eDataType, instanceValue); - case JavaeePackage.PERSISTENCE_CONTEXT_TYPE: - return convertPersistenceContextTypeToString(eDataType, instanceValue); - case JavaeePackage.RES_AUTH_TYPE: - return convertResAuthTypeToString(eDataType, instanceValue); - case JavaeePackage.RES_SHARING_SCOPE_TYPE: - return convertResSharingScopeTypeToString(eDataType, instanceValue); - case JavaeePackage.ADDRESSING_RESPONSES_TYPE_OBJECT: - return convertAddressingResponsesTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.DEWEY_VERSION_TYPE: - return convertDeweyVersionTypeToString(eDataType, instanceValue); - case JavaeePackage.EJB_LINK: - return convertEJBLinkToString(eDataType, instanceValue); - case JavaeePackage.EJB_REF_NAME_TYPE: - return convertEjbRefNameTypeToString(eDataType, instanceValue); - case JavaeePackage.EJB_REF_TYPE_OBJECT: - return convertEjbRefTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.ENV_ENTRY_TYPE: - return convertEnvEntryTypeToString(eDataType, instanceValue); - case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE: - return convertFullyQualifiedClassTypeToString(eDataType, instanceValue); - case JavaeePackage.GENERIC_BOOLEAN_TYPE_OBJECT: - return convertGenericBooleanTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.HOME: - return convertHomeToString(eDataType, instanceValue); - case JavaeePackage.ISOLATION_LEVEL_TYPE_OBJECT: - return convertIsolationLevelTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.JAVA_IDENTIFIER: - return convertJavaIdentifierToString(eDataType, instanceValue); - case JavaeePackage.JAVA_TYPE: - return convertJavaTypeToString(eDataType, instanceValue); - case JavaeePackage.JDBC_URL_TYPE: - return convertJdbcUrlTypeToString(eDataType, instanceValue); - case JavaeePackage.JNDI_NAME: - return convertJNDINameToString(eDataType, instanceValue); - case JavaeePackage.LOCAL: - return convertLocalToString(eDataType, instanceValue); - case JavaeePackage.LOCAL_HOME: - return convertLocalHomeToString(eDataType, instanceValue); - case JavaeePackage.MESSAGE_DESTINATION_LINK: - return convertMessageDestinationLinkToString(eDataType, instanceValue); - case JavaeePackage.MESSAGE_DESTINATION_TYPE_TYPE: - return convertMessageDestinationTypeTypeToString(eDataType, instanceValue); - case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE_OBJECT: - return convertMessageDestinationUsageTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.PATH_TYPE: - return convertPathTypeToString(eDataType, instanceValue); - case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT: - return convertPersistenceContextTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.PROTOCOL_BINDING_LIST_TYPE: - return convertProtocolBindingListTypeToString(eDataType, instanceValue); - case JavaeePackage.PROTOCOL_BINDING_TYPE: - return convertProtocolBindingTypeToString(eDataType, instanceValue); - case JavaeePackage.PROTOCOL_URI_ALIAS_TYPE: - return convertProtocolURIAliasTypeToString(eDataType, instanceValue); - case JavaeePackage.QNAME_PATTERN: - return convertQnamePatternToString(eDataType, instanceValue); - case JavaeePackage.REMOTE: - return convertRemoteToString(eDataType, instanceValue); - case JavaeePackage.RES_AUTH_TYPE_OBJECT: - return convertResAuthTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.RES_SHARING_SCOPE_TYPE_OBJECT: - return convertResSharingScopeTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.ROLE_NAME: - return convertRoleNameToString(eDataType, instanceValue); - case JavaeePackage.TRUE_FALSE_TYPE: - return convertTrueFalseTypeToString(eDataType, instanceValue); - case JavaeePackage.TRUE_FALSE_TYPE_OBJECT: - return convertTrueFalseTypeObjectToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddressingType createAddressingType() { - AddressingTypeImpl addressingType = new AddressingTypeImpl(); - return addressingType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DataSourceType createDataSourceType() { - DataSourceTypeImpl dataSourceType = new DataSourceTypeImpl(); - return dataSourceType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Description createDescription() { - DescriptionImpl description = new DescriptionImpl(); - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DisplayName createDisplayName() { - DisplayNameImpl displayName = new DisplayNameImpl(); - return displayName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EjbLocalRef createEjbLocalRef() { - EjbLocalRefImpl ejbLocalRef = new EjbLocalRefImpl(); - return ejbLocalRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EjbRef createEjbRef() { - EjbRefImpl ejbRef = new EjbRefImpl(); - return ejbRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EmptyType createEmptyType() { - EmptyTypeImpl emptyType = new EmptyTypeImpl(); - return emptyType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EnvEntry createEnvEntry() { - EnvEntryImpl envEntry = new EnvEntryImpl(); - return envEntry; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Icon createIcon() { - IconImpl icon = new IconImpl(); - return icon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InjectionTarget createInjectionTarget() { - InjectionTargetImpl injectionTarget = new InjectionTargetImpl(); - return injectionTarget; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LifecycleCallback createLifecycleCallback() { - LifecycleCallbackImpl lifecycleCallback = new LifecycleCallbackImpl(); - return lifecycleCallback; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Listener createListener() { - ListenerImpl listener = new ListenerImpl(); - return listener; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MessageDestination createMessageDestination() { - MessageDestinationImpl messageDestination = new MessageDestinationImpl(); - return messageDestination; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MessageDestinationRef createMessageDestinationRef() { - MessageDestinationRefImpl messageDestinationRef = new MessageDestinationRefImpl(); - return messageDestinationRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParamValue createParamValue() { - ParamValueImpl paramValue = new ParamValueImpl(); - return paramValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PersistenceContextRef createPersistenceContextRef() { - PersistenceContextRefImpl persistenceContextRef = new PersistenceContextRefImpl(); - return persistenceContextRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PersistenceUnitRef createPersistenceUnitRef() { - PersistenceUnitRefImpl persistenceUnitRef = new PersistenceUnitRefImpl(); - return persistenceUnitRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortComponentRef createPortComponentRef() { - PortComponentRefImpl portComponentRef = new PortComponentRefImpl(); - return portComponentRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertyType createPropertyType() { - PropertyTypeImpl propertyType = new PropertyTypeImpl(); - return propertyType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResourceEnvRef createResourceEnvRef() { - ResourceEnvRefImpl resourceEnvRef = new ResourceEnvRefImpl(); - return resourceEnvRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResourceRef createResourceRef() { - ResourceRefImpl resourceRef = new ResourceRefImpl(); - return resourceRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RespectBindingType createRespectBindingType() { - RespectBindingTypeImpl respectBindingType = new RespectBindingTypeImpl(); - return respectBindingType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RunAs createRunAs() { - RunAsImpl runAs = new RunAsImpl(); - return runAs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SecurityRole createSecurityRole() { - SecurityRoleImpl securityRole = new SecurityRoleImpl(); - return securityRole; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SecurityRoleRef createSecurityRoleRef() { - SecurityRoleRefImpl securityRoleRef = new SecurityRoleRefImpl(); - return securityRoleRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceRef createServiceRef() { - ServiceRefImpl serviceRef = new ServiceRefImpl(); - return serviceRef; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceRefHandler createServiceRefHandler() { - ServiceRefHandlerImpl serviceRefHandler = new ServiceRefHandlerImpl(); - return serviceRefHandler; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceRefHandlerChain createServiceRefHandlerChain() { - ServiceRefHandlerChainImpl serviceRefHandlerChain = new ServiceRefHandlerChainImpl(); - return serviceRefHandlerChain; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceRefHandlerChains createServiceRefHandlerChains() { - ServiceRefHandlerChainsImpl serviceRefHandlerChains = new ServiceRefHandlerChainsImpl(); - return serviceRefHandlerChains; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public UrlPatternType createUrlPatternType() { - UrlPatternTypeImpl urlPatternType = new UrlPatternTypeImpl(); - return urlPatternType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddressingResponsesType createAddressingResponsesTypeFromString(EDataType eDataType, String initialValue) { - AddressingResponsesType result = AddressingResponsesType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertAddressingResponsesTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EjbRefType createEjbRefTypeFromString(EDataType eDataType, String initialValue) { - EjbRefType result = EjbRefType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertEjbRefTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public GenericBooleanType createGenericBooleanTypeFromString(EDataType eDataType, String initialValue) { - GenericBooleanType result = GenericBooleanType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertGenericBooleanTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IsolationLevelType createIsolationLevelTypeFromString(EDataType eDataType, String initialValue) { - IsolationLevelType result = IsolationLevelType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertIsolationLevelTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createEnvEntryTypeFromString(EDataType eDataType, String initialValue) { - return createFullyQualifiedClassTypeFromString(JavaeePackage.Literals.FULLY_QUALIFIED_CLASS_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertEnvEntryTypeToString(EDataType eDataType, Object instanceValue) { - return convertFullyQualifiedClassTypeToString(JavaeePackage.Literals.FULLY_QUALIFIED_CLASS_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MessageDestinationUsageType createMessageDestinationUsageTypeFromString(EDataType eDataType, String initialValue) { - MessageDestinationUsageType result = MessageDestinationUsageType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertMessageDestinationUsageTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PersistenceContextType createPersistenceContextTypeFromString(EDataType eDataType, String initialValue) { - PersistenceContextType result = PersistenceContextType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertPersistenceContextTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResAuthType createResAuthTypeFromString(EDataType eDataType, String initialValue) { - ResAuthType result = ResAuthType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertResAuthTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResSharingScopeType createResSharingScopeTypeFromString(EDataType eDataType, String initialValue) { - ResSharingScopeType result = ResSharingScopeType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertResSharingScopeTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddressingResponsesType createAddressingResponsesTypeObjectFromString(EDataType eDataType, String initialValue) { - return createAddressingResponsesTypeFromString(JavaeePackage.Literals.ADDRESSING_RESPONSES_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertAddressingResponsesTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertAddressingResponsesTypeToString(JavaeePackage.Literals.ADDRESSING_RESPONSES_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createDeweyVersionTypeFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertDeweyVersionTypeToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createEJBLinkFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertEJBLinkToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createEjbRefNameTypeFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertEjbRefNameTypeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EjbRefType createEjbRefTypeObjectFromString(EDataType eDataType, String initialValue) { - return createEjbRefTypeFromString(JavaeePackage.Literals.EJB_REF_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertEjbRefTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertEjbRefTypeToString(JavaeePackage.Literals.EJB_REF_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createFullyQualifiedClassTypeFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertFullyQualifiedClassTypeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public GenericBooleanType createGenericBooleanTypeObjectFromString(EDataType eDataType, String initialValue) { - return createGenericBooleanTypeFromString(JavaeePackage.Literals.GENERIC_BOOLEAN_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertGenericBooleanTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertGenericBooleanTypeToString(JavaeePackage.Literals.GENERIC_BOOLEAN_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createHomeFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertHomeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IsolationLevelType createIsolationLevelTypeObjectFromString(EDataType eDataType, String initialValue) { - return createIsolationLevelTypeFromString(JavaeePackage.Literals.ISOLATION_LEVEL_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertIsolationLevelTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertIsolationLevelTypeToString(JavaeePackage.Literals.ISOLATION_LEVEL_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createJavaIdentifierFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJavaIdentifierToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createJavaTypeFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJavaTypeToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createJdbcUrlTypeFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJdbcUrlTypeToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createJNDINameFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJNDINameToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createLocalFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertLocalToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createLocalHomeFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertLocalHomeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createMessageDestinationLinkFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertMessageDestinationLinkToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createMessageDestinationTypeTypeFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertMessageDestinationTypeTypeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MessageDestinationUsageType createMessageDestinationUsageTypeObjectFromString(EDataType eDataType, String initialValue) { - return createMessageDestinationUsageTypeFromString(JavaeePackage.Literals.MESSAGE_DESTINATION_USAGE_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertMessageDestinationUsageTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertMessageDestinationUsageTypeToString(JavaeePackage.Literals.MESSAGE_DESTINATION_USAGE_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createPathTypeFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertPathTypeToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PersistenceContextType createPersistenceContextTypeObjectFromString(EDataType eDataType, String initialValue) { - return createPersistenceContextTypeFromString(JavaeePackage.Literals.PERSISTENCE_CONTEXT_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertPersistenceContextTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertPersistenceContextTypeToString(JavaeePackage.Literals.PERSISTENCE_CONTEXT_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<String> createProtocolBindingListTypeFromString(EDataType eDataType, String initialValue) { - if (initialValue == null) return null; - List<String> result = new ArrayList<String>(); - for (StringTokenizer stringTokenizer = new StringTokenizer(initialValue); stringTokenizer.hasMoreTokens(); ) { - String item = stringTokenizer.nextToken(); - result.add(createProtocolBindingTypeFromString(JavaeePackage.Literals.PROTOCOL_BINDING_TYPE, item)); - } - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertProtocolBindingListTypeToString(EDataType eDataType, Object instanceValue) { - if (instanceValue == null) return null; - List<?> list = (List<?>)instanceValue; - if (list.isEmpty()) return ""; //$NON-NLS-1$ - StringBuffer result = new StringBuffer(); - for (Object item : list) { - result.append(convertProtocolBindingTypeToString(JavaeePackage.Literals.PROTOCOL_BINDING_TYPE, item)); - result.append(' '); - } - return result.substring(0, result.length() - 1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createProtocolBindingTypeFromString(EDataType eDataType, String initialValue) { - if (initialValue == null) return null; - String result = null; - RuntimeException exception = null; - try { - result = (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.ANY_URI, initialValue); - if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { - return result; - } - } - catch (RuntimeException e) { - exception = e; - } - try { - result = createProtocolURIAliasTypeFromString(JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE, initialValue); - if (result != null && Diagnostician.INSTANCE.validate(eDataType, result, null, null)) { - return result; - } - } - catch (RuntimeException e) { - exception = e; - } - if (result != null || exception == null) return result; - - throw exception; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertProtocolBindingTypeToString(EDataType eDataType, Object instanceValue) { - if (instanceValue == null) return null; - if (XMLTypePackage.Literals.ANY_URI.isInstance(instanceValue)) { - try { - String value = XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.ANY_URI, instanceValue); - if (value != null) return value; - } - catch (Exception e) { - // Keep trying other member types until all have failed. - } - } - if (JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE.isInstance(instanceValue)) { - try { - String value = convertProtocolURIAliasTypeToString(JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE, instanceValue); - if (value != null) return value; - } - catch (Exception e) { - // Keep trying other member types until all have failed. - } - } - throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+eDataType.getName()); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createProtocolURIAliasTypeFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertProtocolURIAliasTypeToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createQnamePatternFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertQnamePatternToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createRemoteFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertRemoteToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResAuthType createResAuthTypeObjectFromString(EDataType eDataType, String initialValue) { - return createResAuthTypeFromString(JavaeePackage.Literals.RES_AUTH_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertResAuthTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertResAuthTypeToString(JavaeePackage.Literals.RES_AUTH_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResSharingScopeType createResSharingScopeTypeObjectFromString(EDataType eDataType, String initialValue) { - return createResSharingScopeTypeFromString(JavaeePackage.Literals.RES_SHARING_SCOPE_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertResSharingScopeTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertResSharingScopeTypeToString(JavaeePackage.Literals.RES_SHARING_SCOPE_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createRoleNameFromString(EDataType eDataType, String initialValue) { - return (String)super.createFromString(eDataType, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertRoleNameToString(EDataType eDataType, Object instanceValue) { - return super.convertToString(eDataType, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Boolean createTrueFalseTypeFromString(EDataType eDataType, String initialValue) { - return (Boolean)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.BOOLEAN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertTrueFalseTypeToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.BOOLEAN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Boolean createTrueFalseTypeObjectFromString(EDataType eDataType, String initialValue) { - return createTrueFalseTypeFromString(JavaeePackage.Literals.TRUE_FALSE_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertTrueFalseTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertTrueFalseTypeToString(JavaeePackage.Literals.TRUE_FALSE_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeePackage getJavaeePackage() { - return (JavaeePackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static JavaeePackage getPackage() { - return JavaeePackage.eINSTANCE; - } - -} //JavaeeFactoryImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java deleted file mode 100644 index 7b8c15637..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java +++ /dev/null @@ -1,5322 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.List; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EValidator; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.emf.ecore.xml.namespace.XMLNamespacePackage; - -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; - -import org.eclipse.jst.j2ee.core.internal.plugin.J2EECorePlugin; -import org.eclipse.jst.j2ee.internal.J2EEInit; - -import org.eclipse.jst.javaee.core.AddressingResponsesType; -import org.eclipse.jst.javaee.core.AddressingType; -import org.eclipse.jst.javaee.core.DataSourceType; -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.EjbLocalRef; -import org.eclipse.jst.javaee.core.EjbRef; -import org.eclipse.jst.javaee.core.EjbRefType; -import org.eclipse.jst.javaee.core.EmptyType; -import org.eclipse.jst.javaee.core.EnvEntry; -import org.eclipse.jst.javaee.core.GenericBooleanType; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.IsolationLevelType; -import org.eclipse.jst.javaee.core.JavaeeFactory; -import org.eclipse.jst.javaee.core.LifecycleCallback; -import org.eclipse.jst.javaee.core.Listener; -import org.eclipse.jst.javaee.core.MessageDestination; -import org.eclipse.jst.javaee.core.MessageDestinationRef; -import org.eclipse.jst.javaee.core.MessageDestinationUsageType; -import org.eclipse.jst.javaee.core.ParamValue; -import org.eclipse.jst.javaee.core.PersistenceContextRef; -import org.eclipse.jst.javaee.core.PersistenceContextType; -import org.eclipse.jst.javaee.core.PersistenceUnitRef; -import org.eclipse.jst.javaee.core.PortComponentRef; -import org.eclipse.jst.javaee.core.PropertyType; -import org.eclipse.jst.javaee.core.ResAuthType; -import org.eclipse.jst.javaee.core.ResSharingScopeType; -import org.eclipse.jst.javaee.core.ResourceEnvRef; -import org.eclipse.jst.javaee.core.ResourceRef; -import org.eclipse.jst.javaee.core.RespectBindingType; -import org.eclipse.jst.javaee.core.RunAs; -import org.eclipse.jst.javaee.core.SecurityRole; -import org.eclipse.jst.javaee.core.SecurityRoleRef; -import org.eclipse.jst.javaee.core.ServiceRef; -import org.eclipse.jst.javaee.core.ServiceRefHandler; -import org.eclipse.jst.javaee.core.ServiceRefHandlerChain; -import org.eclipse.jst.javaee.core.ServiceRefHandlerChains; -import org.eclipse.jst.javaee.core.UrlPatternType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -import org.eclipse.jst.javaee.core.internal.util.JavaeeValidator; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JavaeePackageImpl extends EPackageImpl implements JavaeePackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass addressingTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass dataSourceTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass descriptionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass displayNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ejbLocalRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass ejbRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass emptyTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass envEntryEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass iconEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass injectionTargetEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass lifecycleCallbackEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass listenerEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass messageDestinationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass messageDestinationRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass paramValueEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass persistenceContextRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass persistenceUnitRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass portComponentRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass propertyTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass resourceEnvRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass resourceRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass respectBindingTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass runAsEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass securityRoleEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass securityRoleRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceRefEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceRefHandlerEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceRefHandlerChainEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceRefHandlerChainsEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass urlPatternTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum addressingResponsesTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum ejbRefTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum genericBooleanTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum isolationLevelTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum messageDestinationUsageTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum persistenceContextTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum resAuthTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum resSharingScopeTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType addressingResponsesTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType deweyVersionTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType ejbLinkEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType ejbRefNameTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType ejbRefTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType envEntryTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType fullyQualifiedClassTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType genericBooleanTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType homeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType isolationLevelTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType javaIdentifierEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType javaTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType jdbcUrlTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType jndiNameEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType localEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType localHomeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType messageDestinationLinkEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType messageDestinationTypeTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType messageDestinationUsageTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType pathTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType persistenceContextTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType protocolBindingListTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType protocolBindingTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType protocolURIAliasTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType qnamePatternEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType remoteEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType resAuthTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType resSharingScopeTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType roleNameEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType trueFalseTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType trueFalseTypeObjectEDataType = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage#eNS_URI - * @see #init() - * @generated - */ - private JavaeePackageImpl() { - super(eNS_URI, JavaeeFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private volatile static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link JavaeePackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static JavaeePackage init() { - if (isInited) return (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI); - - // Obtain or create and register package - JavaeePackageImpl theJavaeePackage = (JavaeePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new JavaeePackageImpl()); - - isInited = true; - - // Initialize simple dependencies - XMLNamespacePackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theJavaeePackage.createPackageContents(); - - // Initialize created meta-data - theJavaeePackage.initializePackageContents(); - - // Register package validator - EValidator.Registry.INSTANCE.put - (theJavaeePackage, - new EValidator.Descriptor() { - public EValidator getEValidator() { - return JavaeeValidator.INSTANCE; - } - }); - - // Mark meta-data to indicate it can't be changed - theJavaeePackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(JavaeePackage.eNS_URI, theJavaeePackage); - - J2EEInit.initEMFModels(); - return theJavaeePackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAddressingType() { - return addressingTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAddressingType_Enabled() { - return (EAttribute)addressingTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAddressingType_Required() { - return (EAttribute)addressingTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getAddressingType_Responses() { - return (EAttribute)addressingTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDataSourceType() { - return dataSourceTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDataSourceType_Description() { - return (EReference)dataSourceTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_Name() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_ClassName() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_ServerName() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_PortNumber() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_DatabaseName() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_Url() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_User() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_Password() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDataSourceType_Property() { - return (EReference)dataSourceTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_LoginTimeout() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_Transactional() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_IsolationLevel() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(12); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_InitialPoolSize() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(13); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_MaxPoolSize() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_MinPoolSize() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(15); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_MaxIdleTime() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(16); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_MaxStatements() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(17); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDataSourceType_Id() { - return (EAttribute)dataSourceTypeEClass.getEStructuralFeatures().get(18); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDescription() { - return descriptionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDescription_Value() { - return (EAttribute)descriptionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDescription_Lang() { - return (EAttribute)descriptionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDisplayName() { - return displayNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDisplayName_Value() { - return (EAttribute)displayNameEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDisplayName_Lang() { - return (EAttribute)displayNameEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getEjbLocalRef() { - return ejbLocalRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEjbLocalRef_Descriptions() { - return (EReference)ejbLocalRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_EjbRefName() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_EjbRefType() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_LocalHome() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_Local() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_EjbLink() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_MappedName() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEjbLocalRef_InjectionTargets() { - return (EReference)ejbLocalRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_LookupName() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbLocalRef_Id() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getEjbRef() { - return ejbRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEjbRef_Descriptions() { - return (EReference)ejbRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_EjbRefName() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_EjbRefType() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_Home() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_Remote() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_EjbLink() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_MappedName() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEjbRef_InjectionTargets() { - return (EReference)ejbRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_LookupName() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEjbRef_Id() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getEmptyType() { - return emptyTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEmptyType_Id() { - return (EAttribute)emptyTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getEnvEntry() { - return envEntryEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEnvEntry_Descriptions() { - return (EReference)envEntryEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEnvEntry_EnvEntryName() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEnvEntry_EnvEntryType() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEnvEntry_EnvEntryValue() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEnvEntry_MappedName() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEnvEntry_InjectionTargets() { - return (EReference)envEntryEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEnvEntry_LookupName() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEnvEntry_Id() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIcon() { - return iconEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIcon_SmallIcon() { - return (EAttribute)iconEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIcon_LargeIcon() { - return (EAttribute)iconEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIcon_Id() { - return (EAttribute)iconEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIcon_Lang() { - return (EAttribute)iconEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInjectionTarget() { - return injectionTargetEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInjectionTarget_InjectionTargetClass() { - return (EAttribute)injectionTargetEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getInjectionTarget_InjectionTargetName() { - return (EAttribute)injectionTargetEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getLifecycleCallback() { - return lifecycleCallbackEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLifecycleCallback_LifecycleCallbackClass() { - return (EAttribute)lifecycleCallbackEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLifecycleCallback_LifecycleCallbackMethod() { - return (EAttribute)lifecycleCallbackEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getListener() { - return listenerEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getListener_Descriptions() { - return (EReference)listenerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getListener_DisplayNames() { - return (EReference)listenerEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getListener_Icons() { - return (EReference)listenerEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getListener_ListenerClass() { - return (EAttribute)listenerEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getListener_Id() { - return (EAttribute)listenerEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMessageDestination() { - return messageDestinationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMessageDestination_Descriptions() { - return (EReference)messageDestinationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMessageDestination_DisplayNames() { - return (EReference)messageDestinationEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMessageDestination_Icons() { - return (EReference)messageDestinationEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestination_MessageDestinationName() { - return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestination_MappedName() { - return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestination_LookupName() { - return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestination_Id() { - return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMessageDestinationRef() { - return messageDestinationRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMessageDestinationRef_Descriptions() { - return (EReference)messageDestinationRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_MessageDestinationRefName() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_MessageDestinationType() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_MessageDestinationUsage() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_MessageDestinationLink() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_MappedName() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMessageDestinationRef_InjectionTargets() { - return (EReference)messageDestinationRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_LookupName() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMessageDestinationRef_Id() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getParamValue() { - return paramValueEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getParamValue_Descriptions() { - return (EReference)paramValueEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamValue_ParamName() { - return (EAttribute)paramValueEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamValue_ParamValue() { - return (EAttribute)paramValueEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamValue_Id() { - return (EAttribute)paramValueEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPersistenceContextRef() { - return persistenceContextRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPersistenceContextRef_Descriptions() { - return (EReference)persistenceContextRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceContextRef_PersistenceContextRefName() { - return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceContextRef_PersistenceUnitName() { - return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceContextRef_PersistenceContextType() { - return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPersistenceContextRef_PersistenceProperties() { - return (EReference)persistenceContextRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceContextRef_MappedName() { - return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPersistenceContextRef_InjectionTargets() { - return (EReference)persistenceContextRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceContextRef_Id() { - return (EAttribute)persistenceContextRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPersistenceUnitRef() { - return persistenceUnitRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPersistenceUnitRef_Descriptions() { - return (EReference)persistenceUnitRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceUnitRef_PersistenceUnitRefName() { - return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceUnitRef_PersistenceUnitName() { - return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceUnitRef_MappedName() { - return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPersistenceUnitRef_InjectionTargets() { - return (EReference)persistenceUnitRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPersistenceUnitRef_Id() { - return (EAttribute)persistenceUnitRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPortComponentRef() { - return portComponentRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortComponentRef_ServiceEndpointInterface() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortComponentRef_EnableMtom() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortComponentRef_MtomThreshold() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPortComponentRef_Addressing() { - return (EReference)portComponentRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPortComponentRef_RespectBinding() { - return (EReference)portComponentRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortComponentRef_PortComponentLink() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortComponentRef_Id() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPropertyType() { - return propertyTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPropertyType_Name() { - return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPropertyType_Value() { - return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPropertyType_Id() { - return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getResourceEnvRef() { - return resourceEnvRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceEnvRef_Descriptions() { - return (EReference)resourceEnvRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceEnvRef_ResourceEnvRefName() { - return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceEnvRef_ResourceEnvRefType() { - return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceEnvRef_MappedName() { - return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceEnvRef_InjectionTargets() { - return (EReference)resourceEnvRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceEnvRef_LookupName() { - return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceEnvRef_Id() { - return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getResourceRef() { - return resourceRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceRef_Descriptions() { - return (EReference)resourceRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_ResRefName() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_ResType() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_ResAuth() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_ResSharingScope() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_MappedName() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceRef_InjectionTargets() { - return (EReference)resourceRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_LookupName() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceRef_Id() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRespectBindingType() { - return respectBindingTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRespectBindingType_Enabled() { - return (EAttribute)respectBindingTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRunAs() { - return runAsEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRunAs_Descriptions() { - return (EReference)runAsEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRunAs_RoleName() { - return (EAttribute)runAsEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRunAs_Id() { - return (EAttribute)runAsEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSecurityRole() { - return securityRoleEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSecurityRole_Descriptions() { - return (EReference)securityRoleEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSecurityRole_RoleName() { - return (EAttribute)securityRoleEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSecurityRole_Id() { - return (EAttribute)securityRoleEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSecurityRoleRef() { - return securityRoleRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSecurityRoleRef_Descriptions() { - return (EReference)securityRoleRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSecurityRoleRef_RoleName() { - return (EAttribute)securityRoleRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSecurityRoleRef_RoleLink() { - return (EAttribute)securityRoleRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSecurityRoleRef_Id() { - return (EAttribute)securityRoleRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceRef() { - return serviceRefEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_Descriptions() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_DisplayNames() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_Icons() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_ServiceRefName() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_ServiceInterface() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_ServiceRefType() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_WsdlFile() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_JaxrpcMappingFile() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_ServiceQname() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_PortComponentRefs() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_Handlers() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_HandlerChains() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_MappedName() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(12); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRef_InjectionTargets() { - return (EReference)serviceRefEClass.getEStructuralFeatures().get(13); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_LookupName() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRef_Id() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(15); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceRefHandler() { - return serviceRefHandlerEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRefHandler_Descriptions() { - return (EReference)serviceRefHandlerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRefHandler_DisplayNames() { - return (EReference)serviceRefHandlerEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRefHandler_Icons() { - return (EReference)serviceRefHandlerEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandler_HandlerName() { - return (EAttribute)serviceRefHandlerEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandler_HandlerClass() { - return (EAttribute)serviceRefHandlerEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRefHandler_InitParams() { - return (EReference)serviceRefHandlerEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandler_SoapHeaders() { - return (EAttribute)serviceRefHandlerEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandler_SoapRoles() { - return (EAttribute)serviceRefHandlerEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandler_PortNames() { - return (EAttribute)serviceRefHandlerEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandler_Id() { - return (EAttribute)serviceRefHandlerEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceRefHandlerChain() { - return serviceRefHandlerChainEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandlerChain_ServiceNamePattern() { - return (EAttribute)serviceRefHandlerChainEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandlerChain_PortNamePattern() { - return (EAttribute)serviceRefHandlerChainEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandlerChain_ProtocolBindings() { - return (EAttribute)serviceRefHandlerChainEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRefHandlerChain_Handlers() { - return (EReference)serviceRefHandlerChainEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandlerChain_Id() { - return (EAttribute)serviceRefHandlerChainEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceRefHandlerChains() { - return serviceRefHandlerChainsEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceRefHandlerChains_HandlerChains() { - return (EReference)serviceRefHandlerChainsEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceRefHandlerChains_Id() { - return (EAttribute)serviceRefHandlerChainsEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getUrlPatternType() { - return urlPatternTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getUrlPatternType_Value() { - return (EAttribute)urlPatternTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getAddressingResponsesType() { - return addressingResponsesTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getEjbRefType() { - return ejbRefTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getGenericBooleanType() { - return genericBooleanTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getIsolationLevelType() { - return isolationLevelTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getEnvEntryType() { - return envEntryTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getMessageDestinationUsageType() { - return messageDestinationUsageTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getPersistenceContextType() { - return persistenceContextTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getResAuthType() { - return resAuthTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getResSharingScopeType() { - return resSharingScopeTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getAddressingResponsesTypeObject() { - return addressingResponsesTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getDeweyVersionType() { - return deweyVersionTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getEJBLink() { - return ejbLinkEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getEjbRefNameType() { - return ejbRefNameTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getEjbRefTypeObject() { - return ejbRefTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getFullyQualifiedClassType() { - return fullyQualifiedClassTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getGenericBooleanTypeObject() { - return genericBooleanTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getHome() { - return homeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getIsolationLevelTypeObject() { - return isolationLevelTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getJavaIdentifier() { - return javaIdentifierEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getJavaType() { - return javaTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getJdbcUrlType() { - return jdbcUrlTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getJNDIName() { - return jndiNameEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getLocal() { - return localEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getLocalHome() { - return localHomeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getMessageDestinationLink() { - return messageDestinationLinkEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getMessageDestinationTypeType() { - return messageDestinationTypeTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getMessageDestinationUsageTypeObject() { - return messageDestinationUsageTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getPathType() { - return pathTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getPersistenceContextTypeObject() { - return persistenceContextTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getProtocolBindingListType() { - return protocolBindingListTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getProtocolBindingType() { - return protocolBindingTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getProtocolURIAliasType() { - return protocolURIAliasTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getQnamePattern() { - return qnamePatternEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getRemote() { - return remoteEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getResAuthTypeObject() { - return resAuthTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getResSharingScopeTypeObject() { - return resSharingScopeTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getRoleName() { - return roleNameEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getTrueFalseType() { - return trueFalseTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getTrueFalseTypeObject() { - return trueFalseTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeFactory getJavaeeFactory() { - return (JavaeeFactory)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 - addressingTypeEClass = createEClass(ADDRESSING_TYPE); - createEAttribute(addressingTypeEClass, ADDRESSING_TYPE__ENABLED); - createEAttribute(addressingTypeEClass, ADDRESSING_TYPE__REQUIRED); - createEAttribute(addressingTypeEClass, ADDRESSING_TYPE__RESPONSES); - - dataSourceTypeEClass = createEClass(DATA_SOURCE_TYPE); - createEReference(dataSourceTypeEClass, DATA_SOURCE_TYPE__DESCRIPTION); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__NAME); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__CLASS_NAME); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__SERVER_NAME); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__PORT_NUMBER); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__DATABASE_NAME); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__URL); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__USER); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__PASSWORD); - createEReference(dataSourceTypeEClass, DATA_SOURCE_TYPE__PROPERTY); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__LOGIN_TIMEOUT); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__TRANSACTIONAL); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__ISOLATION_LEVEL); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__INITIAL_POOL_SIZE); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MAX_POOL_SIZE); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MIN_POOL_SIZE); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MAX_IDLE_TIME); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__MAX_STATEMENTS); - createEAttribute(dataSourceTypeEClass, DATA_SOURCE_TYPE__ID); - - descriptionEClass = createEClass(DESCRIPTION); - createEAttribute(descriptionEClass, DESCRIPTION__VALUE); - createEAttribute(descriptionEClass, DESCRIPTION__LANG); - - displayNameEClass = createEClass(DISPLAY_NAME); - createEAttribute(displayNameEClass, DISPLAY_NAME__VALUE); - createEAttribute(displayNameEClass, DISPLAY_NAME__LANG); - - ejbLocalRefEClass = createEClass(EJB_LOCAL_REF); - createEReference(ejbLocalRefEClass, EJB_LOCAL_REF__DESCRIPTIONS); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__EJB_REF_NAME); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__EJB_REF_TYPE); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__LOCAL_HOME); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__LOCAL); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__EJB_LINK); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__MAPPED_NAME); - createEReference(ejbLocalRefEClass, EJB_LOCAL_REF__INJECTION_TARGETS); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__LOOKUP_NAME); - createEAttribute(ejbLocalRefEClass, EJB_LOCAL_REF__ID); - - ejbRefEClass = createEClass(EJB_REF); - createEReference(ejbRefEClass, EJB_REF__DESCRIPTIONS); - createEAttribute(ejbRefEClass, EJB_REF__EJB_REF_NAME); - createEAttribute(ejbRefEClass, EJB_REF__EJB_REF_TYPE); - createEAttribute(ejbRefEClass, EJB_REF__HOME); - createEAttribute(ejbRefEClass, EJB_REF__REMOTE); - createEAttribute(ejbRefEClass, EJB_REF__EJB_LINK); - createEAttribute(ejbRefEClass, EJB_REF__MAPPED_NAME); - createEReference(ejbRefEClass, EJB_REF__INJECTION_TARGETS); - createEAttribute(ejbRefEClass, EJB_REF__LOOKUP_NAME); - createEAttribute(ejbRefEClass, EJB_REF__ID); - - emptyTypeEClass = createEClass(EMPTY_TYPE); - createEAttribute(emptyTypeEClass, EMPTY_TYPE__ID); - - envEntryEClass = createEClass(ENV_ENTRY); - createEReference(envEntryEClass, ENV_ENTRY__DESCRIPTIONS); - createEAttribute(envEntryEClass, ENV_ENTRY__ENV_ENTRY_NAME); - createEAttribute(envEntryEClass, ENV_ENTRY__ENV_ENTRY_TYPE); - createEAttribute(envEntryEClass, ENV_ENTRY__ENV_ENTRY_VALUE); - createEAttribute(envEntryEClass, ENV_ENTRY__MAPPED_NAME); - createEReference(envEntryEClass, ENV_ENTRY__INJECTION_TARGETS); - createEAttribute(envEntryEClass, ENV_ENTRY__LOOKUP_NAME); - createEAttribute(envEntryEClass, ENV_ENTRY__ID); - - iconEClass = createEClass(ICON); - createEAttribute(iconEClass, ICON__SMALL_ICON); - createEAttribute(iconEClass, ICON__LARGE_ICON); - createEAttribute(iconEClass, ICON__ID); - createEAttribute(iconEClass, ICON__LANG); - - injectionTargetEClass = createEClass(INJECTION_TARGET); - createEAttribute(injectionTargetEClass, INJECTION_TARGET__INJECTION_TARGET_CLASS); - createEAttribute(injectionTargetEClass, INJECTION_TARGET__INJECTION_TARGET_NAME); - - lifecycleCallbackEClass = createEClass(LIFECYCLE_CALLBACK); - createEAttribute(lifecycleCallbackEClass, LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS); - createEAttribute(lifecycleCallbackEClass, LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD); - - listenerEClass = createEClass(LISTENER); - createEReference(listenerEClass, LISTENER__DESCRIPTIONS); - createEReference(listenerEClass, LISTENER__DISPLAY_NAMES); - createEReference(listenerEClass, LISTENER__ICONS); - createEAttribute(listenerEClass, LISTENER__LISTENER_CLASS); - createEAttribute(listenerEClass, LISTENER__ID); - - messageDestinationEClass = createEClass(MESSAGE_DESTINATION); - createEReference(messageDestinationEClass, MESSAGE_DESTINATION__DESCRIPTIONS); - createEReference(messageDestinationEClass, MESSAGE_DESTINATION__DISPLAY_NAMES); - createEReference(messageDestinationEClass, MESSAGE_DESTINATION__ICONS); - createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME); - createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__MAPPED_NAME); - createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__LOOKUP_NAME); - createEAttribute(messageDestinationEClass, MESSAGE_DESTINATION__ID); - - messageDestinationRefEClass = createEClass(MESSAGE_DESTINATION_REF); - createEReference(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__DESCRIPTIONS); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__MAPPED_NAME); - createEReference(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__INJECTION_TARGETS); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__LOOKUP_NAME); - createEAttribute(messageDestinationRefEClass, MESSAGE_DESTINATION_REF__ID); - - paramValueEClass = createEClass(PARAM_VALUE); - createEReference(paramValueEClass, PARAM_VALUE__DESCRIPTIONS); - createEAttribute(paramValueEClass, PARAM_VALUE__PARAM_NAME); - createEAttribute(paramValueEClass, PARAM_VALUE__PARAM_VALUE); - createEAttribute(paramValueEClass, PARAM_VALUE__ID); - - persistenceContextRefEClass = createEClass(PERSISTENCE_CONTEXT_REF); - createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__DESCRIPTIONS); - createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME); - createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME); - createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE); - createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES); - createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__MAPPED_NAME); - createEReference(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS); - createEAttribute(persistenceContextRefEClass, PERSISTENCE_CONTEXT_REF__ID); - - persistenceUnitRefEClass = createEClass(PERSISTENCE_UNIT_REF); - createEReference(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__DESCRIPTIONS); - createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME); - createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME); - createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__MAPPED_NAME); - createEReference(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__INJECTION_TARGETS); - createEAttribute(persistenceUnitRefEClass, PERSISTENCE_UNIT_REF__ID); - - portComponentRefEClass = createEClass(PORT_COMPONENT_REF); - createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE); - createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__ENABLE_MTOM); - createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__MTOM_THRESHOLD); - createEReference(portComponentRefEClass, PORT_COMPONENT_REF__ADDRESSING); - createEReference(portComponentRefEClass, PORT_COMPONENT_REF__RESPECT_BINDING); - createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__PORT_COMPONENT_LINK); - createEAttribute(portComponentRefEClass, PORT_COMPONENT_REF__ID); - - propertyTypeEClass = createEClass(PROPERTY_TYPE); - createEAttribute(propertyTypeEClass, PROPERTY_TYPE__NAME); - createEAttribute(propertyTypeEClass, PROPERTY_TYPE__VALUE); - createEAttribute(propertyTypeEClass, PROPERTY_TYPE__ID); - - resourceEnvRefEClass = createEClass(RESOURCE_ENV_REF); - createEReference(resourceEnvRefEClass, RESOURCE_ENV_REF__DESCRIPTIONS); - createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME); - createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE); - createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__MAPPED_NAME); - createEReference(resourceEnvRefEClass, RESOURCE_ENV_REF__INJECTION_TARGETS); - createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__LOOKUP_NAME); - createEAttribute(resourceEnvRefEClass, RESOURCE_ENV_REF__ID); - - resourceRefEClass = createEClass(RESOURCE_REF); - createEReference(resourceRefEClass, RESOURCE_REF__DESCRIPTIONS); - createEAttribute(resourceRefEClass, RESOURCE_REF__RES_REF_NAME); - createEAttribute(resourceRefEClass, RESOURCE_REF__RES_TYPE); - createEAttribute(resourceRefEClass, RESOURCE_REF__RES_AUTH); - createEAttribute(resourceRefEClass, RESOURCE_REF__RES_SHARING_SCOPE); - createEAttribute(resourceRefEClass, RESOURCE_REF__MAPPED_NAME); - createEReference(resourceRefEClass, RESOURCE_REF__INJECTION_TARGETS); - createEAttribute(resourceRefEClass, RESOURCE_REF__LOOKUP_NAME); - createEAttribute(resourceRefEClass, RESOURCE_REF__ID); - - respectBindingTypeEClass = createEClass(RESPECT_BINDING_TYPE); - createEAttribute(respectBindingTypeEClass, RESPECT_BINDING_TYPE__ENABLED); - - runAsEClass = createEClass(RUN_AS); - createEReference(runAsEClass, RUN_AS__DESCRIPTIONS); - createEAttribute(runAsEClass, RUN_AS__ROLE_NAME); - createEAttribute(runAsEClass, RUN_AS__ID); - - securityRoleEClass = createEClass(SECURITY_ROLE); - createEReference(securityRoleEClass, SECURITY_ROLE__DESCRIPTIONS); - createEAttribute(securityRoleEClass, SECURITY_ROLE__ROLE_NAME); - createEAttribute(securityRoleEClass, SECURITY_ROLE__ID); - - securityRoleRefEClass = createEClass(SECURITY_ROLE_REF); - createEReference(securityRoleRefEClass, SECURITY_ROLE_REF__DESCRIPTIONS); - createEAttribute(securityRoleRefEClass, SECURITY_ROLE_REF__ROLE_NAME); - createEAttribute(securityRoleRefEClass, SECURITY_ROLE_REF__ROLE_LINK); - createEAttribute(securityRoleRefEClass, SECURITY_ROLE_REF__ID); - - serviceRefEClass = createEClass(SERVICE_REF); - createEReference(serviceRefEClass, SERVICE_REF__DESCRIPTIONS); - createEReference(serviceRefEClass, SERVICE_REF__DISPLAY_NAMES); - createEReference(serviceRefEClass, SERVICE_REF__ICONS); - createEAttribute(serviceRefEClass, SERVICE_REF__SERVICE_REF_NAME); - createEAttribute(serviceRefEClass, SERVICE_REF__SERVICE_INTERFACE); - createEAttribute(serviceRefEClass, SERVICE_REF__SERVICE_REF_TYPE); - createEAttribute(serviceRefEClass, SERVICE_REF__WSDL_FILE); - createEAttribute(serviceRefEClass, SERVICE_REF__JAXRPC_MAPPING_FILE); - createEAttribute(serviceRefEClass, SERVICE_REF__SERVICE_QNAME); - createEReference(serviceRefEClass, SERVICE_REF__PORT_COMPONENT_REFS); - createEReference(serviceRefEClass, SERVICE_REF__HANDLERS); - createEReference(serviceRefEClass, SERVICE_REF__HANDLER_CHAINS); - createEAttribute(serviceRefEClass, SERVICE_REF__MAPPED_NAME); - createEReference(serviceRefEClass, SERVICE_REF__INJECTION_TARGETS); - createEAttribute(serviceRefEClass, SERVICE_REF__LOOKUP_NAME); - createEAttribute(serviceRefEClass, SERVICE_REF__ID); - - serviceRefHandlerEClass = createEClass(SERVICE_REF_HANDLER); - createEReference(serviceRefHandlerEClass, SERVICE_REF_HANDLER__DESCRIPTIONS); - createEReference(serviceRefHandlerEClass, SERVICE_REF_HANDLER__DISPLAY_NAMES); - createEReference(serviceRefHandlerEClass, SERVICE_REF_HANDLER__ICONS); - createEAttribute(serviceRefHandlerEClass, SERVICE_REF_HANDLER__HANDLER_NAME); - createEAttribute(serviceRefHandlerEClass, SERVICE_REF_HANDLER__HANDLER_CLASS); - createEReference(serviceRefHandlerEClass, SERVICE_REF_HANDLER__INIT_PARAMS); - createEAttribute(serviceRefHandlerEClass, SERVICE_REF_HANDLER__SOAP_HEADERS); - createEAttribute(serviceRefHandlerEClass, SERVICE_REF_HANDLER__SOAP_ROLES); - createEAttribute(serviceRefHandlerEClass, SERVICE_REF_HANDLER__PORT_NAMES); - createEAttribute(serviceRefHandlerEClass, SERVICE_REF_HANDLER__ID); - - serviceRefHandlerChainEClass = createEClass(SERVICE_REF_HANDLER_CHAIN); - createEAttribute(serviceRefHandlerChainEClass, SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN); - createEAttribute(serviceRefHandlerChainEClass, SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN); - createEAttribute(serviceRefHandlerChainEClass, SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS); - createEReference(serviceRefHandlerChainEClass, SERVICE_REF_HANDLER_CHAIN__HANDLERS); - createEAttribute(serviceRefHandlerChainEClass, SERVICE_REF_HANDLER_CHAIN__ID); - - serviceRefHandlerChainsEClass = createEClass(SERVICE_REF_HANDLER_CHAINS); - createEReference(serviceRefHandlerChainsEClass, SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS); - createEAttribute(serviceRefHandlerChainsEClass, SERVICE_REF_HANDLER_CHAINS__ID); - - urlPatternTypeEClass = createEClass(URL_PATTERN_TYPE); - createEAttribute(urlPatternTypeEClass, URL_PATTERN_TYPE__VALUE); - - // Create enums - addressingResponsesTypeEEnum = createEEnum(ADDRESSING_RESPONSES_TYPE); - ejbRefTypeEEnum = createEEnum(EJB_REF_TYPE); - genericBooleanTypeEEnum = createEEnum(GENERIC_BOOLEAN_TYPE); - isolationLevelTypeEEnum = createEEnum(ISOLATION_LEVEL_TYPE); - messageDestinationUsageTypeEEnum = createEEnum(MESSAGE_DESTINATION_USAGE_TYPE); - persistenceContextTypeEEnum = createEEnum(PERSISTENCE_CONTEXT_TYPE); - resAuthTypeEEnum = createEEnum(RES_AUTH_TYPE); - resSharingScopeTypeEEnum = createEEnum(RES_SHARING_SCOPE_TYPE); - - // Create data types - addressingResponsesTypeObjectEDataType = createEDataType(ADDRESSING_RESPONSES_TYPE_OBJECT); - deweyVersionTypeEDataType = createEDataType(DEWEY_VERSION_TYPE); - ejbLinkEDataType = createEDataType(EJB_LINK); - ejbRefNameTypeEDataType = createEDataType(EJB_REF_NAME_TYPE); - ejbRefTypeObjectEDataType = createEDataType(EJB_REF_TYPE_OBJECT); - envEntryTypeEDataType = createEDataType(ENV_ENTRY_TYPE); - fullyQualifiedClassTypeEDataType = createEDataType(FULLY_QUALIFIED_CLASS_TYPE); - genericBooleanTypeObjectEDataType = createEDataType(GENERIC_BOOLEAN_TYPE_OBJECT); - homeEDataType = createEDataType(HOME); - isolationLevelTypeObjectEDataType = createEDataType(ISOLATION_LEVEL_TYPE_OBJECT); - javaIdentifierEDataType = createEDataType(JAVA_IDENTIFIER); - javaTypeEDataType = createEDataType(JAVA_TYPE); - jdbcUrlTypeEDataType = createEDataType(JDBC_URL_TYPE); - jndiNameEDataType = createEDataType(JNDI_NAME); - localEDataType = createEDataType(LOCAL); - localHomeEDataType = createEDataType(LOCAL_HOME); - messageDestinationLinkEDataType = createEDataType(MESSAGE_DESTINATION_LINK); - messageDestinationTypeTypeEDataType = createEDataType(MESSAGE_DESTINATION_TYPE_TYPE); - messageDestinationUsageTypeObjectEDataType = createEDataType(MESSAGE_DESTINATION_USAGE_TYPE_OBJECT); - pathTypeEDataType = createEDataType(PATH_TYPE); - persistenceContextTypeObjectEDataType = createEDataType(PERSISTENCE_CONTEXT_TYPE_OBJECT); - protocolBindingListTypeEDataType = createEDataType(PROTOCOL_BINDING_LIST_TYPE); - protocolBindingTypeEDataType = createEDataType(PROTOCOL_BINDING_TYPE); - protocolURIAliasTypeEDataType = createEDataType(PROTOCOL_URI_ALIAS_TYPE); - qnamePatternEDataType = createEDataType(QNAME_PATTERN); - remoteEDataType = createEDataType(REMOTE); - resAuthTypeObjectEDataType = createEDataType(RES_AUTH_TYPE_OBJECT); - resSharingScopeTypeObjectEDataType = createEDataType(RES_SHARING_SCOPE_TYPE_OBJECT); - roleNameEDataType = createEDataType(ROLE_NAME); - trueFalseTypeEDataType = createEDataType(TRUE_FALSE_TYPE); - trueFalseTypeObjectEDataType = createEDataType(TRUE_FALSE_TYPE_OBJECT); - } - - /** - * <!-- 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 - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - XMLNamespacePackage theXMLNamespacePackage = (XMLNamespacePackage)EPackage.Registry.INSTANCE.getEPackage(XMLNamespacePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - boolean hasLock = false; - try { - hasLock = J2EEInit.aquireInitializePackageContentsLock(); - } catch (InterruptedException e) { - J2EECorePlugin.logError(e); - } - - try{ - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(addressingTypeEClass, AddressingType.class, "AddressingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getAddressingType_Enabled(), this.getTrueFalseType(), "enabled", null, 0, 1, AddressingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getAddressingType_Required(), this.getTrueFalseType(), "required", null, 0, 1, AddressingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getAddressingType_Responses(), this.getAddressingResponsesType(), "responses", null, 0, 1, AddressingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(dataSourceTypeEClass, DataSourceType.class, "DataSourceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getDataSourceType_Description(), this.getDescription(), null, "description", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_Name(), this.getJNDIName(), "name", null, 1, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_ClassName(), this.getFullyQualifiedClassType(), "className", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_ServerName(), theXMLTypePackage.getString(), "serverName", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_PortNumber(), theXMLTypePackage.getInteger(), "portNumber", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_DatabaseName(), theXMLTypePackage.getString(), "databaseName", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_Url(), this.getJdbcUrlType(), "url", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_User(), theXMLTypePackage.getString(), "user", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_Password(), theXMLTypePackage.getString(), "password", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getDataSourceType_Property(), this.getPropertyType(), null, "property", null, 0, -1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_LoginTimeout(), theXMLTypePackage.getInteger(), "loginTimeout", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_Transactional(), theXMLTypePackage.getBoolean(), "transactional", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_IsolationLevel(), this.getIsolationLevelType(), "isolationLevel", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_InitialPoolSize(), theXMLTypePackage.getInteger(), "initialPoolSize", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_MaxPoolSize(), theXMLTypePackage.getInteger(), "maxPoolSize", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_MinPoolSize(), theXMLTypePackage.getInteger(), "minPoolSize", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_MaxIdleTime(), theXMLTypePackage.getInteger(), "maxIdleTime", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_MaxStatements(), theXMLTypePackage.getInteger(), "maxStatements", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDataSourceType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DataSourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getDescription_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDescription_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(displayNameEClass, DisplayName.class, "DisplayName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getDisplayName_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, DisplayName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDisplayName_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, DisplayName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(ejbLocalRefEClass, EjbLocalRef.class, "EjbLocalRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getEjbLocalRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_EjbRefName(), this.getEjbRefNameType(), "ejbRefName", null, 1, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_EjbRefType(), this.getEjbRefType(), "ejbRefType", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_LocalHome(), this.getLocalHome(), "localHome", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_Local(), this.getLocal(), "local", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_EjbLink(), this.getEJBLink(), "ejbLink", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getEjbLocalRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbLocalRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(ejbRefEClass, EjbRef.class, "EjbRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getEjbRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_EjbRefName(), this.getEjbRefNameType(), "ejbRefName", null, 1, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_EjbRefType(), this.getEjbRefType(), "ejbRefType", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_Home(), this.getHome(), "home", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_Remote(), this.getRemote(), "remote", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_EjbLink(), this.getEJBLink(), "ejbLink", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getEjbRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEjbRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(emptyTypeEClass, EmptyType.class, "EmptyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getEmptyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EmptyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(envEntryEClass, EnvEntry.class, "EnvEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getEnvEntry_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEnvEntry_EnvEntryName(), this.getJNDIName(), "envEntryName", null, 1, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEnvEntry_EnvEntryType(), this.getEnvEntryType(), "envEntryType", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEnvEntry_EnvEntryValue(), theXMLTypePackage.getString(), "envEntryValue", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEnvEntry_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getEnvEntry_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEnvEntry_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEnvEntry_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(iconEClass, Icon.class, "Icon", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getIcon_SmallIcon(), this.getPathType(), "smallIcon", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getIcon_LargeIcon(), this.getPathType(), "largeIcon", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getIcon_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getIcon_Lang(), theXMLNamespacePackage.getLangType(), "lang", null, 0, 1, Icon.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(injectionTargetEClass, InjectionTarget.class, "InjectionTarget", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getInjectionTarget_InjectionTargetClass(), this.getFullyQualifiedClassType(), "injectionTargetClass", null, 1, 1, InjectionTarget.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getInjectionTarget_InjectionTargetName(), this.getJavaIdentifier(), "injectionTargetName", null, 1, 1, InjectionTarget.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(lifecycleCallbackEClass, LifecycleCallback.class, "LifecycleCallback", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getLifecycleCallback_LifecycleCallbackClass(), this.getFullyQualifiedClassType(), "lifecycleCallbackClass", null, 0, 1, LifecycleCallback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getLifecycleCallback_LifecycleCallbackMethod(), this.getJavaIdentifier(), "lifecycleCallbackMethod", null, 1, 1, LifecycleCallback.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(listenerEClass, Listener.class, "Listener", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getListener_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getListener_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getListener_Icons(), this.getIcon(), null, "icons", null, 0, -1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getListener_ListenerClass(), this.getFullyQualifiedClassType(), "listenerClass", null, 1, 1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getListener_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, Listener.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(messageDestinationEClass, MessageDestination.class, "MessageDestination", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getMessageDestination_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getMessageDestination_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getMessageDestination_Icons(), this.getIcon(), null, "icons", null, 0, -1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestination_MessageDestinationName(), theXMLTypePackage.getToken(), "messageDestinationName", null, 1, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestination_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestination_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestination_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestination.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(messageDestinationRefEClass, MessageDestinationRef.class, "MessageDestinationRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getMessageDestinationRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_MessageDestinationRefName(), this.getJNDIName(), "messageDestinationRefName", null, 1, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_MessageDestinationType(), this.getMessageDestinationTypeType(), "messageDestinationType", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_MessageDestinationUsage(), this.getMessageDestinationUsageType(), "messageDestinationUsage", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_MessageDestinationLink(), this.getMessageDestinationLink(), "messageDestinationLink", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getMessageDestinationRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getMessageDestinationRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(paramValueEClass, ParamValue.class, "ParamValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getParamValue_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getParamValue_ParamName(), theXMLTypePackage.getToken(), "paramName", null, 1, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getParamValue_ParamValue(), theXMLTypePackage.getString(), "paramValue", null, 1, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getParamValue_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ParamValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(persistenceContextRefEClass, PersistenceContextRef.class, "PersistenceContextRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getPersistenceContextRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceContextRef_PersistenceContextRefName(), this.getJNDIName(), "persistenceContextRefName", null, 1, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceContextRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceContextRef_PersistenceContextType(), this.getPersistenceContextType(), "persistenceContextType", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getPersistenceContextRef_PersistenceProperties(), this.getPropertyType(), null, "persistenceProperties", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceContextRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getPersistenceContextRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceContextRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(persistenceUnitRefEClass, PersistenceUnitRef.class, "PersistenceUnitRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getPersistenceUnitRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceUnitRef_PersistenceUnitRefName(), this.getJNDIName(), "persistenceUnitRefName", null, 1, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceUnitRef_PersistenceUnitName(), theXMLTypePackage.getToken(), "persistenceUnitName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceUnitRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getPersistenceUnitRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPersistenceUnitRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PersistenceUnitRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(portComponentRefEClass, PortComponentRef.class, "PortComponentRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getPortComponentRef_ServiceEndpointInterface(), this.getFullyQualifiedClassType(), "serviceEndpointInterface", null, 1, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPortComponentRef_EnableMtom(), this.getTrueFalseType(), "enableMtom", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPortComponentRef_MtomThreshold(), theXMLTypePackage.getNonNegativeInteger(), "mtomThreshold", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getPortComponentRef_Addressing(), this.getAddressingType(), null, "addressing", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getPortComponentRef_RespectBinding(), this.getRespectBindingType(), null, "respectBinding", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPortComponentRef_PortComponentLink(), theXMLTypePackage.getToken(), "portComponentLink", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPortComponentRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PortComponentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(propertyTypeEClass, PropertyType.class, "PropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getPropertyType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPropertyType_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getPropertyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(resourceEnvRefEClass, ResourceEnvRef.class, "ResourceEnvRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getResourceEnvRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceEnvRef_ResourceEnvRefName(), this.getJNDIName(), "resourceEnvRefName", null, 1, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceEnvRef_ResourceEnvRefType(), this.getFullyQualifiedClassType(), "resourceEnvRefType", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceEnvRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getResourceEnvRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceEnvRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceEnvRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceEnvRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(resourceRefEClass, ResourceRef.class, "ResourceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getResourceRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_ResRefName(), this.getJNDIName(), "resRefName", null, 1, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_ResType(), this.getFullyQualifiedClassType(), "resType", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_ResAuth(), this.getResAuthType(), "resAuth", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_ResSharingScope(), this.getResSharingScopeType(), "resSharingScope", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getResourceRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getResourceRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(respectBindingTypeEClass, RespectBindingType.class, "RespectBindingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getRespectBindingType_Enabled(), this.getTrueFalseType(), "enabled", null, 0, 1, RespectBindingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(runAsEClass, RunAs.class, "RunAs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getRunAs_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getRunAs_RoleName(), this.getRoleName(), "roleName", null, 1, 1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getRunAs_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RunAs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(securityRoleEClass, SecurityRole.class, "SecurityRole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSecurityRole_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSecurityRole_RoleName(), this.getRoleName(), "roleName", null, 1, 1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSecurityRole_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityRole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(securityRoleRefEClass, SecurityRoleRef.class, "SecurityRoleRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getSecurityRoleRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSecurityRoleRef_RoleName(), this.getRoleName(), "roleName", null, 1, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSecurityRoleRef_RoleLink(), this.getRoleName(), "roleLink", null, 0, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getSecurityRoleRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SecurityRoleRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(serviceRefEClass, ServiceRef.class, "ServiceRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getServiceRef_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRef_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRef_Icons(), this.getIcon(), null, "icons", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_ServiceRefName(), this.getJNDIName(), "serviceRefName", null, 1, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_ServiceInterface(), this.getFullyQualifiedClassType(), "serviceInterface", null, 1, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_ServiceRefType(), this.getFullyQualifiedClassType(), "serviceRefType", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_WsdlFile(), theXMLTypePackage.getAnyURI(), "wsdlFile", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_JaxrpcMappingFile(), this.getPathType(), "jaxrpcMappingFile", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_ServiceQname(), theXMLTypePackage.getQName(), "serviceQname", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRef_PortComponentRefs(), this.getPortComponentRef(), null, "portComponentRefs", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRef_Handlers(), this.getServiceRefHandler(), null, "handlers", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRef_HandlerChains(), this.getServiceRefHandlerChains(), null, "handlerChains", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_MappedName(), theXMLTypePackage.getString(), "mappedName", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRef_InjectionTargets(), this.getInjectionTarget(), null, "injectionTargets", null, 0, -1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_LookupName(), theXMLTypePackage.getString(), "lookupName", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRef_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(serviceRefHandlerEClass, ServiceRefHandler.class, "ServiceRefHandler", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getServiceRefHandler_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRefHandler_DisplayNames(), this.getDisplayName(), null, "displayNames", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRefHandler_Icons(), this.getIcon(), null, "icons", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandler_HandlerName(), theXMLTypePackage.getToken(), "handlerName", null, 1, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandler_HandlerClass(), this.getFullyQualifiedClassType(), "handlerClass", null, 1, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRefHandler_InitParams(), this.getParamValue(), null, "initParams", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandler_SoapHeaders(), theXMLTypePackage.getQName(), "soapHeaders", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandler_SoapRoles(), theXMLTypePackage.getToken(), "soapRoles", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandler_PortNames(), theXMLTypePackage.getToken(), "portNames", null, 0, -1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandler_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(serviceRefHandlerChainEClass, ServiceRefHandlerChain.class, "ServiceRefHandlerChain", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getServiceRefHandlerChain_ServiceNamePattern(), this.getQnamePattern(), "serviceNamePattern", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandlerChain_PortNamePattern(), this.getQnamePattern(), "portNamePattern", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandlerChain_ProtocolBindings(), this.getProtocolBindingListType(), "protocolBindings", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getServiceRefHandlerChain_Handlers(), this.getServiceRefHandler(), null, "handlers", null, 1, -1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandlerChain_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandlerChain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(serviceRefHandlerChainsEClass, ServiceRefHandlerChains.class, "ServiceRefHandlerChains", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getServiceRefHandlerChains_HandlerChains(), this.getServiceRefHandlerChain(), null, "handlerChains", null, 0, -1, ServiceRefHandlerChains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getServiceRefHandlerChains_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ServiceRefHandlerChains.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(urlPatternTypeEClass, UrlPatternType.class, "UrlPatternType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getUrlPatternType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, UrlPatternType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - // Initialize enums and add enum literals - initEEnum(addressingResponsesTypeEEnum, AddressingResponsesType.class, "AddressingResponsesType"); //$NON-NLS-1$ - addEEnumLiteral(addressingResponsesTypeEEnum, AddressingResponsesType.ANONYMOUS); - addEEnumLiteral(addressingResponsesTypeEEnum, AddressingResponsesType.NONANONYMOUS); - addEEnumLiteral(addressingResponsesTypeEEnum, AddressingResponsesType.ALL); - - initEEnum(ejbRefTypeEEnum, EjbRefType.class, "EjbRefType"); //$NON-NLS-1$ - addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.ENTITY_LITERAL); - addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.SESSION_LITERAL); - - initEEnum(genericBooleanTypeEEnum, GenericBooleanType.class, "GenericBooleanType"); //$NON-NLS-1$ - addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.TRUE); - addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.FALSE); - addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.YES); - addEEnumLiteral(genericBooleanTypeEEnum, GenericBooleanType.NO); - - initEEnum(isolationLevelTypeEEnum, IsolationLevelType.class, "IsolationLevelType"); //$NON-NLS-1$ - addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREADUNCOMMITTED); - addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREADCOMMITTED); - addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONREPEATABLEREAD); - addEEnumLiteral(isolationLevelTypeEEnum, IsolationLevelType.TRANSACTIONSERIALIZABLE); - - initEEnum(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.class, "MessageDestinationUsageType"); //$NON-NLS-1$ - addEEnumLiteral(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.CONSUMES_LITERAL); - addEEnumLiteral(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.PRODUCES_LITERAL); - addEEnumLiteral(messageDestinationUsageTypeEEnum, MessageDestinationUsageType.CONSUMES_PRODUCES_LITERAL); - - initEEnum(persistenceContextTypeEEnum, PersistenceContextType.class, "PersistenceContextType"); //$NON-NLS-1$ - addEEnumLiteral(persistenceContextTypeEEnum, PersistenceContextType.TRANSACTION_LITERAL); - addEEnumLiteral(persistenceContextTypeEEnum, PersistenceContextType.EXTENDED_LITERAL); - - initEEnum(resAuthTypeEEnum, ResAuthType.class, "ResAuthType"); //$NON-NLS-1$ - addEEnumLiteral(resAuthTypeEEnum, ResAuthType.APPLICATION_LITERAL); - addEEnumLiteral(resAuthTypeEEnum, ResAuthType.CONTAINER_LITERAL); - - initEEnum(resSharingScopeTypeEEnum, ResSharingScopeType.class, "ResSharingScopeType"); //$NON-NLS-1$ - addEEnumLiteral(resSharingScopeTypeEEnum, ResSharingScopeType.SHAREABLE_LITERAL); - addEEnumLiteral(resSharingScopeTypeEEnum, ResSharingScopeType.UNSHAREABLE_LITERAL); - - // Initialize data types - initEDataType(addressingResponsesTypeObjectEDataType, AddressingResponsesType.class, "AddressingResponsesTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(deweyVersionTypeEDataType, String.class, "DeweyVersionType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(ejbLinkEDataType, String.class, "EJBLink", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(ejbRefNameTypeEDataType, String.class, "EjbRefNameType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(ejbRefTypeObjectEDataType, EjbRefType.class, "EjbRefTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(envEntryTypeEDataType, String.class, "EnvEntryType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(fullyQualifiedClassTypeEDataType, String.class, "FullyQualifiedClassType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(genericBooleanTypeObjectEDataType, GenericBooleanType.class, "GenericBooleanTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(homeEDataType, String.class, "Home", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(isolationLevelTypeObjectEDataType, IsolationLevelType.class, "IsolationLevelTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(javaIdentifierEDataType, String.class, "JavaIdentifier", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(javaTypeEDataType, String.class, "JavaType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(jdbcUrlTypeEDataType, String.class, "JdbcUrlType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(jndiNameEDataType, String.class, "JNDIName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(localEDataType, String.class, "Local", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(localHomeEDataType, String.class, "LocalHome", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(messageDestinationLinkEDataType, String.class, "MessageDestinationLink", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(messageDestinationTypeTypeEDataType, String.class, "MessageDestinationTypeType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(messageDestinationUsageTypeObjectEDataType, MessageDestinationUsageType.class, "MessageDestinationUsageTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(pathTypeEDataType, String.class, "PathType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(persistenceContextTypeObjectEDataType, PersistenceContextType.class, "PersistenceContextTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(protocolBindingListTypeEDataType, List.class, "ProtocolBindingListType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(protocolBindingTypeEDataType, String.class, "ProtocolBindingType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(protocolURIAliasTypeEDataType, String.class, "ProtocolURIAliasType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(qnamePatternEDataType, String.class, "QnamePattern", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(remoteEDataType, String.class, "Remote", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(resAuthTypeObjectEDataType, ResAuthType.class, "ResAuthTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(resSharingScopeTypeObjectEDataType, ResSharingScopeType.class, "ResSharingScopeTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(roleNameEDataType, String.class, "RoleName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(trueFalseTypeEDataType, boolean.class, "TrueFalseType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(trueFalseTypeObjectEDataType, Boolean.class, "TrueFalseTypeObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http:///org/eclipse/emf/ecore/util/ExtendedMetaData - createExtendedMetaDataAnnotations(); - }finally{ - if( hasLock ) - J2EEInit.releaseInitializePackageContentsLock(); - } - } - - /** - * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createExtendedMetaDataAnnotations() { - String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$ - addAnnotation - (addressingResponsesTypeEEnum, - source, - new String[] { - "name", "addressing-responsesType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (addressingResponsesTypeObjectEDataType, - source, - new String[] { - "name", "addressing-responsesType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "addressing-responsesType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (addressingTypeEClass, - source, - new String[] { - "name", "addressingType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getAddressingType_Enabled(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "enabled", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getAddressingType_Required(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "required", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getAddressingType_Responses(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "responses", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (dataSourceTypeEClass, - source, - new String[] { - "name", "data-sourceType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Description(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Name(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_ClassName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "class-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_ServerName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "server-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_PortNumber(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "port-number", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_DatabaseName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "database-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Url(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "url", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_User(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "user", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Password(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "password", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Property(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "property", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_LoginTimeout(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "login-timeout", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Transactional(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "transactional", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_IsolationLevel(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "isolation-level", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_InitialPoolSize(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "initial-pool-size", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_MaxPoolSize(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "max-pool-size", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_MinPoolSize(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "min-pool-size", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_MaxIdleTime(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "max-idle-time", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_MaxStatements(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "max-statements", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDataSourceType_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (descriptionEClass, - source, - new String[] { - "name", "descriptionType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "simple" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDescription_Value(), - source, - new String[] { - "name", ":0", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "simple" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDescription_Lang(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lang", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "http://www.w3.org/XML/1998/namespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (deweyVersionTypeEDataType, - source, - new String[] { - "name", "dewey-versionType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "\\.?[0-9]+(\\.[0-9]+)*" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (displayNameEClass, - source, - new String[] { - "name", "display-nameType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "simple" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDisplayName_Value(), - source, - new String[] { - "name", ":0", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "simple" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getDisplayName_Lang(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lang", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "http://www.w3.org/XML/1998/namespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (ejbLinkEDataType, - source, - new String[] { - "name", "ejb-linkType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (ejbLocalRefEClass, - source, - new String[] { - "name", "ejb-local-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_EjbRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "ejb-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_EjbRefType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "ejb-ref-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_LocalHome(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "local-home", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_Local(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "local", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_EjbLink(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "ejb-link", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbLocalRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (ejbRefEClass, - source, - new String[] { - "name", "ejb-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_EjbRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "ejb-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_EjbRefType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "ejb-ref-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_Home(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "home", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_Remote(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "remote", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_EjbLink(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "ejb-link", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEjbRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (ejbRefNameTypeEDataType, - source, - new String[] { - "name", "ejb-ref-nameType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (ejbRefTypeEEnum, - source, - new String[] { - "name", "ejb-ref-typeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (ejbRefTypeObjectEDataType, - source, - new String[] { - "name", "ejb-ref-typeType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "ejb-ref-typeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (emptyTypeEClass, - source, - new String[] { - "name", "emptyType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "empty" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEmptyType_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (envEntryEClass, - source, - new String[] { - "name", "env-entryType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_EnvEntryName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "env-entry-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_EnvEntryType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "env-entry-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_EnvEntryValue(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "env-entry-value", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getEnvEntry_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (envEntryTypeEDataType, - source, - new String[] { - "name", "env-entry-type-valuesType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "fully-qualified-classType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (fullyQualifiedClassTypeEDataType, - source, - new String[] { - "name", "fully-qualified-classType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (genericBooleanTypeEEnum, - source, - new String[] { - "name", "generic-booleanType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (genericBooleanTypeObjectEDataType, - source, - new String[] { - "name", "generic-booleanType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "generic-booleanType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (homeEDataType, - source, - new String[] { - "name", "homeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (iconEClass, - source, - new String[] { - "name", "iconType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getIcon_SmallIcon(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "small-icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getIcon_LargeIcon(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "large-icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getIcon_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getIcon_Lang(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lang", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "http://www.w3.org/XML/1998/namespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (injectionTargetEClass, - source, - new String[] { - "name", "injection-targetType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getInjectionTarget_InjectionTargetClass(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target-class", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getInjectionTarget_InjectionTargetName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (isolationLevelTypeEEnum, - source, - new String[] { - "name", "isolation-levelType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (isolationLevelTypeObjectEDataType, - source, - new String[] { - "name", "isolation-levelType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "isolation-levelType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (javaIdentifierEDataType, - source, - new String[] { - "name", "java-identifierType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "($|_|\\p{L})(\\p{L}|\\p{Nd}|_|$)*" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (javaTypeEDataType, - source, - new String[] { - "name", "java-typeType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "[^\\p{Z}]*" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (jdbcUrlTypeEDataType, - source, - new String[] { - "name", "jdbc-urlType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "jdbc:(.*):(.*)" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (jndiNameEDataType, - source, - new String[] { - "name", "jndi-nameType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (lifecycleCallbackEClass, - source, - new String[] { - "name", "lifecycle-callbackType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getLifecycleCallback_LifecycleCallbackClass(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lifecycle-callback-class", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getLifecycleCallback_LifecycleCallbackMethod(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lifecycle-callback-method", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (listenerEClass, - source, - new String[] { - "name", "listenerType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getListener_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getListener_DisplayNames(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "display-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getListener_Icons(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getListener_ListenerClass(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "listener-class", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getListener_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (localEDataType, - source, - new String[] { - "name", "localType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (localHomeEDataType, - source, - new String[] { - "name", "local-homeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (messageDestinationEClass, - source, - new String[] { - "name", "message-destinationType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_DisplayNames(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "display-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_Icons(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_MessageDestinationName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "message-destination-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestination_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (messageDestinationLinkEDataType, - source, - new String[] { - "name", "message-destination-linkType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (messageDestinationRefEClass, - source, - new String[] { - "name", "message-destination-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_MessageDestinationRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "message-destination-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_MessageDestinationType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "message-destination-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_MessageDestinationUsage(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "message-destination-usage", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_MessageDestinationLink(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "message-destination-link", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getMessageDestinationRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (messageDestinationTypeTypeEDataType, - source, - new String[] { - "name", "message-destination-typeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (messageDestinationUsageTypeEEnum, - source, - new String[] { - "name", "message-destination-usageType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (messageDestinationUsageTypeObjectEDataType, - source, - new String[] { - "name", "message-destination-usageType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "message-destination-usageType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (paramValueEClass, - source, - new String[] { - "name", "param-valueType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getParamValue_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getParamValue_ParamName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "param-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getParamValue_ParamValue(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "param-value", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getParamValue_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (pathTypeEDataType, - source, - new String[] { - "name", "pathType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (persistenceContextRefEClass, - source, - new String[] { - "name", "persistence-context-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_PersistenceContextRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "persistence-context-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_PersistenceUnitName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "persistence-unit-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_PersistenceContextType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "persistence-context-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_PersistenceProperties(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "persistence-property", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceContextRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (persistenceContextTypeEEnum, - source, - new String[] { - "name", "persistence-context-typeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (persistenceContextTypeObjectEDataType, - source, - new String[] { - "name", "persistence-context-typeType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "persistence-context-typeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (persistenceUnitRefEClass, - source, - new String[] { - "name", "persistence-unit-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceUnitRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceUnitRef_PersistenceUnitRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "persistence-unit-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceUnitRef_PersistenceUnitName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "persistence-unit-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceUnitRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceUnitRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPersistenceUnitRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (portComponentRefEClass, - source, - new String[] { - "name", "port-component-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_ServiceEndpointInterface(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "service-endpoint-interface", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_EnableMtom(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "enable-mtom", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_MtomThreshold(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mtom-threshold", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_Addressing(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "addressing", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_RespectBinding(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "respect-binding", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_PortComponentLink(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "port-component-link", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPortComponentRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (propertyTypeEClass, - source, - new String[] { - "name", "propertyType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPropertyType_Name(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPropertyType_Value(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "value", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getPropertyType_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (protocolBindingListTypeEDataType, - source, - new String[] { - "name", "protocol-bindingListType", //$NON-NLS-1$ //$NON-NLS-2$ - "itemType", "protocol-bindingType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (protocolBindingTypeEDataType, - source, - new String[] { - "name", "protocol-bindingType", //$NON-NLS-1$ //$NON-NLS-2$ - "memberTypes", "http://www.eclipse.org/emf/2003/XMLType#anyURI protocol-URIAliasType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (protocolURIAliasTypeEDataType, - source, - new String[] { - "name", "protocol-URIAliasType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "##.+" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (qnamePatternEDataType, - source, - new String[] { - "name", "qname-pattern", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#token", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (remoteEDataType, - source, - new String[] { - "name", "remoteType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (resAuthTypeEEnum, - source, - new String[] { - "name", "res-authType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (resAuthTypeObjectEDataType, - source, - new String[] { - "name", "res-authType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "res-authType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (resourceEnvRefEClass, - source, - new String[] { - "name", "resource-env-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_ResourceEnvRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "resource-env-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_ResourceEnvRefType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "resource-env-ref-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceEnvRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (resourceRefEClass, - source, - new String[] { - "name", "resource-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_ResRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "res-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_ResType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "res-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_ResAuth(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "res-auth", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_ResSharingScope(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "res-sharing-scope", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getResourceRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (respectBindingTypeEClass, - source, - new String[] { - "name", "respect-bindingType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getRespectBindingType_Enabled(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "enabled", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (resSharingScopeTypeEEnum, - source, - new String[] { - "name", "res-sharing-scopeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (resSharingScopeTypeObjectEDataType, - source, - new String[] { - "name", "res-sharing-scopeType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "res-sharing-scopeType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (roleNameEDataType, - source, - new String[] { - "name", "role-nameType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (runAsEClass, - source, - new String[] { - "name", "run-asType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getRunAs_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getRunAs_RoleName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "role-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getRunAs_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (securityRoleEClass, - source, - new String[] { - "name", "security-roleType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRole_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRole_RoleName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "role-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRole_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (securityRoleRefEClass, - source, - new String[] { - "name", "security-role-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRoleRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRoleRef_RoleName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "role-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRoleRef_RoleLink(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "role-link", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getSecurityRoleRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (serviceRefEClass, - source, - new String[] { - "name", "service-refType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_DisplayNames(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "display-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_Icons(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_ServiceRefName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "service-ref-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_ServiceInterface(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "service-interface", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_ServiceRefType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "service-ref-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_WsdlFile(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "wsdl-file", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_JaxrpcMappingFile(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "jaxrpc-mapping-file", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_ServiceQname(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "service-qname", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_PortComponentRefs(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "port-component-ref", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_Handlers(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "handler", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_HandlerChains(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "handler-chains", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_MappedName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "mapped-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_InjectionTargets(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "injection-target", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_LookupName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "lookup-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRef_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (serviceRefHandlerEClass, - source, - new String[] { - "name", "handlerType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_DisplayNames(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "display-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_Icons(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_HandlerName(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "handler-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_HandlerClass(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "handler-class", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_InitParams(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "init-param", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_SoapHeaders(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "soap-header", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_SoapRoles(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "soap-role", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_PortNames(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "port-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandler_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (serviceRefHandlerChainEClass, - source, - new String[] { - "name", "handler-chainType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChain_ServiceNamePattern(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "service-name-pattern", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChain_PortNamePattern(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "port-name-pattern", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChain_ProtocolBindings(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "protocol-bindings", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChain_Handlers(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "handler", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChain_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (serviceRefHandlerChainsEClass, - source, - new String[] { - "name", "handler-chainsType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChains_HandlerChains(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "handler-chain", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getServiceRefHandlerChains_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (trueFalseTypeEDataType, - source, - new String[] { - "name", "true-falseType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://www.eclipse.org/emf/2003/XMLType#boolean", //$NON-NLS-1$ //$NON-NLS-2$ - "pattern", "(true|false)" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (trueFalseTypeObjectEDataType, - source, - new String[] { - "name", "true-falseType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "true-falseType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (urlPatternTypeEClass, - source, - new String[] { - "name", "url-patternType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "simple" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getUrlPatternType_Value(), - source, - new String[] { - "name", ":0", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "simple" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //JavaeePackageImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/LifecycleCallbackImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/LifecycleCallbackImpl.java deleted file mode 100644 index 383fb27ec..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/LifecycleCallbackImpl.java +++ /dev/null @@ -1,226 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.LifecycleCallback; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Lifecycle Callback</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.LifecycleCallbackImpl#getLifecycleCallbackClass <em>Lifecycle Callback Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.LifecycleCallbackImpl#getLifecycleCallbackMethod <em>Lifecycle Callback Method</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class LifecycleCallbackImpl extends EObjectImpl implements LifecycleCallback { - /** - * The default value of the '{@link #getLifecycleCallbackClass() <em>Lifecycle Callback Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLifecycleCallbackClass() - * @generated - * @ordered - */ - protected static final String LIFECYCLE_CALLBACK_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLifecycleCallbackClass() <em>Lifecycle Callback Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLifecycleCallbackClass() - * @generated - * @ordered - */ - protected String lifecycleCallbackClass = LIFECYCLE_CALLBACK_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getLifecycleCallbackMethod() <em>Lifecycle Callback Method</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLifecycleCallbackMethod() - * @generated - * @ordered - */ - protected static final String LIFECYCLE_CALLBACK_METHOD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLifecycleCallbackMethod() <em>Lifecycle Callback Method</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLifecycleCallbackMethod() - * @generated - * @ordered - */ - protected String lifecycleCallbackMethod = LIFECYCLE_CALLBACK_METHOD_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected LifecycleCallbackImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.LIFECYCLE_CALLBACK; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLifecycleCallbackClass() { - return lifecycleCallbackClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLifecycleCallbackClass(String newLifecycleCallbackClass) { - String oldLifecycleCallbackClass = lifecycleCallbackClass; - lifecycleCallbackClass = newLifecycleCallbackClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS, oldLifecycleCallbackClass, lifecycleCallbackClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLifecycleCallbackMethod() { - return lifecycleCallbackMethod; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLifecycleCallbackMethod(String newLifecycleCallbackMethod) { - String oldLifecycleCallbackMethod = lifecycleCallbackMethod; - lifecycleCallbackMethod = newLifecycleCallbackMethod; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD, oldLifecycleCallbackMethod, lifecycleCallbackMethod)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS: - return getLifecycleCallbackClass(); - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD: - return getLifecycleCallbackMethod(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS: - setLifecycleCallbackClass((String)newValue); - return; - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD: - setLifecycleCallbackMethod((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS: - setLifecycleCallbackClass(LIFECYCLE_CALLBACK_CLASS_EDEFAULT); - return; - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD: - setLifecycleCallbackMethod(LIFECYCLE_CALLBACK_METHOD_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS: - return LIFECYCLE_CALLBACK_CLASS_EDEFAULT == null ? lifecycleCallbackClass != null : !LIFECYCLE_CALLBACK_CLASS_EDEFAULT.equals(lifecycleCallbackClass); - case JavaeePackage.LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD: - return LIFECYCLE_CALLBACK_METHOD_EDEFAULT == null ? lifecycleCallbackMethod != null : !LIFECYCLE_CALLBACK_METHOD_EDEFAULT.equals(lifecycleCallbackMethod); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lifecycleCallbackClass: "); //$NON-NLS-1$ - result.append(lifecycleCallbackClass); - result.append(", lifecycleCallbackMethod: "); //$NON-NLS-1$ - result.append(lifecycleCallbackMethod); - result.append(')'); - return result.toString(); - } - -} //LifecycleCallbackImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ListenerImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ListenerImpl.java deleted file mode 100644 index d459dfe08..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ListenerImpl.java +++ /dev/null @@ -1,360 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.Listener; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Listener</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl#getListenerClass <em>Listener Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ListenerImpl extends EObjectImpl implements Listener { - /** - * 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<Description> descriptions; - - /** - * 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<DisplayName> displayNames; - - /** - * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIcons() - * @generated - * @ordered - */ - protected EList<Icon> icons; - - /** - * The default value of the '{@link #getListenerClass() <em>Listener Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getListenerClass() - * @generated - * @ordered - */ - protected static final String LISTENER_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getListenerClass() <em>Listener Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getListenerClass() - * @generated - * @ordered - */ - protected String listenerClass = LISTENER_CLASS_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ListenerImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.LISTENER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.LISTENER__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<DisplayName> getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.LISTENER__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Icon> getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.LISTENER__ICONS); - } - return icons; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getListenerClass() { - return listenerClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setListenerClass(String newListenerClass) { - String oldListenerClass = listenerClass; - listenerClass = newListenerClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.LISTENER__LISTENER_CLASS, oldListenerClass, listenerClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.LISTENER__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.LISTENER__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.LISTENER__DISPLAY_NAMES: - return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs); - case JavaeePackage.LISTENER__ICONS: - return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.LISTENER__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.LISTENER__DISPLAY_NAMES: - return getDisplayNames(); - case JavaeePackage.LISTENER__ICONS: - return getIcons(); - case JavaeePackage.LISTENER__LISTENER_CLASS: - return getListenerClass(); - case JavaeePackage.LISTENER__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.LISTENER__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.LISTENER__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection<? extends DisplayName>)newValue); - return; - case JavaeePackage.LISTENER__ICONS: - getIcons().clear(); - getIcons().addAll((Collection<? extends Icon>)newValue); - return; - case JavaeePackage.LISTENER__LISTENER_CLASS: - setListenerClass((String)newValue); - return; - case JavaeePackage.LISTENER__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.LISTENER__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.LISTENER__DISPLAY_NAMES: - getDisplayNames().clear(); - return; - case JavaeePackage.LISTENER__ICONS: - getIcons().clear(); - return; - case JavaeePackage.LISTENER__LISTENER_CLASS: - setListenerClass(LISTENER_CLASS_EDEFAULT); - return; - case JavaeePackage.LISTENER__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.LISTENER__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.LISTENER__DISPLAY_NAMES: - return displayNames != null && !displayNames.isEmpty(); - case JavaeePackage.LISTENER__ICONS: - return icons != null && !icons.isEmpty(); - case JavaeePackage.LISTENER__LISTENER_CLASS: - return LISTENER_CLASS_EDEFAULT == null ? listenerClass != null : !LISTENER_CLASS_EDEFAULT.equals(listenerClass); - case JavaeePackage.LISTENER__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (listenerClass: "); //$NON-NLS-1$ - result.append(listenerClass); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ListenerImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java deleted file mode 100644 index 739873cc8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java +++ /dev/null @@ -1,468 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.MessageDestination; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Message Destination</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getMessageDestinationName <em>Message Destination Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MessageDestinationImpl extends EObjectImpl implements MessageDestination { - /** - * 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<Description> descriptions; - - /** - * 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<DisplayName> displayNames; - - /** - * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIcons() - * @generated - * @ordered - */ - protected EList<Icon> icons; - - /** - * The default value of the '{@link #getMessageDestinationName() <em>Message Destination Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationName() - * @generated - * @ordered - */ - protected static final String MESSAGE_DESTINATION_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessageDestinationName() <em>Message Destination Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationName() - * @generated - * @ordered - */ - protected String messageDestinationName = MESSAGE_DESTINATION_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MessageDestinationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.MESSAGE_DESTINATION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<DisplayName> getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Icon> getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.MESSAGE_DESTINATION__ICONS); - } - return icons; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMessageDestinationName() { - return messageDestinationName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessageDestinationName(String newMessageDestinationName) { - String oldMessageDestinationName = messageDestinationName; - messageDestinationName = newMessageDestinationName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME, oldMessageDestinationName, messageDestinationName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES: - return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs); - case JavaeePackage.MESSAGE_DESTINATION__ICONS: - return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES: - return getDisplayNames(); - case JavaeePackage.MESSAGE_DESTINATION__ICONS: - return getIcons(); - case JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME: - return getMessageDestinationName(); - case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.MESSAGE_DESTINATION__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection<? extends DisplayName>)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__ICONS: - getIcons().clear(); - getIcons().addAll((Collection<? extends Icon>)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME: - setMessageDestinationName((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES: - getDisplayNames().clear(); - return; - case JavaeePackage.MESSAGE_DESTINATION__ICONS: - getIcons().clear(); - return; - case JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME: - setMessageDestinationName(MESSAGE_DESTINATION_NAME_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES: - return displayNames != null && !displayNames.isEmpty(); - case JavaeePackage.MESSAGE_DESTINATION__ICONS: - return icons != null && !icons.isEmpty(); - case JavaeePackage.MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME: - return MESSAGE_DESTINATION_NAME_EDEFAULT == null ? messageDestinationName != null : !MESSAGE_DESTINATION_NAME_EDEFAULT.equals(messageDestinationName); - case JavaeePackage.MESSAGE_DESTINATION__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.MESSAGE_DESTINATION__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.MESSAGE_DESTINATION__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (messageDestinationName: "); //$NON-NLS-1$ - result.append(messageDestinationName); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //MessageDestinationImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationRefImpl.java deleted file mode 100644 index 94dece52b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationRefImpl.java +++ /dev/null @@ -1,628 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.MessageDestinationRef; -import org.eclipse.jst.javaee.core.MessageDestinationUsageType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Message Destination Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMessageDestinationRefName <em>Message Destination Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMessageDestinationType <em>Message Destination Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMessageDestinationUsage <em>Message Destination Usage</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMessageDestinationLink <em>Message Destination Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MessageDestinationRefImpl extends EObjectImpl implements MessageDestinationRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getMessageDestinationRefName() <em>Message Destination Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationRefName() - * @generated - * @ordered - */ - protected static final String MESSAGE_DESTINATION_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessageDestinationRefName() <em>Message Destination Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationRefName() - * @generated - * @ordered - */ - protected String messageDestinationRefName = MESSAGE_DESTINATION_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getMessageDestinationType() <em>Message Destination Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationType() - * @generated - * @ordered - */ - protected static final String MESSAGE_DESTINATION_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessageDestinationType() <em>Message Destination Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationType() - * @generated - * @ordered - */ - protected String messageDestinationType = MESSAGE_DESTINATION_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getMessageDestinationUsage() <em>Message Destination Usage</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationUsage() - * @generated - * @ordered - */ - protected static final MessageDestinationUsageType MESSAGE_DESTINATION_USAGE_EDEFAULT = MessageDestinationUsageType.CONSUMES_LITERAL; - - /** - * The cached value of the '{@link #getMessageDestinationUsage() <em>Message Destination Usage</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationUsage() - * @generated - * @ordered - */ - protected MessageDestinationUsageType messageDestinationUsage = MESSAGE_DESTINATION_USAGE_EDEFAULT; - - /** - * This is true if the Message Destination Usage attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean messageDestinationUsageESet; - - /** - * The default value of the '{@link #getMessageDestinationLink() <em>Message Destination Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationLink() - * @generated - * @ordered - */ - protected static final String MESSAGE_DESTINATION_LINK_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMessageDestinationLink() <em>Message Destination Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMessageDestinationLink() - * @generated - * @ordered - */ - protected String messageDestinationLink = MESSAGE_DESTINATION_LINK_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MessageDestinationRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.MESSAGE_DESTINATION_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMessageDestinationRefName() { - return messageDestinationRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessageDestinationRefName(String newMessageDestinationRefName) { - String oldMessageDestinationRefName = messageDestinationRefName; - messageDestinationRefName = newMessageDestinationRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME, oldMessageDestinationRefName, messageDestinationRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMessageDestinationType() { - return messageDestinationType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessageDestinationType(String newMessageDestinationType) { - String oldMessageDestinationType = messageDestinationType; - messageDestinationType = newMessageDestinationType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE, oldMessageDestinationType, messageDestinationType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MessageDestinationUsageType getMessageDestinationUsage() { - return messageDestinationUsage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessageDestinationUsage(MessageDestinationUsageType newMessageDestinationUsage) { - MessageDestinationUsageType oldMessageDestinationUsage = messageDestinationUsage; - messageDestinationUsage = newMessageDestinationUsage == null ? MESSAGE_DESTINATION_USAGE_EDEFAULT : newMessageDestinationUsage; - boolean oldMessageDestinationUsageESet = messageDestinationUsageESet; - messageDestinationUsageESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE, oldMessageDestinationUsage, messageDestinationUsage, !oldMessageDestinationUsageESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetMessageDestinationUsage() { - MessageDestinationUsageType oldMessageDestinationUsage = messageDestinationUsage; - boolean oldMessageDestinationUsageESet = messageDestinationUsageESet; - messageDestinationUsage = MESSAGE_DESTINATION_USAGE_EDEFAULT; - messageDestinationUsageESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE, oldMessageDestinationUsage, MESSAGE_DESTINATION_USAGE_EDEFAULT, oldMessageDestinationUsageESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetMessageDestinationUsage() { - return messageDestinationUsageESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMessageDestinationLink() { - return messageDestinationLink; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessageDestinationLink(String newMessageDestinationLink) { - String oldMessageDestinationLink = messageDestinationLink; - messageDestinationLink = newMessageDestinationLink; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK, oldMessageDestinationLink, messageDestinationLink)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.MESSAGE_DESTINATION_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME: - return getMessageDestinationRefName(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE: - return getMessageDestinationType(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE: - return getMessageDestinationUsage(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK: - return getMessageDestinationLink(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.MESSAGE_DESTINATION_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME: - setMessageDestinationRefName((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE: - setMessageDestinationType((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE: - setMessageDestinationUsage((MessageDestinationUsageType)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK: - setMessageDestinationLink((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME: - setMessageDestinationRefName(MESSAGE_DESTINATION_REF_NAME_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE: - setMessageDestinationType(MESSAGE_DESTINATION_TYPE_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE: - unsetMessageDestinationUsage(); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK: - setMessageDestinationLink(MESSAGE_DESTINATION_LINK_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME: - return MESSAGE_DESTINATION_REF_NAME_EDEFAULT == null ? messageDestinationRefName != null : !MESSAGE_DESTINATION_REF_NAME_EDEFAULT.equals(messageDestinationRefName); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE: - return MESSAGE_DESTINATION_TYPE_EDEFAULT == null ? messageDestinationType != null : !MESSAGE_DESTINATION_TYPE_EDEFAULT.equals(messageDestinationType); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE: - return isSetMessageDestinationUsage(); - case JavaeePackage.MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK: - return MESSAGE_DESTINATION_LINK_EDEFAULT == null ? messageDestinationLink != null : !MESSAGE_DESTINATION_LINK_EDEFAULT.equals(messageDestinationLink); - case JavaeePackage.MESSAGE_DESTINATION_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.MESSAGE_DESTINATION_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.MESSAGE_DESTINATION_REF__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.MESSAGE_DESTINATION_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (messageDestinationRefName: "); //$NON-NLS-1$ - result.append(messageDestinationRefName); - result.append(", messageDestinationType: "); //$NON-NLS-1$ - result.append(messageDestinationType); - result.append(", messageDestinationUsage: "); //$NON-NLS-1$ - if (messageDestinationUsageESet) result.append(messageDestinationUsage); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", messageDestinationLink: "); //$NON-NLS-1$ - result.append(messageDestinationLink); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //MessageDestinationRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ParamValueImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ParamValueImpl.java deleted file mode 100644 index fbdd9bdb2..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ParamValueImpl.java +++ /dev/null @@ -1,340 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.ParamValue; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Param Value</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl#getParamName <em>Param Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl#getParamValue <em>Param Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ParamValueImpl extends EObjectImpl implements ParamValue { - /** - * 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<Description> descriptions; - - /** - * 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; - - /** - * The cached value of the '{@link #getParamName() <em>Param Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamName() - * @generated - * @ordered - */ - 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; - - /** - * The cached value of the '{@link #getParamValue() <em>Param Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamValue() - * @generated - * @ordered - */ - protected String paramValue = PARAM_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParamValueImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.PARAM_VALUE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.PARAM_VALUE__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParamName() { - return paramName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParamName(String newParamName) { - String oldParamName = paramName; - paramName = newParamName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PARAM_VALUE__PARAM_NAME, oldParamName, paramName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParamValue() { - return paramValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParamValue(String newParamValue) { - String oldParamValue = paramValue; - paramValue = newParamValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PARAM_VALUE__PARAM_VALUE, oldParamValue, paramValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PARAM_VALUE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.PARAM_VALUE__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.PARAM_VALUE__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.PARAM_VALUE__PARAM_NAME: - return getParamName(); - case JavaeePackage.PARAM_VALUE__PARAM_VALUE: - return getParamValue(); - case JavaeePackage.PARAM_VALUE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PARAM_VALUE__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.PARAM_VALUE__PARAM_NAME: - setParamName((String)newValue); - return; - case JavaeePackage.PARAM_VALUE__PARAM_VALUE: - setParamValue((String)newValue); - return; - case JavaeePackage.PARAM_VALUE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.PARAM_VALUE__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.PARAM_VALUE__PARAM_NAME: - setParamName(PARAM_NAME_EDEFAULT); - return; - case JavaeePackage.PARAM_VALUE__PARAM_VALUE: - setParamValue(PARAM_VALUE_EDEFAULT); - return; - case JavaeePackage.PARAM_VALUE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.PARAM_VALUE__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.PARAM_VALUE__PARAM_NAME: - return PARAM_NAME_EDEFAULT == null ? paramName != null : !PARAM_NAME_EDEFAULT.equals(paramName); - case JavaeePackage.PARAM_VALUE__PARAM_VALUE: - return PARAM_VALUE_EDEFAULT == null ? paramValue != null : !PARAM_VALUE_EDEFAULT.equals(paramValue); - case JavaeePackage.PARAM_VALUE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (paramName: "); //$NON-NLS-1$ - result.append(paramName); - result.append(", paramValue: "); //$NON-NLS-1$ - result.append(paramValue); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ParamValueImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java deleted file mode 100644 index b40f43a69..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java +++ /dev/null @@ -1,557 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.PersistenceContextRef; -import org.eclipse.jst.javaee.core.PersistenceContextType; -import org.eclipse.jst.javaee.core.PropertyType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Persistence Context Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceContextRefName <em>Persistence Context Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceUnitName <em>Persistence Unit Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceContextType <em>Persistence Context Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getPersistenceProperties <em>Persistence Properties</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PersistenceContextRefImpl extends EObjectImpl implements PersistenceContextRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getPersistenceContextRefName() <em>Persistence Context Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceContextRefName() - * @generated - * @ordered - */ - protected static final String PERSISTENCE_CONTEXT_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPersistenceContextRefName() <em>Persistence Context Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceContextRefName() - * @generated - * @ordered - */ - protected String persistenceContextRefName = PERSISTENCE_CONTEXT_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPersistenceUnitName() <em>Persistence Unit Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceUnitName() - * @generated - * @ordered - */ - protected static final String PERSISTENCE_UNIT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPersistenceUnitName() <em>Persistence Unit Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceUnitName() - * @generated - * @ordered - */ - protected String persistenceUnitName = PERSISTENCE_UNIT_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPersistenceContextType() <em>Persistence Context Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceContextType() - * @generated - * @ordered - */ - protected static final PersistenceContextType PERSISTENCE_CONTEXT_TYPE_EDEFAULT = PersistenceContextType.TRANSACTION_LITERAL; - - /** - * The cached value of the '{@link #getPersistenceContextType() <em>Persistence Context Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceContextType() - * @generated - * @ordered - */ - protected PersistenceContextType persistenceContextType = PERSISTENCE_CONTEXT_TYPE_EDEFAULT; - - /** - * This is true if the Persistence Context Type attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean persistenceContextTypeESet; - - /** - * The cached value of the '{@link #getPersistenceProperties() <em>Persistence Properties</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceProperties() - * @generated - * @ordered - */ - protected EList<PropertyType> persistenceProperties; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PersistenceContextRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.PERSISTENCE_CONTEXT_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPersistenceContextRefName() { - return persistenceContextRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPersistenceContextRefName(String newPersistenceContextRefName) { - String oldPersistenceContextRefName = persistenceContextRefName; - persistenceContextRefName = newPersistenceContextRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME, oldPersistenceContextRefName, persistenceContextRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPersistenceUnitName() { - return persistenceUnitName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPersistenceUnitName(String newPersistenceUnitName) { - String oldPersistenceUnitName = persistenceUnitName; - persistenceUnitName = newPersistenceUnitName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME, oldPersistenceUnitName, persistenceUnitName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PersistenceContextType getPersistenceContextType() { - return persistenceContextType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPersistenceContextType(PersistenceContextType newPersistenceContextType) { - PersistenceContextType oldPersistenceContextType = persistenceContextType; - persistenceContextType = newPersistenceContextType == null ? PERSISTENCE_CONTEXT_TYPE_EDEFAULT : newPersistenceContextType; - boolean oldPersistenceContextTypeESet = persistenceContextTypeESet; - persistenceContextTypeESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE, oldPersistenceContextType, persistenceContextType, !oldPersistenceContextTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetPersistenceContextType() { - PersistenceContextType oldPersistenceContextType = persistenceContextType; - boolean oldPersistenceContextTypeESet = persistenceContextTypeESet; - persistenceContextType = PERSISTENCE_CONTEXT_TYPE_EDEFAULT; - persistenceContextTypeESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE, oldPersistenceContextType, PERSISTENCE_CONTEXT_TYPE_EDEFAULT, oldPersistenceContextTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetPersistenceContextType() { - return persistenceContextTypeESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<PropertyType> getPersistenceProperties() { - if (persistenceProperties == null) { - persistenceProperties = new EObjectContainmentEList<PropertyType>(PropertyType.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES); - } - return persistenceProperties; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_CONTEXT_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES: - return ((InternalEList<?>)getPersistenceProperties()).basicRemove(otherEnd, msgs); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME: - return getPersistenceContextRefName(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME: - return getPersistenceUnitName(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE: - return getPersistenceContextType(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES: - return getPersistenceProperties(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME: - setPersistenceContextRefName((String)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME: - setPersistenceUnitName((String)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE: - setPersistenceContextType((PersistenceContextType)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES: - getPersistenceProperties().clear(); - getPersistenceProperties().addAll((Collection<? extends PropertyType>)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME: - setPersistenceContextRefName(PERSISTENCE_CONTEXT_REF_NAME_EDEFAULT); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME: - setPersistenceUnitName(PERSISTENCE_UNIT_NAME_EDEFAULT); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE: - unsetPersistenceContextType(); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES: - getPersistenceProperties().clear(); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME: - return PERSISTENCE_CONTEXT_REF_NAME_EDEFAULT == null ? persistenceContextRefName != null : !PERSISTENCE_CONTEXT_REF_NAME_EDEFAULT.equals(persistenceContextRefName); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME: - return PERSISTENCE_UNIT_NAME_EDEFAULT == null ? persistenceUnitName != null : !PERSISTENCE_UNIT_NAME_EDEFAULT.equals(persistenceUnitName); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE: - return isSetPersistenceContextType(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES: - return persistenceProperties != null && !persistenceProperties.isEmpty(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (persistenceContextRefName: "); //$NON-NLS-1$ - result.append(persistenceContextRefName); - result.append(", persistenceUnitName: "); //$NON-NLS-1$ - result.append(persistenceUnitName); - result.append(", persistenceContextType: "); //$NON-NLS-1$ - if (persistenceContextTypeESet) result.append(persistenceContextType); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //PersistenceContextRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java deleted file mode 100644 index 5a52ae66b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java +++ /dev/null @@ -1,431 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.PersistenceUnitRef; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Persistence Unit Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getPersistenceUnitRefName <em>Persistence Unit Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getPersistenceUnitName <em>Persistence Unit Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PersistenceUnitRefImpl extends EObjectImpl implements PersistenceUnitRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getPersistenceUnitRefName() <em>Persistence Unit Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceUnitRefName() - * @generated - * @ordered - */ - protected static final String PERSISTENCE_UNIT_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPersistenceUnitRefName() <em>Persistence Unit Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceUnitRefName() - * @generated - * @ordered - */ - protected String persistenceUnitRefName = PERSISTENCE_UNIT_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPersistenceUnitName() <em>Persistence Unit Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceUnitName() - * @generated - * @ordered - */ - protected static final String PERSISTENCE_UNIT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPersistenceUnitName() <em>Persistence Unit Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPersistenceUnitName() - * @generated - * @ordered - */ - protected String persistenceUnitName = PERSISTENCE_UNIT_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PersistenceUnitRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.PERSISTENCE_UNIT_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPersistenceUnitRefName() { - return persistenceUnitRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPersistenceUnitRefName(String newPersistenceUnitRefName) { - String oldPersistenceUnitRefName = persistenceUnitRefName; - persistenceUnitRefName = newPersistenceUnitRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME, oldPersistenceUnitRefName, persistenceUnitRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPersistenceUnitName() { - return persistenceUnitName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPersistenceUnitName(String newPersistenceUnitName) { - String oldPersistenceUnitName = persistenceUnitName; - persistenceUnitName = newPersistenceUnitName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME, oldPersistenceUnitName, persistenceUnitName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_UNIT_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PERSISTENCE_UNIT_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME: - return getPersistenceUnitRefName(); - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME: - return getPersistenceUnitName(); - case JavaeePackage.PERSISTENCE_UNIT_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.PERSISTENCE_UNIT_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME: - setPersistenceUnitRefName((String)newValue); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME: - setPersistenceUnitName((String)newValue); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME: - setPersistenceUnitRefName(PERSISTENCE_UNIT_REF_NAME_EDEFAULT); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME: - setPersistenceUnitName(PERSISTENCE_UNIT_NAME_EDEFAULT); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME: - return PERSISTENCE_UNIT_REF_NAME_EDEFAULT == null ? persistenceUnitRefName != null : !PERSISTENCE_UNIT_REF_NAME_EDEFAULT.equals(persistenceUnitRefName); - case JavaeePackage.PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME: - return PERSISTENCE_UNIT_NAME_EDEFAULT == null ? persistenceUnitName != null : !PERSISTENCE_UNIT_NAME_EDEFAULT.equals(persistenceUnitName); - case JavaeePackage.PERSISTENCE_UNIT_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.PERSISTENCE_UNIT_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.PERSISTENCE_UNIT_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (persistenceUnitRefName: "); //$NON-NLS-1$ - result.append(persistenceUnitRefName); - result.append(", persistenceUnitName: "); //$NON-NLS-1$ - result.append(persistenceUnitName); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //PersistenceUnitRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PortComponentRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PortComponentRefImpl.java deleted file mode 100644 index e03b31992..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PortComponentRefImpl.java +++ /dev/null @@ -1,571 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.math.BigInteger; -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.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.AddressingType; -import org.eclipse.jst.javaee.core.PortComponentRef; - -import org.eclipse.jst.javaee.core.RespectBindingType; -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Port Component Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#isEnableMtom <em>Enable Mtom</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getMtomThreshold <em>Mtom Threshold</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getAddressing <em>Addressing</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getRespectBinding <em>Respect Binding</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getPortComponentLink <em>Port Component Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PortComponentRefImpl extends EObjectImpl implements PortComponentRef { - /** - * The default value of the '{@link #getServiceEndpointInterface() <em>Service Endpoint Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceEndpointInterface() - * @generated - * @ordered - */ - protected static final String SERVICE_ENDPOINT_INTERFACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceEndpointInterface() <em>Service Endpoint Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceEndpointInterface() - * @generated - * @ordered - */ - protected String serviceEndpointInterface = SERVICE_ENDPOINT_INTERFACE_EDEFAULT; - - /** - * The default value of the '{@link #isEnableMtom() <em>Enable Mtom</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEnableMtom() - * @generated - * @ordered - */ - protected static final boolean ENABLE_MTOM_EDEFAULT = false; - - /** - * The cached value of the '{@link #isEnableMtom() <em>Enable Mtom</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEnableMtom() - * @generated - * @ordered - */ - protected boolean enableMtom = ENABLE_MTOM_EDEFAULT; - - /** - * This is true if the Enable Mtom attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean enableMtomESet; - - /** - * The default value of the '{@link #getMtomThreshold() <em>Mtom Threshold</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMtomThreshold() - * @generated - * @ordered - */ - protected static final BigInteger MTOM_THRESHOLD_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMtomThreshold() <em>Mtom Threshold</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMtomThreshold() - * @generated - * @ordered - */ - protected BigInteger mtomThreshold = MTOM_THRESHOLD_EDEFAULT; - - /** - * The cached value of the '{@link #getAddressing() <em>Addressing</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAddressing() - * @generated - * @ordered - */ - protected AddressingType addressing; - - /** - * The cached value of the '{@link #getRespectBinding() <em>Respect Binding</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRespectBinding() - * @generated - * @ordered - */ - protected RespectBindingType respectBinding; - - /** - * The default value of the '{@link #getPortComponentLink() <em>Port Component Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortComponentLink() - * @generated - * @ordered - */ - protected static final String PORT_COMPONENT_LINK_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPortComponentLink() <em>Port Component Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortComponentLink() - * @generated - * @ordered - */ - protected String portComponentLink = PORT_COMPONENT_LINK_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PortComponentRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.PORT_COMPONENT_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceEndpointInterface() { - return serviceEndpointInterface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceEndpointInterface(String newServiceEndpointInterface) { - String oldServiceEndpointInterface = serviceEndpointInterface; - serviceEndpointInterface = newServiceEndpointInterface; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE, oldServiceEndpointInterface, serviceEndpointInterface)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isEnableMtom() { - return enableMtom; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnableMtom(boolean newEnableMtom) { - boolean oldEnableMtom = enableMtom; - enableMtom = newEnableMtom; - boolean oldEnableMtomESet = enableMtomESet; - enableMtomESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM, oldEnableMtom, enableMtom, !oldEnableMtomESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetEnableMtom() { - boolean oldEnableMtom = enableMtom; - boolean oldEnableMtomESet = enableMtomESet; - enableMtom = ENABLE_MTOM_EDEFAULT; - enableMtomESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM, oldEnableMtom, ENABLE_MTOM_EDEFAULT, oldEnableMtomESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetEnableMtom() { - return enableMtomESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BigInteger getMtomThreshold() { - return mtomThreshold; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMtomThreshold(BigInteger newMtomThreshold) { - BigInteger oldMtomThreshold = mtomThreshold; - mtomThreshold = newMtomThreshold; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD, oldMtomThreshold, mtomThreshold)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AddressingType getAddressing() { - return addressing; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAddressing(AddressingType newAddressing, NotificationChain msgs) { - AddressingType oldAddressing = addressing; - addressing = newAddressing; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, oldAddressing, newAddressing); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAddressing(AddressingType newAddressing) { - if (newAddressing != addressing) { - NotificationChain msgs = null; - if (addressing != null) - msgs = ((InternalEObject)addressing).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, null, msgs); - if (newAddressing != null) - msgs = ((InternalEObject)newAddressing).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, null, msgs); - msgs = basicSetAddressing(newAddressing, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__ADDRESSING, newAddressing, newAddressing)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RespectBindingType getRespectBinding() { - return respectBinding; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRespectBinding(RespectBindingType newRespectBinding, NotificationChain msgs) { - RespectBindingType oldRespectBinding = respectBinding; - respectBinding = newRespectBinding; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, oldRespectBinding, newRespectBinding); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRespectBinding(RespectBindingType newRespectBinding) { - if (newRespectBinding != respectBinding) { - NotificationChain msgs = null; - if (respectBinding != null) - msgs = ((InternalEObject)respectBinding).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, null, msgs); - if (newRespectBinding != null) - msgs = ((InternalEObject)newRespectBinding).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, null, msgs); - msgs = basicSetRespectBinding(newRespectBinding, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING, newRespectBinding, newRespectBinding)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPortComponentLink() { - return portComponentLink; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPortComponentLink(String newPortComponentLink) { - String oldPortComponentLink = portComponentLink; - portComponentLink = newPortComponentLink; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK, oldPortComponentLink, portComponentLink)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PORT_COMPONENT_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING: - return basicSetAddressing(null, msgs); - case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING: - return basicSetRespectBinding(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE: - return getServiceEndpointInterface(); - case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM: - return isEnableMtom(); - case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD: - return getMtomThreshold(); - case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING: - return getAddressing(); - case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING: - return getRespectBinding(); - case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK: - return getPortComponentLink(); - case JavaeePackage.PORT_COMPONENT_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE: - setServiceEndpointInterface((String)newValue); - return; - case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM: - setEnableMtom((Boolean)newValue); - return; - case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD: - setMtomThreshold((BigInteger)newValue); - return; - case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING: - setAddressing((AddressingType)newValue); - return; - case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING: - setRespectBinding((RespectBindingType)newValue); - return; - case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK: - setPortComponentLink((String)newValue); - return; - case JavaeePackage.PORT_COMPONENT_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE: - setServiceEndpointInterface(SERVICE_ENDPOINT_INTERFACE_EDEFAULT); - return; - case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM: - unsetEnableMtom(); - return; - case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD: - setMtomThreshold(MTOM_THRESHOLD_EDEFAULT); - return; - case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING: - setAddressing((AddressingType)null); - return; - case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING: - setRespectBinding((RespectBindingType)null); - return; - case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK: - setPortComponentLink(PORT_COMPONENT_LINK_EDEFAULT); - return; - case JavaeePackage.PORT_COMPONENT_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE: - return SERVICE_ENDPOINT_INTERFACE_EDEFAULT == null ? serviceEndpointInterface != null : !SERVICE_ENDPOINT_INTERFACE_EDEFAULT.equals(serviceEndpointInterface); - case JavaeePackage.PORT_COMPONENT_REF__ENABLE_MTOM: - return isSetEnableMtom(); - case JavaeePackage.PORT_COMPONENT_REF__MTOM_THRESHOLD: - return MTOM_THRESHOLD_EDEFAULT == null ? mtomThreshold != null : !MTOM_THRESHOLD_EDEFAULT.equals(mtomThreshold); - case JavaeePackage.PORT_COMPONENT_REF__ADDRESSING: - return addressing != null; - case JavaeePackage.PORT_COMPONENT_REF__RESPECT_BINDING: - return respectBinding != null; - case JavaeePackage.PORT_COMPONENT_REF__PORT_COMPONENT_LINK: - return PORT_COMPONENT_LINK_EDEFAULT == null ? portComponentLink != null : !PORT_COMPONENT_LINK_EDEFAULT.equals(portComponentLink); - case JavaeePackage.PORT_COMPONENT_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (serviceEndpointInterface: "); //$NON-NLS-1$ - result.append(serviceEndpointInterface); - result.append(", enableMtom: "); //$NON-NLS-1$ - if (enableMtomESet) result.append(enableMtom); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", mtomThreshold: "); //$NON-NLS-1$ - result.append(mtomThreshold); - result.append(", portComponentLink: "); //$NON-NLS-1$ - result.append(portComponentLink); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //PortComponentRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PropertyTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PropertyTypeImpl.java deleted file mode 100644 index 3e214d0ea..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PropertyTypeImpl.java +++ /dev/null @@ -1,280 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.PropertyType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Property Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PropertyTypeImpl extends EObjectImpl implements PropertyType { - /** - * 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; - - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PropertyTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.PROPERTY_TYPE; - } - - /** - * <!-- 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, JavaeePackage.PROPERTY_TYPE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PROPERTY_TYPE__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.PROPERTY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.PROPERTY_TYPE__NAME: - return getName(); - case JavaeePackage.PROPERTY_TYPE__VALUE: - return getValue(); - case JavaeePackage.PROPERTY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PROPERTY_TYPE__NAME: - setName((String)newValue); - return; - case JavaeePackage.PROPERTY_TYPE__VALUE: - setValue((String)newValue); - return; - case JavaeePackage.PROPERTY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.PROPERTY_TYPE__NAME: - setName(NAME_EDEFAULT); - return; - case JavaeePackage.PROPERTY_TYPE__VALUE: - setValue(VALUE_EDEFAULT); - return; - case JavaeePackage.PROPERTY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.PROPERTY_TYPE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case JavaeePackage.PROPERTY_TYPE__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - case JavaeePackage.PROPERTY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(", value: "); //$NON-NLS-1$ - result.append(value); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //PropertyTypeImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceEnvRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceEnvRefImpl.java deleted file mode 100644 index 8e6aa302f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceEnvRefImpl.java +++ /dev/null @@ -1,485 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.ResourceEnvRef; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Resource Env Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getResourceEnvRefName <em>Resource Env Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getResourceEnvRefType <em>Resource Env Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ResourceEnvRefImpl extends EObjectImpl implements ResourceEnvRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getResourceEnvRefName() <em>Resource Env Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResourceEnvRefName() - * @generated - * @ordered - */ - protected static final String RESOURCE_ENV_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResourceEnvRefName() <em>Resource Env Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResourceEnvRefName() - * @generated - * @ordered - */ - protected String resourceEnvRefName = RESOURCE_ENV_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getResourceEnvRefType() <em>Resource Env Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResourceEnvRefType() - * @generated - * @ordered - */ - protected static final String RESOURCE_ENV_REF_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResourceEnvRefType() <em>Resource Env Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResourceEnvRefType() - * @generated - * @ordered - */ - protected String resourceEnvRefType = RESOURCE_ENV_REF_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ResourceEnvRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.RESOURCE_ENV_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getResourceEnvRefName() { - return resourceEnvRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResourceEnvRefName(String newResourceEnvRefName) { - String oldResourceEnvRefName = resourceEnvRefName; - resourceEnvRefName = newResourceEnvRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME, oldResourceEnvRefName, resourceEnvRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getResourceEnvRefType() { - return resourceEnvRefType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResourceEnvRefType(String newResourceEnvRefType) { - String oldResourceEnvRefType = resourceEnvRefType; - resourceEnvRefType = newResourceEnvRefType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE, oldResourceEnvRefType, resourceEnvRefType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_ENV_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_ENV_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME: - return getResourceEnvRefName(); - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE: - return getResourceEnvRefType(); - case JavaeePackage.RESOURCE_ENV_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.RESOURCE_ENV_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME: - setResourceEnvRefName((String)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE: - setResourceEnvRefType((String)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME: - setResourceEnvRefName(RESOURCE_ENV_REF_NAME_EDEFAULT); - return; - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE: - setResourceEnvRefType(RESOURCE_ENV_REF_TYPE_EDEFAULT); - return; - case JavaeePackage.RESOURCE_ENV_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.RESOURCE_ENV_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME: - return RESOURCE_ENV_REF_NAME_EDEFAULT == null ? resourceEnvRefName != null : !RESOURCE_ENV_REF_NAME_EDEFAULT.equals(resourceEnvRefName); - case JavaeePackage.RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE: - return RESOURCE_ENV_REF_TYPE_EDEFAULT == null ? resourceEnvRefType != null : !RESOURCE_ENV_REF_TYPE_EDEFAULT.equals(resourceEnvRefType); - case JavaeePackage.RESOURCE_ENV_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.RESOURCE_ENV_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.RESOURCE_ENV_REF__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.RESOURCE_ENV_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (resourceEnvRefName: "); //$NON-NLS-1$ - result.append(resourceEnvRefName); - result.append(", resourceEnvRefType: "); //$NON-NLS-1$ - result.append(resourceEnvRefType); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ResourceEnvRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceRefImpl.java deleted file mode 100644 index fe4ce68ca..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceRefImpl.java +++ /dev/null @@ -1,663 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.ResAuthType; -import org.eclipse.jst.javaee.core.ResSharingScopeType; -import org.eclipse.jst.javaee.core.ResourceRef; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Resource Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getResRefName <em>Res Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getResType <em>Res Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getResAuth <em>Res Auth</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getResSharingScope <em>Res Sharing Scope</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ResourceRefImpl extends EObjectImpl implements ResourceRef { - /** - * 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<Description> descriptions; - - /** - * The default value of the '{@link #getResRefName() <em>Res Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResRefName() - * @generated - * @ordered - */ - protected static final String RES_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResRefName() <em>Res Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResRefName() - * @generated - * @ordered - */ - protected String resRefName = RES_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getResType() <em>Res Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResType() - * @generated - * @ordered - */ - protected static final String RES_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getResType() <em>Res Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResType() - * @generated - * @ordered - */ - protected String resType = RES_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getResAuth() <em>Res Auth</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResAuth() - * @generated - * @ordered - */ - protected static final ResAuthType RES_AUTH_EDEFAULT = ResAuthType.APPLICATION_LITERAL; - - /** - * The cached value of the '{@link #getResAuth() <em>Res Auth</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResAuth() - * @generated - * @ordered - */ - protected ResAuthType resAuth = RES_AUTH_EDEFAULT; - - /** - * This is true if the Res Auth attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean resAuthESet; - - /** - * The default value of the '{@link #getResSharingScope() <em>Res Sharing Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResSharingScope() - * @generated - * @ordered - */ - protected static final ResSharingScopeType RES_SHARING_SCOPE_EDEFAULT = ResSharingScopeType.SHAREABLE_LITERAL; - - /** - * The cached value of the '{@link #getResSharingScope() <em>Res Sharing Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResSharingScope() - * @generated - * @ordered - */ - protected ResSharingScopeType resSharingScope = RES_SHARING_SCOPE_EDEFAULT; - - /** - * This is true if the Res Sharing Scope attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean resSharingScopeESet; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ResourceRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.RESOURCE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.RESOURCE_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getResRefName() { - return resRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResRefName(String newResRefName) { - String oldResRefName = resRefName; - resRefName = newResRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__RES_REF_NAME, oldResRefName, resRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getResType() { - return resType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResType(String newResType) { - String oldResType = resType; - resType = newResType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__RES_TYPE, oldResType, resType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResAuthType getResAuth() { - return resAuth; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResAuth(ResAuthType newResAuth) { - ResAuthType oldResAuth = resAuth; - resAuth = newResAuth == null ? RES_AUTH_EDEFAULT : newResAuth; - boolean oldResAuthESet = resAuthESet; - resAuthESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__RES_AUTH, oldResAuth, resAuth, !oldResAuthESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetResAuth() { - ResAuthType oldResAuth = resAuth; - boolean oldResAuthESet = resAuthESet; - resAuth = RES_AUTH_EDEFAULT; - resAuthESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.RESOURCE_REF__RES_AUTH, oldResAuth, RES_AUTH_EDEFAULT, oldResAuthESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetResAuth() { - return resAuthESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResSharingScopeType getResSharingScope() { - return resSharingScope; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResSharingScope(ResSharingScopeType newResSharingScope) { - ResSharingScopeType oldResSharingScope = resSharingScope; - resSharingScope = newResSharingScope == null ? RES_SHARING_SCOPE_EDEFAULT : newResSharingScope; - boolean oldResSharingScopeESet = resSharingScopeESet; - resSharingScopeESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__RES_SHARING_SCOPE, oldResSharingScope, resSharingScope, !oldResSharingScopeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetResSharingScope() { - ResSharingScopeType oldResSharingScope = resSharingScope; - boolean oldResSharingScopeESet = resSharingScopeESet; - resSharingScope = RES_SHARING_SCOPE_EDEFAULT; - resSharingScopeESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.RESOURCE_REF__RES_SHARING_SCOPE, oldResSharingScope, RES_SHARING_SCOPE_EDEFAULT, oldResSharingScopeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetResSharingScope() { - return resSharingScopeESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.RESOURCE_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESOURCE_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.RESOURCE_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.RESOURCE_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.RESOURCE_REF__RES_REF_NAME: - return getResRefName(); - case JavaeePackage.RESOURCE_REF__RES_TYPE: - return getResType(); - case JavaeePackage.RESOURCE_REF__RES_AUTH: - return getResAuth(); - case JavaeePackage.RESOURCE_REF__RES_SHARING_SCOPE: - return getResSharingScope(); - case JavaeePackage.RESOURCE_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.RESOURCE_REF__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.RESOURCE_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RESOURCE_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.RESOURCE_REF__RES_REF_NAME: - setResRefName((String)newValue); - return; - case JavaeePackage.RESOURCE_REF__RES_TYPE: - setResType((String)newValue); - return; - case JavaeePackage.RESOURCE_REF__RES_AUTH: - setResAuth((ResAuthType)newValue); - return; - case JavaeePackage.RESOURCE_REF__RES_SHARING_SCOPE: - setResSharingScope((ResSharingScopeType)newValue); - return; - case JavaeePackage.RESOURCE_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.RESOURCE_REF__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.RESOURCE_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.RESOURCE_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.RESOURCE_REF__RES_REF_NAME: - setResRefName(RES_REF_NAME_EDEFAULT); - return; - case JavaeePackage.RESOURCE_REF__RES_TYPE: - setResType(RES_TYPE_EDEFAULT); - return; - case JavaeePackage.RESOURCE_REF__RES_AUTH: - unsetResAuth(); - return; - case JavaeePackage.RESOURCE_REF__RES_SHARING_SCOPE: - unsetResSharingScope(); - return; - case JavaeePackage.RESOURCE_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.RESOURCE_REF__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.RESOURCE_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.RESOURCE_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.RESOURCE_REF__RES_REF_NAME: - return RES_REF_NAME_EDEFAULT == null ? resRefName != null : !RES_REF_NAME_EDEFAULT.equals(resRefName); - case JavaeePackage.RESOURCE_REF__RES_TYPE: - return RES_TYPE_EDEFAULT == null ? resType != null : !RES_TYPE_EDEFAULT.equals(resType); - case JavaeePackage.RESOURCE_REF__RES_AUTH: - return isSetResAuth(); - case JavaeePackage.RESOURCE_REF__RES_SHARING_SCOPE: - return isSetResSharingScope(); - case JavaeePackage.RESOURCE_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.RESOURCE_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.RESOURCE_REF__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.RESOURCE_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (resRefName: "); //$NON-NLS-1$ - result.append(resRefName); - result.append(", resType: "); //$NON-NLS-1$ - result.append(resType); - result.append(", resAuth: "); //$NON-NLS-1$ - if (resAuthESet) result.append(resAuth); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", resSharingScope: "); //$NON-NLS-1$ - if (resSharingScopeESet) result.append(resSharingScope); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ResourceRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RespectBindingTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RespectBindingTypeImpl.java deleted file mode 100644 index f5aeab90e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RespectBindingTypeImpl.java +++ /dev/null @@ -1,206 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.RespectBindingType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Respect Binding Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl#isEnabled <em>Enabled</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class RespectBindingTypeImpl extends EObjectImpl implements RespectBindingType { - /** - * The default value of the '{@link #isEnabled() <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEnabled() - * @generated - * @ordered - */ - protected static final boolean ENABLED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isEnabled() <em>Enabled</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEnabled() - * @generated - * @ordered - */ - protected boolean enabled = ENABLED_EDEFAULT; - - /** - * This is true if the Enabled attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean enabledESet; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RespectBindingTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.RESPECT_BINDING_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isEnabled() { - return enabled; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnabled(boolean newEnabled) { - boolean oldEnabled = enabled; - enabled = newEnabled; - boolean oldEnabledESet = enabledESet; - enabledESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RESPECT_BINDING_TYPE__ENABLED, oldEnabled, enabled, !oldEnabledESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetEnabled() { - boolean oldEnabled = enabled; - boolean oldEnabledESet = enabledESet; - enabled = ENABLED_EDEFAULT; - enabledESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.RESPECT_BINDING_TYPE__ENABLED, oldEnabled, ENABLED_EDEFAULT, oldEnabledESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetEnabled() { - return enabledESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED: - return isEnabled(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED: - setEnabled((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED: - unsetEnabled(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.RESPECT_BINDING_TYPE__ENABLED: - return isSetEnabled(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (enabled: "); //$NON-NLS-1$ - if (enabledESet) result.append(enabled); else result.append("<unset>"); //$NON-NLS-1$ - result.append(')'); - return result.toString(); - } - -} //RespectBindingTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RunAsImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RunAsImpl.java deleted file mode 100644 index b1e80f086..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RunAsImpl.java +++ /dev/null @@ -1,286 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.RunAs; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Run As</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl#getRoleName <em>Role Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class RunAsImpl extends EObjectImpl implements RunAs { - /** - * 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<Description> descriptions; - - /** - * 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; - - /** - * The cached value of the '{@link #getRoleName() <em>Role Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoleName() - * @generated - * @ordered - */ - protected String roleName = ROLE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RunAsImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.RUN_AS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.RUN_AS__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getRoleName() { - return roleName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRoleName(String newRoleName) { - String oldRoleName = roleName; - roleName = newRoleName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RUN_AS__ROLE_NAME, oldRoleName, roleName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.RUN_AS__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.RUN_AS__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.RUN_AS__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.RUN_AS__ROLE_NAME: - return getRoleName(); - case JavaeePackage.RUN_AS__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RUN_AS__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.RUN_AS__ROLE_NAME: - setRoleName((String)newValue); - return; - case JavaeePackage.RUN_AS__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.RUN_AS__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.RUN_AS__ROLE_NAME: - setRoleName(ROLE_NAME_EDEFAULT); - return; - case JavaeePackage.RUN_AS__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.RUN_AS__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.RUN_AS__ROLE_NAME: - return ROLE_NAME_EDEFAULT == null ? roleName != null : !ROLE_NAME_EDEFAULT.equals(roleName); - case JavaeePackage.RUN_AS__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (roleName: "); //$NON-NLS-1$ - result.append(roleName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //RunAsImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleImpl.java deleted file mode 100644 index f9a6ccb5e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleImpl.java +++ /dev/null @@ -1,286 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.SecurityRole; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Security Role</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl#getRoleName <em>Role Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SecurityRoleImpl extends EObjectImpl implements SecurityRole { - /** - * 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<Description> descriptions; - - /** - * 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; - - /** - * The cached value of the '{@link #getRoleName() <em>Role Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoleName() - * @generated - * @ordered - */ - protected String roleName = ROLE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SecurityRoleImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.SECURITY_ROLE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SECURITY_ROLE__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getRoleName() { - return roleName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRoleName(String newRoleName) { - String oldRoleName = roleName; - roleName = newRoleName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SECURITY_ROLE__ROLE_NAME, oldRoleName, roleName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SECURITY_ROLE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.SECURITY_ROLE__ROLE_NAME: - return getRoleName(); - case JavaeePackage.SECURITY_ROLE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.SECURITY_ROLE__ROLE_NAME: - setRoleName((String)newValue); - return; - case JavaeePackage.SECURITY_ROLE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.SECURITY_ROLE__ROLE_NAME: - setRoleName(ROLE_NAME_EDEFAULT); - return; - case JavaeePackage.SECURITY_ROLE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.SECURITY_ROLE__ROLE_NAME: - return ROLE_NAME_EDEFAULT == null ? roleName != null : !ROLE_NAME_EDEFAULT.equals(roleName); - case JavaeePackage.SECURITY_ROLE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (roleName: "); //$NON-NLS-1$ - result.append(roleName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SecurityRoleImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleRefImpl.java deleted file mode 100644 index 6e5d575e7..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleRefImpl.java +++ /dev/null @@ -1,340 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.SecurityRoleRef; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Security Role Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl#getRoleName <em>Role Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl#getRoleLink <em>Role Link</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SecurityRoleRefImpl extends EObjectImpl implements SecurityRoleRef { - /** - * 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<Description> descriptions; - - /** - * 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; - - /** - * The cached value of the '{@link #getRoleName() <em>Role Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoleName() - * @generated - * @ordered - */ - protected String roleName = ROLE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getRoleLink() <em>Role Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoleLink() - * @generated - * @ordered - */ - protected static final String ROLE_LINK_EDEFAULT = null; - - /** - * The cached value of the '{@link #getRoleLink() <em>Role Link</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRoleLink() - * @generated - * @ordered - */ - protected String roleLink = ROLE_LINK_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SecurityRoleRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.SECURITY_ROLE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getRoleName() { - return roleName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRoleName(String newRoleName) { - String oldRoleName = roleName; - roleName = newRoleName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME, oldRoleName, roleName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getRoleLink() { - return roleLink; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRoleLink(String newRoleLink) { - String oldRoleLink = roleLink; - roleLink = newRoleLink; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SECURITY_ROLE_REF__ROLE_LINK, oldRoleLink, roleLink)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SECURITY_ROLE_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME: - return getRoleName(); - case JavaeePackage.SECURITY_ROLE_REF__ROLE_LINK: - return getRoleLink(); - case JavaeePackage.SECURITY_ROLE_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME: - setRoleName((String)newValue); - return; - case JavaeePackage.SECURITY_ROLE_REF__ROLE_LINK: - setRoleLink((String)newValue); - return; - case JavaeePackage.SECURITY_ROLE_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME: - setRoleName(ROLE_NAME_EDEFAULT); - return; - case JavaeePackage.SECURITY_ROLE_REF__ROLE_LINK: - setRoleLink(ROLE_LINK_EDEFAULT); - return; - case JavaeePackage.SECURITY_ROLE_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.SECURITY_ROLE_REF__ROLE_NAME: - return ROLE_NAME_EDEFAULT == null ? roleName != null : !ROLE_NAME_EDEFAULT.equals(roleName); - case JavaeePackage.SECURITY_ROLE_REF__ROLE_LINK: - return ROLE_LINK_EDEFAULT == null ? roleLink != null : !ROLE_LINK_EDEFAULT.equals(roleLink); - case JavaeePackage.SECURITY_ROLE_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (roleName: "); //$NON-NLS-1$ - result.append(roleName); - result.append(", roleLink: "); //$NON-NLS-1$ - result.append(roleLink); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SecurityRoleRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainImpl.java deleted file mode 100644 index 2ed366e19..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainImpl.java +++ /dev/null @@ -1,394 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.ServiceRefHandler; -import org.eclipse.jst.javaee.core.ServiceRefHandlerChain; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Ref Handler Chain</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl#getServiceNamePattern <em>Service Name Pattern</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl#getPortNamePattern <em>Port Name Pattern</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl#getProtocolBindings <em>Protocol Bindings</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl#getHandlers <em>Handlers</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceRefHandlerChainImpl extends EObjectImpl implements ServiceRefHandlerChain { - /** - * The default value of the '{@link #getServiceNamePattern() <em>Service Name Pattern</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceNamePattern() - * @generated - * @ordered - */ - protected static final String SERVICE_NAME_PATTERN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceNamePattern() <em>Service Name Pattern</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceNamePattern() - * @generated - * @ordered - */ - protected String serviceNamePattern = SERVICE_NAME_PATTERN_EDEFAULT; - - /** - * The default value of the '{@link #getPortNamePattern() <em>Port Name Pattern</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortNamePattern() - * @generated - * @ordered - */ - protected static final String PORT_NAME_PATTERN_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPortNamePattern() <em>Port Name Pattern</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortNamePattern() - * @generated - * @ordered - */ - protected String portNamePattern = PORT_NAME_PATTERN_EDEFAULT; - - /** - * The default value of the '{@link #getProtocolBindings() <em>Protocol Bindings</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getProtocolBindings() - * @generated - * @ordered - */ - protected static final List<String> PROTOCOL_BINDINGS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getProtocolBindings() <em>Protocol Bindings</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getProtocolBindings() - * @generated - * @ordered - */ - protected List<String> protocolBindings = PROTOCOL_BINDINGS_EDEFAULT; - - /** - * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlers() - * @generated - * @ordered - */ - protected EList<ServiceRefHandler> handlers; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceRefHandlerChainImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF_HANDLER_CHAIN; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceNamePattern() { - return serviceNamePattern; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceNamePattern(String newServiceNamePattern) { - String oldServiceNamePattern = serviceNamePattern; - serviceNamePattern = newServiceNamePattern; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN, oldServiceNamePattern, serviceNamePattern)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPortNamePattern() { - return portNamePattern; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPortNamePattern(String newPortNamePattern) { - String oldPortNamePattern = portNamePattern; - portNamePattern = newPortNamePattern; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN, oldPortNamePattern, portNamePattern)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<String> getProtocolBindings() { - return protocolBindings; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setProtocolBindings(List<String> newProtocolBindings) { - List<String> oldProtocolBindings = protocolBindings; - protocolBindings = newProtocolBindings; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS, oldProtocolBindings, protocolBindings)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<ServiceRefHandler> getHandlers() { - if (handlers == null) { - handlers = new EObjectContainmentEList<ServiceRefHandler>(ServiceRefHandler.class, this, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS); - } - return handlers; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS: - return ((InternalEList<?>)getHandlers()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN: - return getServiceNamePattern(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN: - return getPortNamePattern(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS: - return getProtocolBindings(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS: - return getHandlers(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN: - setServiceNamePattern((String)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN: - setPortNamePattern((String)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS: - setProtocolBindings((List<String>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS: - getHandlers().clear(); - getHandlers().addAll((Collection<? extends ServiceRefHandler>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN: - setServiceNamePattern(SERVICE_NAME_PATTERN_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN: - setPortNamePattern(PORT_NAME_PATTERN_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS: - setProtocolBindings(PROTOCOL_BINDINGS_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS: - getHandlers().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN: - return SERVICE_NAME_PATTERN_EDEFAULT == null ? serviceNamePattern != null : !SERVICE_NAME_PATTERN_EDEFAULT.equals(serviceNamePattern); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN: - return PORT_NAME_PATTERN_EDEFAULT == null ? portNamePattern != null : !PORT_NAME_PATTERN_EDEFAULT.equals(portNamePattern); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS: - return PROTOCOL_BINDINGS_EDEFAULT == null ? protocolBindings != null : !PROTOCOL_BINDINGS_EDEFAULT.equals(protocolBindings); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS: - return handlers != null && !handlers.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (serviceNamePattern: "); //$NON-NLS-1$ - result.append(serviceNamePattern); - result.append(", portNamePattern: "); //$NON-NLS-1$ - result.append(portNamePattern); - result.append(", protocolBindings: "); //$NON-NLS-1$ - result.append(protocolBindings); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ServiceRefHandlerChainImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainsImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainsImpl.java deleted file mode 100644 index 00888a3be..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainsImpl.java +++ /dev/null @@ -1,232 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.ServiceRefHandlerChain; -import org.eclipse.jst.javaee.core.ServiceRefHandlerChains; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Ref Handler Chains</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl#getHandlerChains <em>Handler Chains</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceRefHandlerChainsImpl extends EObjectImpl implements ServiceRefHandlerChains { - /** - * The cached value of the '{@link #getHandlerChains() <em>Handler Chains</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlerChains() - * @generated - * @ordered - */ - protected EList<ServiceRefHandlerChain> handlerChains; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceRefHandlerChainsImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF_HANDLER_CHAINS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<ServiceRefHandlerChain> getHandlerChains() { - if (handlerChains == null) { - handlerChains = new EObjectContainmentEList<ServiceRefHandlerChain>(ServiceRefHandlerChain.class, this, JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS); - } - return handlerChains; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS: - return ((InternalEList<?>)getHandlerChains()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS: - return getHandlerChains(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS: - getHandlerChains().clear(); - getHandlerChains().addAll((Collection<? extends ServiceRefHandlerChain>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS: - getHandlerChains().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS: - return handlerChains != null && !handlerChains.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ServiceRefHandlerChainsImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerImpl.java deleted file mode 100644 index 7378b5ae4..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerImpl.java +++ /dev/null @@ -1,561 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -import java.util.List; - -import javax.xml.namespace.QName; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EDataTypeEList; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.ParamValue; -import org.eclipse.jst.javaee.core.ServiceRefHandler; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Ref Handler</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getHandlerName <em>Handler Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getHandlerClass <em>Handler Class</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getInitParams <em>Init Params</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getSoapHeaders <em>Soap Headers</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getSoapRoles <em>Soap Roles</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getPortNames <em>Port Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceRefHandlerImpl extends EObjectImpl implements ServiceRefHandler { - /** - * 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<Description> descriptions; - - /** - * 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<DisplayName> displayNames; - - /** - * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIcons() - * @generated - * @ordered - */ - protected EList<Icon> icons; - - /** - * The default value of the '{@link #getHandlerName() <em>Handler Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlerName() - * @generated - * @ordered - */ - protected static final String HANDLER_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHandlerName() <em>Handler Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlerName() - * @generated - * @ordered - */ - protected String handlerName = HANDLER_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getHandlerClass() <em>Handler Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlerClass() - * @generated - * @ordered - */ - protected static final String HANDLER_CLASS_EDEFAULT = null; - - /** - * The cached value of the '{@link #getHandlerClass() <em>Handler Class</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlerClass() - * @generated - * @ordered - */ - protected String handlerClass = HANDLER_CLASS_EDEFAULT; - - /** - * 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<ParamValue> initParams; - - /** - * The cached value of the '{@link #getSoapHeaders() <em>Soap Headers</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSoapHeaders() - * @generated - * @ordered - */ - protected EList<QName> soapHeaders; - - /** - * The cached value of the '{@link #getSoapRoles() <em>Soap Roles</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSoapRoles() - * @generated - * @ordered - */ - protected EList<String> soapRoles; - - /** - * The cached value of the '{@link #getPortNames() <em>Port Names</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortNames() - * @generated - * @ordered - */ - protected EList<String> portNames; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceRefHandlerImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF_HANDLER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<DisplayName> getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Icon> getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.SERVICE_REF_HANDLER__ICONS); - } - return icons; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getHandlerName() { - return handlerName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHandlerName(String newHandlerName) { - String oldHandlerName = handlerName; - handlerName = newHandlerName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME, oldHandlerName, handlerName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getHandlerClass() { - return handlerClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHandlerClass(String newHandlerClass) { - String oldHandlerClass = handlerClass; - handlerClass = newHandlerClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER__HANDLER_CLASS, oldHandlerClass, handlerClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<ParamValue> getInitParams() { - if (initParams == null) { - initParams = new EObjectContainmentEList<ParamValue>(ParamValue.class, this, JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS); - } - return initParams; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<QName> getSoapHeaders() { - if (soapHeaders == null) { - soapHeaders = new EDataTypeEList<QName>(QName.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS); - } - return soapHeaders; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<String> getSoapRoles() { - if (soapRoles == null) { - soapRoles = new EDataTypeEList<String>(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES); - } - return soapRoles; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<String> getPortNames() { - if (portNames == null) { - portNames = new EDataTypeEList<String>(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES); - } - return portNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF_HANDLER__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES: - return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF_HANDLER__ICONS: - return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS: - return ((InternalEList<?>)getInitParams()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES: - return getDisplayNames(); - case JavaeePackage.SERVICE_REF_HANDLER__ICONS: - return getIcons(); - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME: - return getHandlerName(); - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_CLASS: - return getHandlerClass(); - case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS: - return getInitParams(); - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS: - return getSoapHeaders(); - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES: - return getSoapRoles(); - case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES: - return getPortNames(); - case JavaeePackage.SERVICE_REF_HANDLER__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection<? extends DisplayName>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__ICONS: - getIcons().clear(); - getIcons().addAll((Collection<? extends Icon>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME: - setHandlerName((String)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_CLASS: - setHandlerClass((String)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS: - getInitParams().clear(); - getInitParams().addAll((Collection<? extends ParamValue>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS: - getSoapHeaders().clear(); - getSoapHeaders().addAll((Collection<? extends QName>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES: - getSoapRoles().clear(); - getSoapRoles().addAll((Collection<? extends String>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES: - getPortNames().clear(); - getPortNames().addAll((Collection<? extends String>)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES: - getDisplayNames().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__ICONS: - getIcons().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME: - setHandlerName(HANDLER_NAME_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_CLASS: - setHandlerClass(HANDLER_CLASS_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS: - getInitParams().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS: - getSoapHeaders().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES: - getSoapRoles().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES: - getPortNames().clear(); - return; - case JavaeePackage.SERVICE_REF_HANDLER__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES: - return displayNames != null && !displayNames.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__ICONS: - return icons != null && !icons.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_NAME: - return HANDLER_NAME_EDEFAULT == null ? handlerName != null : !HANDLER_NAME_EDEFAULT.equals(handlerName); - case JavaeePackage.SERVICE_REF_HANDLER__HANDLER_CLASS: - return HANDLER_CLASS_EDEFAULT == null ? handlerClass != null : !HANDLER_CLASS_EDEFAULT.equals(handlerClass); - case JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS: - return initParams != null && !initParams.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS: - return soapHeaders != null && !soapHeaders.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES: - return soapRoles != null && !soapRoles.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES: - return portNames != null && !portNames.isEmpty(); - case JavaeePackage.SERVICE_REF_HANDLER__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (handlerName: "); //$NON-NLS-1$ - result.append(handlerName); - result.append(", handlerClass: "); //$NON-NLS-1$ - result.append(handlerClass); - result.append(", soapHeaders: "); //$NON-NLS-1$ - result.append(soapHeaders); - result.append(", soapRoles: "); //$NON-NLS-1$ - result.append(soapRoles); - result.append(", portNames: "); //$NON-NLS-1$ - result.append(portNames); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ServiceRefHandlerImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java deleted file mode 100644 index fdb00279f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java +++ /dev/null @@ -1,929 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.impl; - -import java.util.Collection; -import java.util.List; - -import javax.xml.namespace.QName; -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.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.InjectionTarget; -import org.eclipse.jst.javaee.core.PortComponentRef; -import org.eclipse.jst.javaee.core.ServiceRef; -import org.eclipse.jst.javaee.core.ServiceRefHandler; -import org.eclipse.jst.javaee.core.ServiceRefHandlerChains; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Ref</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getServiceRefName <em>Service Ref Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getServiceInterface <em>Service Interface</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getServiceRefType <em>Service Ref Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getWsdlFile <em>Wsdl File</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getJaxrpcMappingFile <em>Jaxrpc Mapping File</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getServiceQname <em>Service Qname</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getPortComponentRefs <em>Port Component Refs</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getHandlers <em>Handlers</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getHandlerChains <em>Handler Chains</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getMappedName <em>Mapped Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getInjectionTargets <em>Injection Targets</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getLookupName <em>Lookup Name</em>}</li> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceRefImpl extends EObjectImpl implements ServiceRef { - /** - * 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<Description> descriptions; - - /** - * 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<DisplayName> displayNames; - - /** - * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIcons() - * @generated - * @ordered - */ - protected EList<Icon> icons; - - /** - * The default value of the '{@link #getServiceRefName() <em>Service Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceRefName() - * @generated - * @ordered - */ - protected static final String SERVICE_REF_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceRefName() <em>Service Ref Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceRefName() - * @generated - * @ordered - */ - protected String serviceRefName = SERVICE_REF_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getServiceInterface() <em>Service Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceInterface() - * @generated - * @ordered - */ - protected static final String SERVICE_INTERFACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceInterface() <em>Service Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceInterface() - * @generated - * @ordered - */ - protected String serviceInterface = SERVICE_INTERFACE_EDEFAULT; - - /** - * The default value of the '{@link #getServiceRefType() <em>Service Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceRefType() - * @generated - * @ordered - */ - protected static final String SERVICE_REF_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceRefType() <em>Service Ref Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceRefType() - * @generated - * @ordered - */ - protected String serviceRefType = SERVICE_REF_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlFile() <em>Wsdl File</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlFile() - * @generated - * @ordered - */ - protected static final String WSDL_FILE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlFile() <em>Wsdl File</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlFile() - * @generated - * @ordered - */ - protected String wsdlFile = WSDL_FILE_EDEFAULT; - - /** - * The default value of the '{@link #getJaxrpcMappingFile() <em>Jaxrpc Mapping File</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJaxrpcMappingFile() - * @generated - * @ordered - */ - protected static final String JAXRPC_MAPPING_FILE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJaxrpcMappingFile() <em>Jaxrpc Mapping File</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJaxrpcMappingFile() - * @generated - * @ordered - */ - protected String jaxrpcMappingFile = JAXRPC_MAPPING_FILE_EDEFAULT; - - /** - * The default value of the '{@link #getServiceQname() <em>Service Qname</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceQname() - * @generated - * @ordered - */ - protected static final QName SERVICE_QNAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceQname() <em>Service Qname</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceQname() - * @generated - * @ordered - */ - protected QName serviceQname = SERVICE_QNAME_EDEFAULT; - - /** - * The cached value of the '{@link #getPortComponentRefs() <em>Port Component Refs</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortComponentRefs() - * @generated - * @ordered - */ - protected EList<PortComponentRef> portComponentRefs; - - /** - * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlers() - * @generated - * @ordered - */ - protected EList<ServiceRefHandler> handlers; - - /** - * The cached value of the '{@link #getHandlerChains() <em>Handler Chains</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getHandlerChains() - * @generated - * @ordered - */ - protected ServiceRefHandlerChains handlerChains; - - /** - * The default value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected static final String MAPPED_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMappedName() <em>Mapped Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMappedName() - * @generated - * @ordered - */ - protected String mappedName = MAPPED_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getInjectionTargets() <em>Injection Targets</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInjectionTargets() - * @generated - * @ordered - */ - protected EList<InjectionTarget> injectionTargets; - - /** - * The default value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected static final String LOOKUP_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getLookupName() <em>Lookup Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLookupName() - * @generated - * @ordered - */ - protected String lookupName = LOOKUP_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceRefImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JavaeePackage.SERVICE_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<DisplayName> getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JavaeePackage.SERVICE_REF__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Icon> getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList<Icon>(Icon.class, this, JavaeePackage.SERVICE_REF__ICONS); - } - return icons; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceRefName() { - return serviceRefName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceRefName(String newServiceRefName) { - String oldServiceRefName = serviceRefName; - serviceRefName = newServiceRefName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__SERVICE_REF_NAME, oldServiceRefName, serviceRefName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceInterface() { - return serviceInterface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceInterface(String newServiceInterface) { - String oldServiceInterface = serviceInterface; - serviceInterface = newServiceInterface; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__SERVICE_INTERFACE, oldServiceInterface, serviceInterface)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceRefType() { - return serviceRefType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceRefType(String newServiceRefType) { - String oldServiceRefType = serviceRefType; - serviceRefType = newServiceRefType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__SERVICE_REF_TYPE, oldServiceRefType, serviceRefType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlFile() { - return wsdlFile; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlFile(String newWsdlFile) { - String oldWsdlFile = wsdlFile; - wsdlFile = newWsdlFile; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__WSDL_FILE, oldWsdlFile, wsdlFile)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJaxrpcMappingFile() { - return jaxrpcMappingFile; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJaxrpcMappingFile(String newJaxrpcMappingFile) { - String oldJaxrpcMappingFile = jaxrpcMappingFile; - jaxrpcMappingFile = newJaxrpcMappingFile; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__JAXRPC_MAPPING_FILE, oldJaxrpcMappingFile, jaxrpcMappingFile)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public QName getServiceQname() { - return serviceQname; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceQname(QName newServiceQname) { - QName oldServiceQname = serviceQname; - serviceQname = newServiceQname; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__SERVICE_QNAME, oldServiceQname, serviceQname)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<PortComponentRef> getPortComponentRefs() { - if (portComponentRefs == null) { - portComponentRefs = new EObjectContainmentEList<PortComponentRef>(PortComponentRef.class, this, JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS); - } - return portComponentRefs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<ServiceRefHandler> getHandlers() { - if (handlers == null) { - handlers = new EObjectContainmentEList<ServiceRefHandler>(ServiceRefHandler.class, this, JavaeePackage.SERVICE_REF__HANDLERS); - } - return handlers; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceRefHandlerChains getHandlerChains() { - return handlerChains; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetHandlerChains(ServiceRefHandlerChains newHandlerChains, NotificationChain msgs) { - ServiceRefHandlerChains oldHandlerChains = handlerChains; - handlerChains = newHandlerChains; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__HANDLER_CHAINS, oldHandlerChains, newHandlerChains); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setHandlerChains(ServiceRefHandlerChains newHandlerChains) { - if (newHandlerChains != handlerChains) { - NotificationChain msgs = null; - if (handlerChains != null) - msgs = ((InternalEObject)handlerChains).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.SERVICE_REF__HANDLER_CHAINS, null, msgs); - if (newHandlerChains != null) - msgs = ((InternalEObject)newHandlerChains).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JavaeePackage.SERVICE_REF__HANDLER_CHAINS, null, msgs); - msgs = basicSetHandlerChains(newHandlerChains, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__HANDLER_CHAINS, newHandlerChains, newHandlerChains)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMappedName() { - return mappedName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMappedName(String newMappedName) { - String oldMappedName = mappedName; - mappedName = newMappedName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__MAPPED_NAME, oldMappedName, mappedName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<InjectionTarget> getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList<InjectionTarget>(InjectionTarget.class, this, JavaeePackage.SERVICE_REF__INJECTION_TARGETS); - } - return injectionTargets; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLookupName() { - return lookupName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLookupName(String newLookupName) { - String oldLookupName = lookupName; - lookupName = newLookupName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__LOOKUP_NAME, oldLookupName, lookupName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.SERVICE_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JavaeePackage.SERVICE_REF__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF__DISPLAY_NAMES: - return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF__ICONS: - return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS: - return ((InternalEList<?>)getPortComponentRefs()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF__HANDLERS: - return ((InternalEList<?>)getHandlers()).basicRemove(otherEnd, msgs); - case JavaeePackage.SERVICE_REF__HANDLER_CHAINS: - return basicSetHandlerChains(null, msgs); - case JavaeePackage.SERVICE_REF__INJECTION_TARGETS: - return ((InternalEList<?>)getInjectionTargets()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.SERVICE_REF__DESCRIPTIONS: - return getDescriptions(); - case JavaeePackage.SERVICE_REF__DISPLAY_NAMES: - return getDisplayNames(); - case JavaeePackage.SERVICE_REF__ICONS: - return getIcons(); - case JavaeePackage.SERVICE_REF__SERVICE_REF_NAME: - return getServiceRefName(); - case JavaeePackage.SERVICE_REF__SERVICE_INTERFACE: - return getServiceInterface(); - case JavaeePackage.SERVICE_REF__SERVICE_REF_TYPE: - return getServiceRefType(); - case JavaeePackage.SERVICE_REF__WSDL_FILE: - return getWsdlFile(); - case JavaeePackage.SERVICE_REF__JAXRPC_MAPPING_FILE: - return getJaxrpcMappingFile(); - case JavaeePackage.SERVICE_REF__SERVICE_QNAME: - return getServiceQname(); - case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS: - return getPortComponentRefs(); - case JavaeePackage.SERVICE_REF__HANDLERS: - return getHandlers(); - case JavaeePackage.SERVICE_REF__HANDLER_CHAINS: - return getHandlerChains(); - case JavaeePackage.SERVICE_REF__MAPPED_NAME: - return getMappedName(); - case JavaeePackage.SERVICE_REF__INJECTION_TARGETS: - return getInjectionTargets(); - case JavaeePackage.SERVICE_REF__LOOKUP_NAME: - return getLookupName(); - case JavaeePackage.SERVICE_REF__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JavaeePackage.SERVICE_REF__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection<? extends DisplayName>)newValue); - return; - case JavaeePackage.SERVICE_REF__ICONS: - getIcons().clear(); - getIcons().addAll((Collection<? extends Icon>)newValue); - return; - case JavaeePackage.SERVICE_REF__SERVICE_REF_NAME: - setServiceRefName((String)newValue); - return; - case JavaeePackage.SERVICE_REF__SERVICE_INTERFACE: - setServiceInterface((String)newValue); - return; - case JavaeePackage.SERVICE_REF__SERVICE_REF_TYPE: - setServiceRefType((String)newValue); - return; - case JavaeePackage.SERVICE_REF__WSDL_FILE: - setWsdlFile((String)newValue); - return; - case JavaeePackage.SERVICE_REF__JAXRPC_MAPPING_FILE: - setJaxrpcMappingFile((String)newValue); - return; - case JavaeePackage.SERVICE_REF__SERVICE_QNAME: - setServiceQname(newValue); - return; - case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS: - getPortComponentRefs().clear(); - getPortComponentRefs().addAll((Collection<? extends PortComponentRef>)newValue); - return; - case JavaeePackage.SERVICE_REF__HANDLERS: - getHandlers().clear(); - getHandlers().addAll((Collection<? extends ServiceRefHandler>)newValue); - return; - case JavaeePackage.SERVICE_REF__HANDLER_CHAINS: - setHandlerChains((ServiceRefHandlerChains)newValue); - return; - case JavaeePackage.SERVICE_REF__MAPPED_NAME: - setMappedName((String)newValue); - return; - case JavaeePackage.SERVICE_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - getInjectionTargets().addAll((Collection<? extends InjectionTarget>)newValue); - return; - case JavaeePackage.SERVICE_REF__LOOKUP_NAME: - setLookupName((String)newValue); - return; - case JavaeePackage.SERVICE_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JavaeePackage.SERVICE_REF__DISPLAY_NAMES: - getDisplayNames().clear(); - return; - case JavaeePackage.SERVICE_REF__ICONS: - getIcons().clear(); - return; - case JavaeePackage.SERVICE_REF__SERVICE_REF_NAME: - setServiceRefName(SERVICE_REF_NAME_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__SERVICE_INTERFACE: - setServiceInterface(SERVICE_INTERFACE_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__SERVICE_REF_TYPE: - setServiceRefType(SERVICE_REF_TYPE_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__WSDL_FILE: - setWsdlFile(WSDL_FILE_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__JAXRPC_MAPPING_FILE: - setJaxrpcMappingFile(JAXRPC_MAPPING_FILE_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__SERVICE_QNAME: - setServiceQname(SERVICE_QNAME_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS: - getPortComponentRefs().clear(); - return; - case JavaeePackage.SERVICE_REF__HANDLERS: - getHandlers().clear(); - return; - case JavaeePackage.SERVICE_REF__HANDLER_CHAINS: - setHandlerChains((ServiceRefHandlerChains)null); - return; - case JavaeePackage.SERVICE_REF__MAPPED_NAME: - setMappedName(MAPPED_NAME_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__INJECTION_TARGETS: - getInjectionTargets().clear(); - return; - case JavaeePackage.SERVICE_REF__LOOKUP_NAME: - setLookupName(LOOKUP_NAME_EDEFAULT); - return; - case JavaeePackage.SERVICE_REF__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.SERVICE_REF__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JavaeePackage.SERVICE_REF__DISPLAY_NAMES: - return displayNames != null && !displayNames.isEmpty(); - case JavaeePackage.SERVICE_REF__ICONS: - return icons != null && !icons.isEmpty(); - case JavaeePackage.SERVICE_REF__SERVICE_REF_NAME: - return SERVICE_REF_NAME_EDEFAULT == null ? serviceRefName != null : !SERVICE_REF_NAME_EDEFAULT.equals(serviceRefName); - case JavaeePackage.SERVICE_REF__SERVICE_INTERFACE: - return SERVICE_INTERFACE_EDEFAULT == null ? serviceInterface != null : !SERVICE_INTERFACE_EDEFAULT.equals(serviceInterface); - case JavaeePackage.SERVICE_REF__SERVICE_REF_TYPE: - return SERVICE_REF_TYPE_EDEFAULT == null ? serviceRefType != null : !SERVICE_REF_TYPE_EDEFAULT.equals(serviceRefType); - case JavaeePackage.SERVICE_REF__WSDL_FILE: - return WSDL_FILE_EDEFAULT == null ? wsdlFile != null : !WSDL_FILE_EDEFAULT.equals(wsdlFile); - case JavaeePackage.SERVICE_REF__JAXRPC_MAPPING_FILE: - return JAXRPC_MAPPING_FILE_EDEFAULT == null ? jaxrpcMappingFile != null : !JAXRPC_MAPPING_FILE_EDEFAULT.equals(jaxrpcMappingFile); - case JavaeePackage.SERVICE_REF__SERVICE_QNAME: - return SERVICE_QNAME_EDEFAULT == null ? serviceQname != null : !SERVICE_QNAME_EDEFAULT.equals(serviceQname); - case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS: - return portComponentRefs != null && !portComponentRefs.isEmpty(); - case JavaeePackage.SERVICE_REF__HANDLERS: - return handlers != null && !handlers.isEmpty(); - case JavaeePackage.SERVICE_REF__HANDLER_CHAINS: - return handlerChains != null; - case JavaeePackage.SERVICE_REF__MAPPED_NAME: - return MAPPED_NAME_EDEFAULT == null ? mappedName != null : !MAPPED_NAME_EDEFAULT.equals(mappedName); - case JavaeePackage.SERVICE_REF__INJECTION_TARGETS: - return injectionTargets != null && !injectionTargets.isEmpty(); - case JavaeePackage.SERVICE_REF__LOOKUP_NAME: - return LOOKUP_NAME_EDEFAULT == null ? lookupName != null : !LOOKUP_NAME_EDEFAULT.equals(lookupName); - case JavaeePackage.SERVICE_REF__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (serviceRefName: "); //$NON-NLS-1$ - result.append(serviceRefName); - result.append(", serviceInterface: "); //$NON-NLS-1$ - result.append(serviceInterface); - result.append(", serviceRefType: "); //$NON-NLS-1$ - result.append(serviceRefType); - result.append(", wsdlFile: "); //$NON-NLS-1$ - result.append(wsdlFile); - result.append(", jaxrpcMappingFile: "); //$NON-NLS-1$ - result.append(jaxrpcMappingFile); - result.append(", serviceQname: "); //$NON-NLS-1$ - result.append(serviceQname); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", lookupName: "); //$NON-NLS-1$ - result.append(lookupName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - - public void setServiceQname(Object newServiceQname) { - if (newServiceQname == null || newServiceQname instanceof QName) - { - setServiceQname((QName)newServiceQname); - } - else - { - QName newQName = QName.valueOf(newServiceQname.toString()); - setServiceQname(newQName); - } - } - -} //ServiceRefImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/UrlPatternTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/UrlPatternTypeImpl.java deleted file mode 100644 index c77cbebb0..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/UrlPatternTypeImpl.java +++ /dev/null @@ -1,172 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.core.UrlPatternType; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Url Pattern Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class UrlPatternTypeImpl extends EObjectImpl implements UrlPatternType { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected UrlPatternTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JavaeePackage.Literals.URL_PATTERN_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.URL_PATTERN_TYPE__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JavaeePackage.URL_PATTERN_TYPE__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.URL_PATTERN_TYPE__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JavaeePackage.URL_PATTERN_TYPE__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JavaeePackage.URL_PATTERN_TYPE__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (value: "); //$NON-NLS-1$ - result.append(value); - result.append(')'); - return result.toString(); - } - -} //UrlPatternTypeImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/metadata/JavaeePackage.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/metadata/JavaeePackage.java deleted file mode 100644 index da807671f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/metadata/JavaeePackage.java +++ /dev/null @@ -1,7467 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.metadata; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.jst.javaee.core.JavaeeFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * $Id: JavaeePackage.java,v 1.4 2010/01/15 14:32:07 canderson Exp $ - * - * - * - * - * The following definitions that appear in the common - * shareable schema(s) of Java EE deployment descriptors should be - * interpreted with respect to the context they are included: - * - * Deployment Component may indicate one of the following: - * java ee application; - * application client; - * web application; - * enterprise bean; - * resource adapter; - * - * Deployment File may indicate one of the following: - * ear file; - * war file; - * jar file; - * rar file; - * - * - * - * - * $Id: JavaeePackage.java,v 1.4 2010/01/15 14:32:07 canderson Exp $ - * - * - * - * - * (C) Copyright International Business Machines Corporation 2002 - * - * - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * <h1>About the XML namespace</h1> - * - * <div class="bodytext"> - * <p> - * This schema document describes the XML namespace, in a form - * suitable for import by other schema documents. - * </p> - * <p> - * See <a href="http://www.w3.org/XML/1998/namespace.html"> - * http://www.w3.org/XML/1998/namespace.html</a> and - * <a href="http://www.w3.org/TR/REC-xml"> - * http://www.w3.org/TR/REC-xml</a> for information - * about this namespace. - * </p> - * <p> - * Note that local names in this namespace are intended to be - * defined only by the World Wide Web Consortium or its subgroups. - * The names currently defined in this namespace are listed below. - * They should not be used with conflicting semantics by any Working - * Group, specification, or document instance. - * </p> - * <p> - * See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own - * XSD schema documents</a> and about <a href="#nsversioning">the - * namespace-versioning policy governing this schema document</a>. - * </p> - * </div> - * </div> - * - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * - * <h3>Father (in any context at all)</h3> - * - * <div class="bodytext"> - * <p> - * denotes Jon Bosak, the chair of - * the original XML Working Group. This name is reserved by - * the following decision of the W3C XML Plenary and - * XML Coordination groups: - * </p> - * <blockquote> - * <p> - * In appreciation for his vision, leadership and - * dedication the W3C XML Plenary on this 10th day of - * February, 2000, reserves for Jon Bosak in perpetuity - * the XML name "xml:Father". - * </p> - * </blockquote> - * </div> - * </div> - * - * - * <div id="usage" xml:id="usage" xmlns="http://www.w3.org/1999/xhtml"> - * <h2> - * <a name="usage">About this schema document</a> - * </h2> - * - * <div class="bodytext"> - * <p> - * This schema defines attributes and an attribute group suitable - * for use by schemas wishing to allow <code>xml:base</code>, - * <code>xml:lang</code>, <code>xml:space</code> or - * <code>xml:id</code> attributes on elements they define. - * </p> - * <p> - * To enable this, such a schema must import this schema for - * the XML namespace, e.g. as follows: - * </p> - * <pre> - * <schema . . .> - * . . . - * <import namespace="http://www.w3.org/XML/1998/namespace" - * schemaLocation="http://www.w3.org/2001/xml.xsd"/> - * </pre> - * <p> - * or - * </p> - * <pre> - * <import namespace="http://www.w3.org/XML/1998/namespace" - * schemaLocation="http://www.w3.org/2009/01/xml.xsd"/> - * </pre> - * <p> - * Subsequently, qualified reference to any of the attributes or the - * group defined below will have the desired effect, e.g. - * </p> - * <pre> - * <type . . .> - * . . . - * <attributeGroup ref="xml:specialAttrs"/> - * </pre> - * <p> - * will define a type which will schema-validate an instance element - * with any of those attributes. - * </p> - * </div> - * </div> - * - * - * <div id="nsversioning" xml:id="nsversioning" xmlns="http://www.w3.org/1999/xhtml"> - * <h2> - * <a name="nsversioning">Versioning policy for this schema document</a> - * </h2> - * <div class="bodytext"> - * <p> - * In keeping with the XML Schema WG's standard versioning - * policy, this schema document will persist at - * <a href="http://www.w3.org/2009/01/xml.xsd"> - * http://www.w3.org/2009/01/xml.xsd</a>. - * </p> - * <p> - * At the date of issue it can also be found at - * <a href="http://www.w3.org/2001/xml.xsd"> - * http://www.w3.org/2001/xml.xsd</a>. - * </p> - * <p> - * The schema document at that URI may however change in the future, - * in order to remain compatible with the latest version of XML - * Schema itself, or with the XML namespace itself. In other words, - * if the XML Schema or XML namespaces change, the version of this - * document at <a href="http://www.w3.org/2001/xml.xsd"> - * http://www.w3.org/2001/xml.xsd - * </a> - * will change accordingly; the version at - * <a href="http://www.w3.org/2009/01/xml.xsd"> - * http://www.w3.org/2009/01/xml.xsd - * </a> - * will not change. - * </p> - * <p> - * Previous dated (and unchanging) versions of this schema - * document are at: - * </p> - * <ul> - * <li> - * <a href="http://www.w3.org/2009/01/xml.xsd"> - * http://www.w3.org/2009/01/xml.xsd</a> - * </li> - * <li> - * <a href="http://www.w3.org/2007/08/xml.xsd"> - * http://www.w3.org/2007/08/xml.xsd</a> - * </li> - * <li> - * <a href="http://www.w3.org/2004/10/xml.xsd"> - * http://www.w3.org/2004/10/xml.xsd</a> - * </li> - * <li> - * <a href="http://www.w3.org/2001/03/xml.xsd"> - * http://www.w3.org/2001/03/xml.xsd</a> - * </li> - * </ul> - * </div> - * </div> - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.core.JavaeeFactory - * @generated - */ -public interface JavaeePackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "core"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://java.sun.com/xml/ns/javaee"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "javaee"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - JavaeePackage eINSTANCE = org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl <em>Addressing Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingType() - * @generated - */ - int ADDRESSING_TYPE = 0; - - /** - * The feature id for the '<em><b>Enabled</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADDRESSING_TYPE__ENABLED = 0; - - /** - * The feature id for the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADDRESSING_TYPE__REQUIRED = 1; - - /** - * The feature id for the '<em><b>Responses</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADDRESSING_TYPE__RESPONSES = 2; - - /** - * The number of structural features of the '<em>Addressing Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADDRESSING_TYPE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl <em>Data Source Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDataSourceType() - * @generated - */ - int DATA_SOURCE_TYPE = 1; - - /** - * The feature id for the '<em><b>Description</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__DESCRIPTION = 0; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__NAME = 1; - - /** - * The feature id for the '<em><b>Class Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__CLASS_NAME = 2; - - /** - * The feature id for the '<em><b>Server Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__SERVER_NAME = 3; - - /** - * The feature id for the '<em><b>Port Number</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__PORT_NUMBER = 4; - - /** - * The feature id for the '<em><b>Database Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__DATABASE_NAME = 5; - - /** - * The feature id for the '<em><b>Url</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__URL = 6; - - /** - * The feature id for the '<em><b>User</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__USER = 7; - - /** - * The feature id for the '<em><b>Password</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__PASSWORD = 8; - - /** - * The feature id for the '<em><b>Property</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__PROPERTY = 9; - - /** - * The feature id for the '<em><b>Login Timeout</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__LOGIN_TIMEOUT = 10; - - /** - * The feature id for the '<em><b>Transactional</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__TRANSACTIONAL = 11; - - /** - * The feature id for the '<em><b>Isolation Level</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__ISOLATION_LEVEL = 12; - - /** - * The feature id for the '<em><b>Initial Pool Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__INITIAL_POOL_SIZE = 13; - - /** - * The feature id for the '<em><b>Max Pool Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__MAX_POOL_SIZE = 14; - - /** - * The feature id for the '<em><b>Min Pool Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__MIN_POOL_SIZE = 15; - - /** - * The feature id for the '<em><b>Max Idle Time</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__MAX_IDLE_TIME = 16; - - /** - * The feature id for the '<em><b>Max Statements</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__MAX_STATEMENTS = 17; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE__ID = 18; - - /** - * The number of structural features of the '<em>Data Source Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DATA_SOURCE_TYPE_FEATURE_COUNT = 19; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl <em>Description</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDescription() - * @generated - */ - int DESCRIPTION = 2; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DESCRIPTION__VALUE = 0; - - /** - * The feature id for the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DESCRIPTION__LANG = 1; - - /** - * The number of structural features of the '<em>Description</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DESCRIPTION_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.DisplayNameImpl <em>Display Name</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.DisplayNameImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDisplayName() - * @generated - */ - int DISPLAY_NAME = 3; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISPLAY_NAME__VALUE = 0; - - /** - * The feature id for the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISPLAY_NAME__LANG = 1; - - /** - * The number of structural features of the '<em>Display Name</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISPLAY_NAME_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl <em>Ejb Local Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbLocalRef() - * @generated - */ - int EJB_LOCAL_REF = 4; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Ejb Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__EJB_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Ejb Ref Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__EJB_REF_TYPE = 2; - - /** - * The feature id for the '<em><b>Local Home</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__LOCAL_HOME = 3; - - /** - * The feature id for the '<em><b>Local</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__LOCAL = 4; - - /** - * The feature id for the '<em><b>Ejb Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__EJB_LINK = 5; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__MAPPED_NAME = 6; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__INJECTION_TARGETS = 7; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__LOOKUP_NAME = 8; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__ID = 9; - - /** - * The number of structural features of the '<em>Ejb Local Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF_FEATURE_COUNT = 10; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl <em>Ejb Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRef() - * @generated - */ - int EJB_REF = 5; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Ejb Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__EJB_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Ejb Ref Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__EJB_REF_TYPE = 2; - - /** - * The feature id for the '<em><b>Home</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__HOME = 3; - - /** - * The feature id for the '<em><b>Remote</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__REMOTE = 4; - - /** - * The feature id for the '<em><b>Ejb Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__EJB_LINK = 5; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__MAPPED_NAME = 6; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__INJECTION_TARGETS = 7; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__LOOKUP_NAME = 8; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__ID = 9; - - /** - * The number of structural features of the '<em>Ejb Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF_FEATURE_COUNT = 10; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl <em>Empty Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEmptyType() - * @generated - */ - int EMPTY_TYPE = 6; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EMPTY_TYPE__ID = 0; - - /** - * The number of structural features of the '<em>Empty Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EMPTY_TYPE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl <em>Env Entry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntry() - * @generated - */ - int ENV_ENTRY = 7; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Env Entry Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__ENV_ENTRY_NAME = 1; - - /** - * The feature id for the '<em><b>Env Entry Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__ENV_ENTRY_TYPE = 2; - - /** - * The feature id for the '<em><b>Env Entry Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__ENV_ENTRY_VALUE = 3; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__MAPPED_NAME = 4; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__INJECTION_TARGETS = 5; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__LOOKUP_NAME = 6; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__ID = 7; - - /** - * The number of structural features of the '<em>Env Entry</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY_FEATURE_COUNT = 8; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl <em>Icon</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.IconImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIcon() - * @generated - */ - int ICON = 8; - - /** - * The feature id for the '<em><b>Small Icon</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ICON__SMALL_ICON = 0; - - /** - * The feature id for the '<em><b>Large Icon</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ICON__LARGE_ICON = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ICON__ID = 2; - - /** - * The feature id for the '<em><b>Lang</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ICON__LANG = 3; - - /** - * The number of structural features of the '<em>Icon</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ICON_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.InjectionTargetImpl <em>Injection Target</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.InjectionTargetImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getInjectionTarget() - * @generated - */ - int INJECTION_TARGET = 9; - - /** - * The feature id for the '<em><b>Injection Target Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INJECTION_TARGET__INJECTION_TARGET_CLASS = 0; - - /** - * The feature id for the '<em><b>Injection Target Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INJECTION_TARGET__INJECTION_TARGET_NAME = 1; - - /** - * The number of structural features of the '<em>Injection Target</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INJECTION_TARGET_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.LifecycleCallbackImpl <em>Lifecycle Callback</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.LifecycleCallbackImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLifecycleCallback() - * @generated - */ - int LIFECYCLE_CALLBACK = 10; - - /** - * The feature id for the '<em><b>Lifecycle Callback Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS = 0; - - /** - * The feature id for the '<em><b>Lifecycle Callback Method</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD = 1; - - /** - * The number of structural features of the '<em>Lifecycle Callback</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LIFECYCLE_CALLBACK_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl <em>Listener</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ListenerImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getListener() - * @generated - */ - int LISTENER = 11; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LISTENER__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LISTENER__DISPLAY_NAMES = 1; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LISTENER__ICONS = 2; - - /** - * The feature id for the '<em><b>Listener Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LISTENER__LISTENER_CLASS = 3; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LISTENER__ID = 4; - - /** - * The number of structural features of the '<em>Listener</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int LISTENER_FEATURE_COUNT = 5; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl <em>Message Destination</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestination() - * @generated - */ - int MESSAGE_DESTINATION = 12; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__DISPLAY_NAMES = 1; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__ICONS = 2; - - /** - * The feature id for the '<em><b>Message Destination Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME = 3; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__MAPPED_NAME = 4; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__LOOKUP_NAME = 5; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__ID = 6; - - /** - * The number of structural features of the '<em>Message Destination</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_FEATURE_COUNT = 7; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl <em>Message Destination Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationRef() - * @generated - */ - int MESSAGE_DESTINATION_REF = 13; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Message Destination Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Message Destination Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE = 2; - - /** - * The feature id for the '<em><b>Message Destination Usage</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE = 3; - - /** - * The feature id for the '<em><b>Message Destination Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK = 4; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__MAPPED_NAME = 5; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__INJECTION_TARGETS = 6; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__LOOKUP_NAME = 7; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__ID = 8; - - /** - * The number of structural features of the '<em>Message Destination Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF_FEATURE_COUNT = 9; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl <em>Param Value</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getParamValue() - * @generated - */ - int PARAM_VALUE = 14; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARAM_VALUE__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Param Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARAM_VALUE__PARAM_NAME = 1; - - /** - * The feature id for the '<em><b>Param Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARAM_VALUE__PARAM_VALUE = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARAM_VALUE__ID = 3; - - /** - * The number of structural features of the '<em>Param Value</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARAM_VALUE_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl <em>Persistence Context Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextRef() - * @generated - */ - int PERSISTENCE_CONTEXT_REF = 15; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Persistence Context Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Persistence Unit Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME = 2; - - /** - * The feature id for the '<em><b>Persistence Context Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE = 3; - - /** - * The feature id for the '<em><b>Persistence Properties</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES = 4; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__MAPPED_NAME = 5; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS = 6; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF__ID = 7; - - /** - * The number of structural features of the '<em>Persistence Context Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_CONTEXT_REF_FEATURE_COUNT = 8; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl <em>Persistence Unit Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceUnitRef() - * @generated - */ - int PERSISTENCE_UNIT_REF = 16; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Persistence Unit Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Persistence Unit Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME = 2; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF__MAPPED_NAME = 3; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF__INJECTION_TARGETS = 4; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF__ID = 5; - - /** - * The number of structural features of the '<em>Persistence Unit Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PERSISTENCE_UNIT_REF_FEATURE_COUNT = 6; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl <em>Port Component Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPortComponentRef() - * @generated - */ - int PORT_COMPONENT_REF = 17; - - /** - * The feature id for the '<em><b>Service Endpoint Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE = 0; - - /** - * The feature id for the '<em><b>Enable Mtom</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__ENABLE_MTOM = 1; - - /** - * The feature id for the '<em><b>Mtom Threshold</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__MTOM_THRESHOLD = 2; - - /** - * The feature id for the '<em><b>Addressing</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__ADDRESSING = 3; - - /** - * The feature id for the '<em><b>Respect Binding</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__RESPECT_BINDING = 4; - - /** - * The feature id for the '<em><b>Port Component Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__PORT_COMPONENT_LINK = 5; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__ID = 6; - - /** - * The number of structural features of the '<em>Port Component Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF_FEATURE_COUNT = 7; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl <em>Property Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPropertyType() - * @generated - */ - int PROPERTY_TYPE = 18; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_TYPE__NAME = 0; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_TYPE__VALUE = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_TYPE__ID = 2; - - /** - * The number of structural features of the '<em>Property Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_TYPE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl <em>Resource Env Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceEnvRef() - * @generated - */ - int RESOURCE_ENV_REF = 19; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Resource Env Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Resource Env Ref Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE = 2; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__MAPPED_NAME = 3; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__INJECTION_TARGETS = 4; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__LOOKUP_NAME = 5; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__ID = 6; - - /** - * The number of structural features of the '<em>Resource Env Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF_FEATURE_COUNT = 7; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl <em>Resource Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceRef() - * @generated - */ - int RESOURCE_REF = 20; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Res Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__RES_REF_NAME = 1; - - /** - * The feature id for the '<em><b>Res Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__RES_TYPE = 2; - - /** - * The feature id for the '<em><b>Res Auth</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__RES_AUTH = 3; - - /** - * The feature id for the '<em><b>Res Sharing Scope</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__RES_SHARING_SCOPE = 4; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__MAPPED_NAME = 5; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__INJECTION_TARGETS = 6; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__LOOKUP_NAME = 7; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__ID = 8; - - /** - * The number of structural features of the '<em>Resource Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF_FEATURE_COUNT = 9; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl <em>Respect Binding Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRespectBindingType() - * @generated - */ - int RESPECT_BINDING_TYPE = 21; - - /** - * The feature id for the '<em><b>Enabled</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESPECT_BINDING_TYPE__ENABLED = 0; - - /** - * The number of structural features of the '<em>Respect Binding Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESPECT_BINDING_TYPE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl <em>Run As</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.RunAsImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRunAs() - * @generated - */ - int RUN_AS = 22; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RUN_AS__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Role Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RUN_AS__ROLE_NAME = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RUN_AS__ID = 2; - - /** - * The number of structural features of the '<em>Run As</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RUN_AS_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl <em>Security Role</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRole() - * @generated - */ - int SECURITY_ROLE = 23; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Role Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE__ROLE_NAME = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE__ID = 2; - - /** - * The number of structural features of the '<em>Security Role</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl <em>Security Role Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRoleRef() - * @generated - */ - int SECURITY_ROLE_REF = 24; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Role Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE_REF__ROLE_NAME = 1; - - /** - * The feature id for the '<em><b>Role Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE_REF__ROLE_LINK = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE_REF__ID = 3; - - /** - * The number of structural features of the '<em>Security Role Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SECURITY_ROLE_REF_FEATURE_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl <em>Service Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRef() - * @generated - */ - int SERVICE_REF = 25; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__DISPLAY_NAMES = 1; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__ICONS = 2; - - /** - * The feature id for the '<em><b>Service Ref Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__SERVICE_REF_NAME = 3; - - /** - * The feature id for the '<em><b>Service Interface</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__SERVICE_INTERFACE = 4; - - /** - * The feature id for the '<em><b>Service Ref Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__SERVICE_REF_TYPE = 5; - - /** - * The feature id for the '<em><b>Wsdl File</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__WSDL_FILE = 6; - - /** - * The feature id for the '<em><b>Jaxrpc Mapping File</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__JAXRPC_MAPPING_FILE = 7; - - /** - * The feature id for the '<em><b>Service Qname</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__SERVICE_QNAME = 8; - - /** - * The feature id for the '<em><b>Port Component Refs</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__PORT_COMPONENT_REFS = 9; - - /** - * The feature id for the '<em><b>Handlers</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__HANDLERS = 10; - - /** - * The feature id for the '<em><b>Handler Chains</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__HANDLER_CHAINS = 11; - - /** - * The feature id for the '<em><b>Mapped Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__MAPPED_NAME = 12; - - /** - * The feature id for the '<em><b>Injection Targets</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__INJECTION_TARGETS = 13; - - /** - * The feature id for the '<em><b>Lookup Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__LOOKUP_NAME = 14; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__ID = 15; - - /** - * The number of structural features of the '<em>Service Ref</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_FEATURE_COUNT = 16; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl <em>Service Ref Handler</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandler() - * @generated - */ - int SERVICE_REF_HANDLER = 26; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__DISPLAY_NAMES = 1; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__ICONS = 2; - - /** - * The feature id for the '<em><b>Handler Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__HANDLER_NAME = 3; - - /** - * The feature id for the '<em><b>Handler Class</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__HANDLER_CLASS = 4; - - /** - * The feature id for the '<em><b>Init Params</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__INIT_PARAMS = 5; - - /** - * The feature id for the '<em><b>Soap Headers</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__SOAP_HEADERS = 6; - - /** - * The feature id for the '<em><b>Soap Roles</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__SOAP_ROLES = 7; - - /** - * The feature id for the '<em><b>Port Names</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__PORT_NAMES = 8; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER__ID = 9; - - /** - * The number of structural features of the '<em>Service Ref Handler</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_FEATURE_COUNT = 10; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl <em>Service Ref Handler Chain</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChain() - * @generated - */ - int SERVICE_REF_HANDLER_CHAIN = 27; - - /** - * The feature id for the '<em><b>Service Name Pattern</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN = 0; - - /** - * The feature id for the '<em><b>Port Name Pattern</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN = 1; - - /** - * The feature id for the '<em><b>Protocol Bindings</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS = 2; - - /** - * The feature id for the '<em><b>Handlers</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAIN__HANDLERS = 3; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAIN__ID = 4; - - /** - * The number of structural features of the '<em>Service Ref Handler Chain</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAIN_FEATURE_COUNT = 5; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl <em>Service Ref Handler Chains</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChains() - * @generated - */ - int SERVICE_REF_HANDLER_CHAINS = 28; - - /** - * The feature id for the '<em><b>Handler Chains</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS = 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAINS__ID = 1; - - /** - * The number of structural features of the '<em>Service Ref Handler Chains</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF_HANDLER_CHAINS_FEATURE_COUNT = 2; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl <em>Url Pattern Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getUrlPatternType() - * @generated - */ - int URL_PATTERN_TYPE = 29; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int URL_PATTERN_TYPE__VALUE = 0; - - /** - * 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 = 1; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesType() - * @generated - */ - int ADDRESSING_RESPONSES_TYPE = 30; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefType() - * @generated - */ - int EJB_REF_TYPE = 31; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.GenericBooleanType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanType() - * @generated - */ - int GENERIC_BOOLEAN_TYPE = 32; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelType() - * @generated - */ - int ISOLATION_LEVEL_TYPE = 33; - - /** - * The meta object id for the '<em>Env Entry Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType() - * @generated - */ - int ENV_ENTRY_TYPE = 43; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageType() - * @generated - */ - int MESSAGE_DESTINATION_USAGE_TYPE = 34; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.PersistenceContextType <em>Persistence Context Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextType() - * @generated - */ - int PERSISTENCE_CONTEXT_TYPE = 35; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.ResAuthType <em>Res Auth Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResAuthType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthType() - * @generated - */ - int RES_AUTH_TYPE = 36; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.ResSharingScopeType <em>Res Sharing Scope Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeType() - * @generated - */ - int RES_SHARING_SCOPE_TYPE = 37; - - /** - * The meta object id for the '<em>Addressing Responses Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesTypeObject() - * @generated - */ - int ADDRESSING_RESPONSES_TYPE_OBJECT = 38; - - /** - * The meta object id for the '<em>Dewey Version Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDeweyVersionType() - * @generated - */ - int DEWEY_VERSION_TYPE = 39; - - /** - * The meta object id for the '<em>EJB Link</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEJBLink() - * @generated - */ - int EJB_LINK = 40; - - /** - * The meta object id for the '<em>Ejb Ref Name Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefNameType() - * @generated - */ - int EJB_REF_NAME_TYPE = 41; - - /** - * The meta object id for the '<em>Ejb Ref Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefTypeObject() - * @generated - */ - int EJB_REF_TYPE_OBJECT = 42; - - /** - * The meta object id for the '<em>Fully Qualified Class Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getFullyQualifiedClassType() - * @generated - */ - int FULLY_QUALIFIED_CLASS_TYPE = 44; - - /** - * The meta object id for the '<em>Generic Boolean Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.GenericBooleanType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanTypeObject() - * @generated - */ - int GENERIC_BOOLEAN_TYPE_OBJECT = 45; - - /** - * The meta object id for the '<em>Home</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getHome() - * @generated - */ - int HOME = 46; - - /** - * The meta object id for the '<em>Isolation Level Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelTypeObject() - * @generated - */ - int ISOLATION_LEVEL_TYPE_OBJECT = 47; - - /** - * The meta object id for the '<em>Java Identifier</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaIdentifier() - * @generated - */ - int JAVA_IDENTIFIER = 48; - - /** - * The meta object id for the '<em>Java Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaType() - * @generated - */ - int JAVA_TYPE = 49; - - /** - * The meta object id for the '<em>Jdbc Url Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJdbcUrlType() - * @generated - */ - int JDBC_URL_TYPE = 50; - - /** - * The meta object id for the '<em>JNDI Name</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJNDIName() - * @generated - */ - int JNDI_NAME = 51; - - /** - * The meta object id for the '<em>Local</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocal() - * @generated - */ - int LOCAL = 52; - - /** - * The meta object id for the '<em>Local Home</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocalHome() - * @generated - */ - int LOCAL_HOME = 53; - - /** - * The meta object id for the '<em>Message Destination Link</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationLink() - * @generated - */ - int MESSAGE_DESTINATION_LINK = 54; - - /** - * The meta object id for the '<em>Message Destination Type Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationTypeType() - * @generated - */ - int MESSAGE_DESTINATION_TYPE_TYPE = 55; - - /** - * The meta object id for the '<em>Message Destination Usage Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageTypeObject() - * @generated - */ - int MESSAGE_DESTINATION_USAGE_TYPE_OBJECT = 56; - - /** - * The meta object id for the '<em>Path Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPathType() - * @generated - */ - int PATH_TYPE = 57; - - /** - * The meta object id for the '<em>Persistence Context Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextTypeObject() - * @generated - */ - int PERSISTENCE_CONTEXT_TYPE_OBJECT = 58; - - /** - * The meta object id for the '<em>Protocol Binding List Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.util.List - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingListType() - * @generated - */ - int PROTOCOL_BINDING_LIST_TYPE = 59; - - /** - * The meta object id for the '<em>Protocol Binding Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingType() - * @generated - */ - int PROTOCOL_BINDING_TYPE = 60; - - /** - * The meta object id for the '<em>Protocol URI Alias Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolURIAliasType() - * @generated - */ - int PROTOCOL_URI_ALIAS_TYPE = 61; - - /** - * The meta object id for the '<em>Qname Pattern</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getQnamePattern() - * @generated - */ - int QNAME_PATTERN = 62; - - /** - * The meta object id for the '<em>Remote</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRemote() - * @generated - */ - int REMOTE = 63; - - /** - * The meta object id for the '<em>Res Auth Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResAuthType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthTypeObject() - * @generated - */ - int RES_AUTH_TYPE_OBJECT = 64; - - /** - * The meta object id for the '<em>Res Sharing Scope Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeTypeObject() - * @generated - */ - int RES_SHARING_SCOPE_TYPE_OBJECT = 65; - - /** - * The meta object id for the '<em>Role Name</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRoleName() - * @generated - */ - int ROLE_NAME = 66; - - /** - * The meta object id for the '<em>True False Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseType() - * @generated - */ - int TRUE_FALSE_TYPE = 67; - - /** - * The meta object id for the '<em>True False Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.Boolean - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseTypeObject() - * @generated - */ - int TRUE_FALSE_TYPE_OBJECT = 68; - - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.AddressingType <em>Addressing Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Addressing Type</em>'. - * @see org.eclipse.jst.javaee.core.AddressingType - * @generated - */ - EClass getAddressingType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.AddressingType#isEnabled <em>Enabled</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Enabled</em>'. - * @see org.eclipse.jst.javaee.core.AddressingType#isEnabled() - * @see #getAddressingType() - * @generated - */ - EAttribute getAddressingType_Enabled(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.AddressingType#isRequired <em>Required</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Required</em>'. - * @see org.eclipse.jst.javaee.core.AddressingType#isRequired() - * @see #getAddressingType() - * @generated - */ - EAttribute getAddressingType_Required(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.AddressingType#getResponses <em>Responses</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Responses</em>'. - * @see org.eclipse.jst.javaee.core.AddressingType#getResponses() - * @see #getAddressingType() - * @generated - */ - EAttribute getAddressingType_Responses(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.DataSourceType <em>Data Source Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Data Source Type</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType - * @generated - */ - EClass getDataSourceType(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.DataSourceType#getDescription <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Description</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getDescription() - * @see #getDataSourceType() - * @generated - */ - EReference getDataSourceType_Description(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getName() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getClassName <em>Class Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Class Name</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getClassName() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_ClassName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getServerName <em>Server Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Server Name</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getServerName() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_ServerName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getPortNumber <em>Port Number</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Port Number</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getPortNumber() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_PortNumber(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName <em>Database Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Database Name</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getDatabaseName() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_DatabaseName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getUrl <em>Url</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Url</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getUrl() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_Url(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getUser <em>User</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>User</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getUser() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_User(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getPassword <em>Password</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Password</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getPassword() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_Password(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.DataSourceType#getProperty <em>Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Property</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getProperty() - * @see #getDataSourceType() - * @generated - */ - EReference getDataSourceType_Property(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout <em>Login Timeout</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Login Timeout</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getLoginTimeout() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_LoginTimeout(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#isTransactional <em>Transactional</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Transactional</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#isTransactional() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_Transactional(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel <em>Isolation Level</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Isolation Level</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getIsolationLevel() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_IsolationLevel(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize <em>Initial Pool Size</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Initial Pool Size</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getInitialPoolSize() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_InitialPoolSize(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize <em>Max Pool Size</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Max Pool Size</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getMaxPoolSize() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_MaxPoolSize(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize <em>Min Pool Size</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Min Pool Size</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getMinPoolSize() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_MinPoolSize(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime <em>Max Idle Time</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Max Idle Time</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getMaxIdleTime() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_MaxIdleTime(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements <em>Max Statements</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Max Statements</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getMaxStatements() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_MaxStatements(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DataSourceType#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.DataSourceType#getId() - * @see #getDataSourceType() - * @generated - */ - EAttribute getDataSourceType_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.Description <em>Description</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Description</em>'. - * @see org.eclipse.jst.javaee.core.Description - * @generated - */ - EClass getDescription(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Description#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.jst.javaee.core.Description#getValue() - * @see #getDescription() - * @generated - */ - EAttribute getDescription_Value(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Description#getLang <em>Lang</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lang</em>'. - * @see org.eclipse.jst.javaee.core.Description#getLang() - * @see #getDescription() - * @generated - */ - EAttribute getDescription_Lang(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.DisplayName <em>Display Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Display Name</em>'. - * @see org.eclipse.jst.javaee.core.DisplayName - * @generated - */ - EClass getDisplayName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DisplayName#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.jst.javaee.core.DisplayName#getValue() - * @see #getDisplayName() - * @generated - */ - EAttribute getDisplayName_Value(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.DisplayName#getLang <em>Lang</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lang</em>'. - * @see org.eclipse.jst.javaee.core.DisplayName#getLang() - * @see #getDisplayName() - * @generated - */ - EAttribute getDisplayName_Lang(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.EjbLocalRef <em>Ejb Local Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Ejb Local Ref</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef - * @generated - */ - EClass getEjbLocalRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.EjbLocalRef#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.javaee.core.EjbLocalRef#getDescriptions() - * @see #getEjbLocalRef() - * @generated - */ - EReference getEjbLocalRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefName <em>Ejb Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ejb Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefName() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_EjbRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefType <em>Ejb Ref Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ejb Ref Type</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getEjbRefType() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_EjbRefType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLocalHome <em>Local Home</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Local Home</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getLocalHome() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_LocalHome(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLocal <em>Local</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Local</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getLocal() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_Local(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getEjbLink <em>Ejb Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ejb Link</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getEjbLink() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_EjbLink(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getMappedName() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getInjectionTargets() - * @see #getEjbLocalRef() - * @generated - */ - EReference getEjbLocalRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getLookupName() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbLocalRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.EjbLocalRef#getId() - * @see #getEjbLocalRef() - * @generated - */ - EAttribute getEjbLocalRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.EjbRef <em>Ejb Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Ejb Ref</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef - * @generated - */ - EClass getEjbRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.EjbRef#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.javaee.core.EjbRef#getDescriptions() - * @see #getEjbRef() - * @generated - */ - EReference getEjbRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefName <em>Ejb Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ejb Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getEjbRefName() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_EjbRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbRefType <em>Ejb Ref Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ejb Ref Type</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getEjbRefType() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_EjbRefType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getHome <em>Home</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Home</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getHome() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_Home(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getRemote <em>Remote</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Remote</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getRemote() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_Remote(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getEjbLink <em>Ejb Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Ejb Link</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getEjbLink() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_EjbLink(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getMappedName() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.EjbRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getInjectionTargets() - * @see #getEjbRef() - * @generated - */ - EReference getEjbRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getLookupName() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EjbRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.EjbRef#getId() - * @see #getEjbRef() - * @generated - */ - EAttribute getEjbRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.EmptyType <em>Empty Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Empty Type</em>'. - * @see org.eclipse.jst.javaee.core.EmptyType - * @generated - */ - EClass getEmptyType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EmptyType#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.EmptyType#getId() - * @see #getEmptyType() - * @generated - */ - EAttribute getEmptyType_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.EnvEntry <em>Env Entry</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Env Entry</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry - * @generated - */ - EClass getEnvEntry(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.EnvEntry#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.javaee.core.EnvEntry#getDescriptions() - * @see #getEnvEntry() - * @generated - */ - EReference getEnvEntry_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryName <em>Env Entry Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Env Entry Name</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryName() - * @see #getEnvEntry() - * @generated - */ - EAttribute getEnvEntry_EnvEntryName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType <em>Env Entry Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Env Entry Type</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryType() - * @see #getEnvEntry() - * @generated - */ - EAttribute getEnvEntry_EnvEntryType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryValue <em>Env Entry Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Env Entry Value</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getEnvEntryValue() - * @see #getEnvEntry() - * @generated - */ - EAttribute getEnvEntry_EnvEntryValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getMappedName() - * @see #getEnvEntry() - * @generated - */ - EAttribute getEnvEntry_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.EnvEntry#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getInjectionTargets() - * @see #getEnvEntry() - * @generated - */ - EReference getEnvEntry_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getLookupName() - * @see #getEnvEntry() - * @generated - */ - EAttribute getEnvEntry_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.EnvEntry#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntry#getId() - * @see #getEnvEntry() - * @generated - */ - EAttribute getEnvEntry_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.Icon <em>Icon</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Icon</em>'. - * @see org.eclipse.jst.javaee.core.Icon - * @generated - */ - EClass getIcon(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Icon#getSmallIcon <em>Small Icon</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Small Icon</em>'. - * @see org.eclipse.jst.javaee.core.Icon#getSmallIcon() - * @see #getIcon() - * @generated - */ - EAttribute getIcon_SmallIcon(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Icon#getLargeIcon <em>Large Icon</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Large Icon</em>'. - * @see org.eclipse.jst.javaee.core.Icon#getLargeIcon() - * @see #getIcon() - * @generated - */ - EAttribute getIcon_LargeIcon(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Icon#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.Icon#getId() - * @see #getIcon() - * @generated - */ - EAttribute getIcon_Id(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Icon#getLang <em>Lang</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lang</em>'. - * @see org.eclipse.jst.javaee.core.Icon#getLang() - * @see #getIcon() - * @generated - */ - EAttribute getIcon_Lang(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.InjectionTarget <em>Injection Target</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Injection Target</em>'. - * @see org.eclipse.jst.javaee.core.InjectionTarget - * @generated - */ - EClass getInjectionTarget(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetClass <em>Injection Target Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Injection Target Class</em>'. - * @see org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetClass() - * @see #getInjectionTarget() - * @generated - */ - EAttribute getInjectionTarget_InjectionTargetClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetName <em>Injection Target Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Injection Target Name</em>'. - * @see org.eclipse.jst.javaee.core.InjectionTarget#getInjectionTargetName() - * @see #getInjectionTarget() - * @generated - */ - EAttribute getInjectionTarget_InjectionTargetName(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.LifecycleCallback <em>Lifecycle Callback</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Lifecycle Callback</em>'. - * @see org.eclipse.jst.javaee.core.LifecycleCallback - * @generated - */ - EClass getLifecycleCallback(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackClass <em>Lifecycle Callback Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lifecycle Callback Class</em>'. - * @see org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackClass() - * @see #getLifecycleCallback() - * @generated - */ - EAttribute getLifecycleCallback_LifecycleCallbackClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackMethod <em>Lifecycle Callback Method</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lifecycle Callback Method</em>'. - * @see org.eclipse.jst.javaee.core.LifecycleCallback#getLifecycleCallbackMethod() - * @see #getLifecycleCallback() - * @generated - */ - EAttribute getLifecycleCallback_LifecycleCallbackMethod(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.Listener <em>Listener</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Listener</em>'. - * @see org.eclipse.jst.javaee.core.Listener - * @generated - */ - EClass getListener(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.Listener#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.javaee.core.Listener#getDescriptions() - * @see #getListener() - * @generated - */ - EReference getListener_Descriptions(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.Listener#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.javaee.core.Listener#getDisplayNames() - * @see #getListener() - * @generated - */ - EReference getListener_DisplayNames(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.Listener#getIcons <em>Icons</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Icons</em>'. - * @see org.eclipse.jst.javaee.core.Listener#getIcons() - * @see #getListener() - * @generated - */ - EReference getListener_Icons(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Listener#getListenerClass <em>Listener Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Listener Class</em>'. - * @see org.eclipse.jst.javaee.core.Listener#getListenerClass() - * @see #getListener() - * @generated - */ - EAttribute getListener_ListenerClass(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.Listener#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.Listener#getId() - * @see #getListener() - * @generated - */ - EAttribute getListener_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.MessageDestination <em>Message Destination</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Message Destination</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestination - * @generated - */ - EClass getMessageDestination(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.MessageDestination#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.javaee.core.MessageDestination#getDescriptions() - * @see #getMessageDestination() - * @generated - */ - EReference getMessageDestination_Descriptions(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.MessageDestination#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.javaee.core.MessageDestination#getDisplayNames() - * @see #getMessageDestination() - * @generated - */ - EReference getMessageDestination_DisplayNames(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.MessageDestination#getIcons <em>Icons</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Icons</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestination#getIcons() - * @see #getMessageDestination() - * @generated - */ - EReference getMessageDestination_Icons(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestination#getMessageDestinationName <em>Message Destination Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message Destination Name</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestination#getMessageDestinationName() - * @see #getMessageDestination() - * @generated - */ - EAttribute getMessageDestination_MessageDestinationName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestination#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestination#getMappedName() - * @see #getMessageDestination() - * @generated - */ - EAttribute getMessageDestination_MappedName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestination#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestination#getLookupName() - * @see #getMessageDestination() - * @generated - */ - EAttribute getMessageDestination_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestination#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestination#getId() - * @see #getMessageDestination() - * @generated - */ - EAttribute getMessageDestination_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.MessageDestinationRef <em>Message Destination Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Message Destination Ref</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef - * @generated - */ - EClass getMessageDestinationRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#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.javaee.core.MessageDestinationRef#getDescriptions() - * @see #getMessageDestinationRef() - * @generated - */ - EReference getMessageDestinationRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationRefName <em>Message Destination Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message Destination Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationRefName() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_MessageDestinationRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationType <em>Message Destination Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message Destination Type</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationType() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_MessageDestinationType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationUsage <em>Message Destination Usage</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message Destination Usage</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationUsage() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_MessageDestinationUsage(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationLink <em>Message Destination Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Message Destination Link</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getMessageDestinationLink() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_MessageDestinationLink(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getMappedName() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getInjectionTargets() - * @see #getMessageDestinationRef() - * @generated - */ - EReference getMessageDestinationRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getLookupName() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.MessageDestinationRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationRef#getId() - * @see #getMessageDestinationRef() - * @generated - */ - EAttribute getMessageDestinationRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ParamValue <em>Param Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Param Value</em>'. - * @see org.eclipse.jst.javaee.core.ParamValue - * @generated - */ - EClass getParamValue(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ParamValue#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.javaee.core.ParamValue#getDescriptions() - * @see #getParamValue() - * @generated - */ - EReference getParamValue_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ParamValue#getParamName <em>Param Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Param Name</em>'. - * @see org.eclipse.jst.javaee.core.ParamValue#getParamName() - * @see #getParamValue() - * @generated - */ - EAttribute getParamValue_ParamName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ParamValue#getParamValue <em>Param Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Param Value</em>'. - * @see org.eclipse.jst.javaee.core.ParamValue#getParamValue() - * @see #getParamValue() - * @generated - */ - EAttribute getParamValue_ParamValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ParamValue#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ParamValue#getId() - * @see #getParamValue() - * @generated - */ - EAttribute getParamValue_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.PersistenceContextRef <em>Persistence Context Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Persistence Context Ref</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef - * @generated - */ - EClass getPersistenceContextRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#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.javaee.core.PersistenceContextRef#getDescriptions() - * @see #getPersistenceContextRef() - * @generated - */ - EReference getPersistenceContextRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextRefName <em>Persistence Context Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Persistence Context Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextRefName() - * @see #getPersistenceContextRef() - * @generated - */ - EAttribute getPersistenceContextRef_PersistenceContextRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceUnitName <em>Persistence Unit Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Persistence Unit Name</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceUnitName() - * @see #getPersistenceContextRef() - * @generated - */ - EAttribute getPersistenceContextRef_PersistenceUnitName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextType <em>Persistence Context Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Persistence Context Type</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceContextType() - * @see #getPersistenceContextRef() - * @generated - */ - EAttribute getPersistenceContextRef_PersistenceContextType(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceProperties <em>Persistence Properties</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Persistence Properties</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getPersistenceProperties() - * @see #getPersistenceContextRef() - * @generated - */ - EReference getPersistenceContextRef_PersistenceProperties(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getMappedName() - * @see #getPersistenceContextRef() - * @generated - */ - EAttribute getPersistenceContextRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getInjectionTargets() - * @see #getPersistenceContextRef() - * @generated - */ - EReference getPersistenceContextRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceContextRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextRef#getId() - * @see #getPersistenceContextRef() - * @generated - */ - EAttribute getPersistenceContextRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef <em>Persistence Unit Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Persistence Unit Ref</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceUnitRef - * @generated - */ - EClass getPersistenceUnitRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#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.javaee.core.PersistenceUnitRef#getDescriptions() - * @see #getPersistenceUnitRef() - * @generated - */ - EReference getPersistenceUnitRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitRefName <em>Persistence Unit Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Persistence Unit Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitRefName() - * @see #getPersistenceUnitRef() - * @generated - */ - EAttribute getPersistenceUnitRef_PersistenceUnitRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName <em>Persistence Unit Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Persistence Unit Name</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceUnitRef#getPersistenceUnitName() - * @see #getPersistenceUnitRef() - * @generated - */ - EAttribute getPersistenceUnitRef_PersistenceUnitName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceUnitRef#getMappedName() - * @see #getPersistenceUnitRef() - * @generated - */ - EAttribute getPersistenceUnitRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceUnitRef#getInjectionTargets() - * @see #getPersistenceUnitRef() - * @generated - */ - EReference getPersistenceUnitRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceUnitRef#getId() - * @see #getPersistenceUnitRef() - * @generated - */ - EAttribute getPersistenceUnitRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.PortComponentRef <em>Port Component Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Port Component Ref</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef - * @generated - */ - EClass getPortComponentRef(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface <em>Service Endpoint Interface</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service Endpoint Interface</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#getServiceEndpointInterface() - * @see #getPortComponentRef() - * @generated - */ - EAttribute getPortComponentRef_ServiceEndpointInterface(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom <em>Enable Mtom</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Enable Mtom</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#isEnableMtom() - * @see #getPortComponentRef() - * @generated - */ - EAttribute getPortComponentRef_EnableMtom(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold <em>Mtom Threshold</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mtom Threshold</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#getMtomThreshold() - * @see #getPortComponentRef() - * @generated - */ - EAttribute getPortComponentRef_MtomThreshold(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.PortComponentRef#getAddressing <em>Addressing</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Addressing</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#getAddressing() - * @see #getPortComponentRef() - * @generated - */ - EReference getPortComponentRef_Addressing(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding <em>Respect Binding</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Respect Binding</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#getRespectBinding() - * @see #getPortComponentRef() - * @generated - */ - EReference getPortComponentRef_RespectBinding(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink <em>Port Component Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Port Component Link</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#getPortComponentLink() - * @see #getPortComponentRef() - * @generated - */ - EAttribute getPortComponentRef_PortComponentLink(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PortComponentRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.PortComponentRef#getId() - * @see #getPortComponentRef() - * @generated - */ - EAttribute getPortComponentRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.PropertyType <em>Property Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Property Type</em>'. - * @see org.eclipse.jst.javaee.core.PropertyType - * @generated - */ - EClass getPropertyType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PropertyType#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jst.javaee.core.PropertyType#getName() - * @see #getPropertyType() - * @generated - */ - EAttribute getPropertyType_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PropertyType#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.jst.javaee.core.PropertyType#getValue() - * @see #getPropertyType() - * @generated - */ - EAttribute getPropertyType_Value(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.PropertyType#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.PropertyType#getId() - * @see #getPropertyType() - * @generated - */ - EAttribute getPropertyType_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ResourceEnvRef <em>Resource Env Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Resource Env Ref</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef - * @generated - */ - EClass getResourceEnvRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#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.javaee.core.ResourceEnvRef#getDescriptions() - * @see #getResourceEnvRef() - * @generated - */ - EReference getResourceEnvRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefName <em>Resource Env Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Resource Env Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefName() - * @see #getResourceEnvRef() - * @generated - */ - EAttribute getResourceEnvRef_ResourceEnvRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefType <em>Resource Env Ref Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Resource Env Ref Type</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getResourceEnvRefType() - * @see #getResourceEnvRef() - * @generated - */ - EAttribute getResourceEnvRef_ResourceEnvRefType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getMappedName() - * @see #getResourceEnvRef() - * @generated - */ - EAttribute getResourceEnvRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getInjectionTargets() - * @see #getResourceEnvRef() - * @generated - */ - EReference getResourceEnvRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getLookupName() - * @see #getResourceEnvRef() - * @generated - */ - EAttribute getResourceEnvRef_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceEnvRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ResourceEnvRef#getId() - * @see #getResourceEnvRef() - * @generated - */ - EAttribute getResourceEnvRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ResourceRef <em>Resource Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Resource Ref</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef - * @generated - */ - EClass getResourceRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ResourceRef#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.javaee.core.ResourceRef#getDescriptions() - * @see #getResourceRef() - * @generated - */ - EReference getResourceRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getResRefName <em>Res Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Res Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getResRefName() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_ResRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getResType <em>Res Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Res Type</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getResType() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_ResType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getResAuth <em>Res Auth</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Res Auth</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getResAuth() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_ResAuth(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope <em>Res Sharing Scope</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Res Sharing Scope</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getResSharingScope() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_ResSharingScope(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getMappedName() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ResourceRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getInjectionTargets() - * @see #getResourceRef() - * @generated - */ - EReference getResourceRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getLookupName() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ResourceRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ResourceRef#getId() - * @see #getResourceRef() - * @generated - */ - EAttribute getResourceRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.RespectBindingType <em>Respect Binding Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Respect Binding Type</em>'. - * @see org.eclipse.jst.javaee.core.RespectBindingType - * @generated - */ - EClass getRespectBindingType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.RespectBindingType#isEnabled <em>Enabled</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Enabled</em>'. - * @see org.eclipse.jst.javaee.core.RespectBindingType#isEnabled() - * @see #getRespectBindingType() - * @generated - */ - EAttribute getRespectBindingType_Enabled(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.RunAs <em>Run As</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Run As</em>'. - * @see org.eclipse.jst.javaee.core.RunAs - * @generated - */ - EClass getRunAs(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.RunAs#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.javaee.core.RunAs#getDescriptions() - * @see #getRunAs() - * @generated - */ - EReference getRunAs_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.RunAs#getRoleName <em>Role Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Role Name</em>'. - * @see org.eclipse.jst.javaee.core.RunAs#getRoleName() - * @see #getRunAs() - * @generated - */ - EAttribute getRunAs_RoleName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.RunAs#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.RunAs#getId() - * @see #getRunAs() - * @generated - */ - EAttribute getRunAs_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.SecurityRole <em>Security Role</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Security Role</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRole - * @generated - */ - EClass getSecurityRole(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.SecurityRole#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.javaee.core.SecurityRole#getDescriptions() - * @see #getSecurityRole() - * @generated - */ - EReference getSecurityRole_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.SecurityRole#getRoleName <em>Role Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Role Name</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRole#getRoleName() - * @see #getSecurityRole() - * @generated - */ - EAttribute getSecurityRole_RoleName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.SecurityRole#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRole#getId() - * @see #getSecurityRole() - * @generated - */ - EAttribute getSecurityRole_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.SecurityRoleRef <em>Security Role Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Security Role Ref</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRoleRef - * @generated - */ - EClass getSecurityRoleRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#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.javaee.core.SecurityRoleRef#getDescriptions() - * @see #getSecurityRoleRef() - * @generated - */ - EReference getSecurityRoleRef_Descriptions(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleName <em>Role Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Role Name</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleName() - * @see #getSecurityRoleRef() - * @generated - */ - EAttribute getSecurityRoleRef_RoleName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleLink <em>Role Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Role Link</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRoleRef#getRoleLink() - * @see #getSecurityRoleRef() - * @generated - */ - EAttribute getSecurityRoleRef_RoleLink(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.SecurityRoleRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.SecurityRoleRef#getId() - * @see #getSecurityRoleRef() - * @generated - */ - EAttribute getSecurityRoleRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ServiceRef <em>Service Ref</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Service Ref</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef - * @generated - */ - EClass getServiceRef(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRef#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.javaee.core.ServiceRef#getDescriptions() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_Descriptions(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRef#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.javaee.core.ServiceRef#getDisplayNames() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_DisplayNames(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRef#getIcons <em>Icons</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Icons</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getIcons() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_Icons(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceRefName <em>Service Ref Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service Ref Name</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getServiceRefName() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_ServiceRefName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceInterface <em>Service Interface</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service Interface</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getServiceInterface() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_ServiceInterface(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceRefType <em>Service Ref Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service Ref Type</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getServiceRefType() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_ServiceRefType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getWsdlFile <em>Wsdl File</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Wsdl File</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getWsdlFile() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_WsdlFile(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getJaxrpcMappingFile <em>Jaxrpc Mapping File</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Jaxrpc Mapping File</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getJaxrpcMappingFile() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_JaxrpcMappingFile(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getServiceQname <em>Service Qname</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service Qname</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getServiceQname() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_ServiceQname(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRef#getPortComponentRefs <em>Port Component Refs</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Port Component Refs</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getPortComponentRefs() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_PortComponentRefs(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlers <em>Handlers</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Handlers</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getHandlers() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_Handlers(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.core.ServiceRef#getHandlerChains <em>Handler Chains</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Handler Chains</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getHandlerChains() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_HandlerChains(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getMappedName <em>Mapped Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Mapped Name</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getMappedName() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_MappedName(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRef#getInjectionTargets <em>Injection Targets</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Injection Targets</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getInjectionTargets() - * @see #getServiceRef() - * @generated - */ - EReference getServiceRef_InjectionTargets(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getLookupName <em>Lookup Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lookup Name</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getLookupName() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_LookupName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRef#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRef#getId() - * @see #getServiceRef() - * @generated - */ - EAttribute getServiceRef_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ServiceRefHandler <em>Service Ref Handler</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Service Ref Handler</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler - * @generated - */ - EClass getServiceRefHandler(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#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.javaee.core.ServiceRefHandler#getDescriptions() - * @see #getServiceRefHandler() - * @generated - */ - EReference getServiceRefHandler_Descriptions(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#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.javaee.core.ServiceRefHandler#getDisplayNames() - * @see #getServiceRefHandler() - * @generated - */ - EReference getServiceRefHandler_DisplayNames(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getIcons <em>Icons</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Icons</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getIcons() - * @see #getServiceRefHandler() - * @generated - */ - EReference getServiceRefHandler_Icons(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerName <em>Handler Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Handler Name</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerName() - * @see #getServiceRefHandler() - * @generated - */ - EAttribute getServiceRefHandler_HandlerName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerClass <em>Handler Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Handler Class</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getHandlerClass() - * @see #getServiceRefHandler() - * @generated - */ - EAttribute getServiceRefHandler_HandlerClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#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.javaee.core.ServiceRefHandler#getInitParams() - * @see #getServiceRefHandler() - * @generated - */ - EReference getServiceRefHandler_InitParams(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getSoapHeaders <em>Soap Headers</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Soap Headers</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getSoapHeaders() - * @see #getServiceRefHandler() - * @generated - */ - EAttribute getServiceRefHandler_SoapHeaders(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getSoapRoles <em>Soap Roles</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Soap Roles</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getSoapRoles() - * @see #getServiceRefHandler() - * @generated - */ - EAttribute getServiceRefHandler_SoapRoles(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getPortNames <em>Port Names</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Port Names</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getPortNames() - * @see #getServiceRefHandler() - * @generated - */ - EAttribute getServiceRefHandler_PortNames(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandler#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandler#getId() - * @see #getServiceRefHandler() - * @generated - */ - EAttribute getServiceRefHandler_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain <em>Service Ref Handler Chain</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Service Ref Handler Chain</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChain - * @generated - */ - EClass getServiceRefHandlerChain(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getServiceNamePattern <em>Service Name Pattern</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Service Name Pattern</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getServiceNamePattern() - * @see #getServiceRefHandlerChain() - * @generated - */ - EAttribute getServiceRefHandlerChain_ServiceNamePattern(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getPortNamePattern <em>Port Name Pattern</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Port Name Pattern</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getPortNamePattern() - * @see #getServiceRefHandlerChain() - * @generated - */ - EAttribute getServiceRefHandlerChain_PortNamePattern(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getProtocolBindings <em>Protocol Bindings</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Protocol Bindings</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getProtocolBindings() - * @see #getServiceRefHandlerChain() - * @generated - */ - EAttribute getServiceRefHandlerChain_ProtocolBindings(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getHandlers <em>Handlers</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Handlers</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getHandlers() - * @see #getServiceRefHandlerChain() - * @generated - */ - EReference getServiceRefHandlerChain_Handlers(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChain#getId() - * @see #getServiceRefHandlerChain() - * @generated - */ - EAttribute getServiceRefHandlerChain_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains <em>Service Ref Handler Chains</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Service Ref Handler Chains</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChains - * @generated - */ - EClass getServiceRefHandlerChains(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getHandlerChains <em>Handler Chains</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Handler Chains</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getHandlerChains() - * @see #getServiceRefHandlerChains() - * @generated - */ - EReference getServiceRefHandlerChains_HandlerChains(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.core.ServiceRefHandlerChains#getId() - * @see #getServiceRefHandlerChains() - * @generated - */ - EAttribute getServiceRefHandlerChains_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.core.UrlPatternType <em>Url Pattern Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Url Pattern Type</em>'. - * @see org.eclipse.jst.javaee.core.UrlPatternType - * @generated - */ - EClass getUrlPatternType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.core.UrlPatternType#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.jst.javaee.core.UrlPatternType#getValue() - * @see #getUrlPatternType() - * @generated - */ - EAttribute getUrlPatternType_Value(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Addressing Responses Type</em>'. - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @generated - */ - EEnum getAddressingResponsesType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Ejb Ref Type</em>'. - * @see org.eclipse.jst.javaee.core.EjbRefType - * @generated - */ - EEnum getEjbRefType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Generic Boolean Type</em>'. - * @see org.eclipse.jst.javaee.core.GenericBooleanType - * @generated - */ - EEnum getGenericBooleanType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Isolation Level Type</em>'. - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @generated - */ - EEnum getIsolationLevelType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Env Entry Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Env Entry Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getEnvEntryType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Message Destination Usage Type</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @generated - */ - EEnum getMessageDestinationUsageType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.PersistenceContextType <em>Persistence Context Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Persistence Context Type</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @generated - */ - EEnum getPersistenceContextType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.ResAuthType <em>Res Auth Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Res Auth Type</em>'. - * @see org.eclipse.jst.javaee.core.ResAuthType - * @generated - */ - EEnum getResAuthType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.javaee.core.ResSharingScopeType <em>Res Sharing Scope Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Res Sharing Scope Type</em>'. - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @generated - */ - EEnum getResSharingScopeType(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Addressing Responses Type Object</em>'. - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @generated - */ - EDataType getAddressingResponsesTypeObject(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Dewey Version Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Dewey Version Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getDeweyVersionType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>EJB Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>EJB Link</em>'. - * @see java.lang.String - * @generated - */ - EDataType getEJBLink(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Ejb Ref Name Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Ejb Ref Name Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getEjbRefNameType(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Ejb Ref Type Object</em>'. - * @see org.eclipse.jst.javaee.core.EjbRefType - * @generated - */ - EDataType getEjbRefTypeObject(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Fully Qualified Class Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Fully Qualified Class Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getFullyQualifiedClassType(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Generic Boolean Type Object</em>'. - * @see org.eclipse.jst.javaee.core.GenericBooleanType - * @generated - */ - EDataType getGenericBooleanTypeObject(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Home</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Home</em>'. - * @see java.lang.String - * @generated - */ - EDataType getHome(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Isolation Level Type Object</em>'. - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @generated - */ - EDataType getIsolationLevelTypeObject(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Java Identifier</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Java Identifier</em>'. - * @see java.lang.String - * @generated - */ - EDataType getJavaIdentifier(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Java Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Java Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getJavaType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Jdbc Url Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Jdbc Url Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getJdbcUrlType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>JNDI Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>JNDI Name</em>'. - * @see java.lang.String - * @generated - */ - EDataType getJNDIName(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Local</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Local</em>'. - * @see java.lang.String - * @generated - */ - EDataType getLocal(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Local Home</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Local Home</em>'. - * @see java.lang.String - * @generated - */ - EDataType getLocalHome(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Message Destination Link</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Message Destination Link</em>'. - * @see java.lang.String - * @generated - */ - EDataType getMessageDestinationLink(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Message Destination Type Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Message Destination Type Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getMessageDestinationTypeType(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Message Destination Usage Type Object</em>'. - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @generated - */ - EDataType getMessageDestinationUsageTypeObject(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Path Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Path Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getPathType(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.PersistenceContextType <em>Persistence Context Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Persistence Context Type Object</em>'. - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @generated - */ - EDataType getPersistenceContextTypeObject(); - - /** - * Returns the meta object for data type '{@link java.util.List <em>Protocol Binding List Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Protocol Binding List Type</em>'. - * @see java.util.List - * @generated - */ - EDataType getProtocolBindingListType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Protocol Binding Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Protocol Binding Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getProtocolBindingType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Protocol URI Alias Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Protocol URI Alias Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getProtocolURIAliasType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Qname Pattern</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Qname Pattern</em>'. - * @see java.lang.String - * @generated - */ - EDataType getQnamePattern(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Remote</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Remote</em>'. - * @see java.lang.String - * @generated - */ - EDataType getRemote(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.ResAuthType <em>Res Auth Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Res Auth Type Object</em>'. - * @see org.eclipse.jst.javaee.core.ResAuthType - * @generated - */ - EDataType getResAuthTypeObject(); - - /** - * Returns the meta object for data type '{@link org.eclipse.jst.javaee.core.ResSharingScopeType <em>Res Sharing Scope Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Res Sharing Scope Type Object</em>'. - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @generated - */ - EDataType getResSharingScopeTypeObject(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Role Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Role Name</em>'. - * @see java.lang.String - * @generated - */ - EDataType getRoleName(); - - /** - * Returns the meta object for data type '<em>True False Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>True False Type</em>'. - * @generated - */ - EDataType getTrueFalseType(); - - /** - * Returns the meta object for data type '{@link java.lang.Boolean <em>True False Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>True False Type Object</em>'. - * @see java.lang.Boolean - * @generated - */ - EDataType getTrueFalseTypeObject(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - JavaeeFactory getJavaeeFactory(); - - /** - * <!-- 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.javaee.core.internal.impl.AddressingTypeImpl <em>Addressing Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.AddressingTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingType() - * @generated - */ - EClass ADDRESSING_TYPE = eINSTANCE.getAddressingType(); - - /** - * The meta object literal for the '<em><b>Enabled</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ADDRESSING_TYPE__ENABLED = eINSTANCE.getAddressingType_Enabled(); - - /** - * The meta object literal for the '<em><b>Required</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ADDRESSING_TYPE__REQUIRED = eINSTANCE.getAddressingType_Required(); - - /** - * The meta object literal for the '<em><b>Responses</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ADDRESSING_TYPE__RESPONSES = eINSTANCE.getAddressingType_Responses(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl <em>Data Source Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.DataSourceTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDataSourceType() - * @generated - */ - EClass DATA_SOURCE_TYPE = eINSTANCE.getDataSourceType(); - - /** - * The meta object literal for the '<em><b>Description</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DATA_SOURCE_TYPE__DESCRIPTION = eINSTANCE.getDataSourceType_Description(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__NAME = eINSTANCE.getDataSourceType_Name(); - - /** - * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__CLASS_NAME = eINSTANCE.getDataSourceType_ClassName(); - - /** - * The meta object literal for the '<em><b>Server Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__SERVER_NAME = eINSTANCE.getDataSourceType_ServerName(); - - /** - * The meta object literal for the '<em><b>Port Number</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__PORT_NUMBER = eINSTANCE.getDataSourceType_PortNumber(); - - /** - * The meta object literal for the '<em><b>Database Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__DATABASE_NAME = eINSTANCE.getDataSourceType_DatabaseName(); - - /** - * The meta object literal for the '<em><b>Url</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__URL = eINSTANCE.getDataSourceType_Url(); - - /** - * The meta object literal for the '<em><b>User</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__USER = eINSTANCE.getDataSourceType_User(); - - /** - * The meta object literal for the '<em><b>Password</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__PASSWORD = eINSTANCE.getDataSourceType_Password(); - - /** - * The meta object literal for the '<em><b>Property</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DATA_SOURCE_TYPE__PROPERTY = eINSTANCE.getDataSourceType_Property(); - - /** - * The meta object literal for the '<em><b>Login Timeout</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__LOGIN_TIMEOUT = eINSTANCE.getDataSourceType_LoginTimeout(); - - /** - * The meta object literal for the '<em><b>Transactional</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__TRANSACTIONAL = eINSTANCE.getDataSourceType_Transactional(); - - /** - * The meta object literal for the '<em><b>Isolation Level</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__ISOLATION_LEVEL = eINSTANCE.getDataSourceType_IsolationLevel(); - - /** - * The meta object literal for the '<em><b>Initial Pool Size</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__INITIAL_POOL_SIZE = eINSTANCE.getDataSourceType_InitialPoolSize(); - - /** - * The meta object literal for the '<em><b>Max Pool Size</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__MAX_POOL_SIZE = eINSTANCE.getDataSourceType_MaxPoolSize(); - - /** - * The meta object literal for the '<em><b>Min Pool Size</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__MIN_POOL_SIZE = eINSTANCE.getDataSourceType_MinPoolSize(); - - /** - * The meta object literal for the '<em><b>Max Idle Time</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__MAX_IDLE_TIME = eINSTANCE.getDataSourceType_MaxIdleTime(); - - /** - * The meta object literal for the '<em><b>Max Statements</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__MAX_STATEMENTS = eINSTANCE.getDataSourceType_MaxStatements(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DATA_SOURCE_TYPE__ID = eINSTANCE.getDataSourceType_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl <em>Description</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.DescriptionImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDescription() - * @generated - */ - EClass DESCRIPTION = eINSTANCE.getDescription(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DESCRIPTION__VALUE = eINSTANCE.getDescription_Value(); - - /** - * The meta object literal for the '<em><b>Lang</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DESCRIPTION__LANG = eINSTANCE.getDescription_Lang(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.DisplayNameImpl <em>Display Name</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.DisplayNameImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDisplayName() - * @generated - */ - EClass DISPLAY_NAME = eINSTANCE.getDisplayName(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DISPLAY_NAME__VALUE = eINSTANCE.getDisplayName_Value(); - - /** - * The meta object literal for the '<em><b>Lang</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DISPLAY_NAME__LANG = eINSTANCE.getDisplayName_Lang(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl <em>Ejb Local Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EjbLocalRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbLocalRef() - * @generated - */ - EClass EJB_LOCAL_REF = eINSTANCE.getEjbLocalRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EJB_LOCAL_REF__DESCRIPTIONS = eINSTANCE.getEjbLocalRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Ejb Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__EJB_REF_NAME = eINSTANCE.getEjbLocalRef_EjbRefName(); - - /** - * The meta object literal for the '<em><b>Ejb Ref Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__EJB_REF_TYPE = eINSTANCE.getEjbLocalRef_EjbRefType(); - - /** - * The meta object literal for the '<em><b>Local Home</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__LOCAL_HOME = eINSTANCE.getEjbLocalRef_LocalHome(); - - /** - * The meta object literal for the '<em><b>Local</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__LOCAL = eINSTANCE.getEjbLocalRef_Local(); - - /** - * The meta object literal for the '<em><b>Ejb Link</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__EJB_LINK = eINSTANCE.getEjbLocalRef_EjbLink(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__MAPPED_NAME = eINSTANCE.getEjbLocalRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EJB_LOCAL_REF__INJECTION_TARGETS = eINSTANCE.getEjbLocalRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__LOOKUP_NAME = eINSTANCE.getEjbLocalRef_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_LOCAL_REF__ID = eINSTANCE.getEjbLocalRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl <em>Ejb Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EjbRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRef() - * @generated - */ - EClass EJB_REF = eINSTANCE.getEjbRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EJB_REF__DESCRIPTIONS = eINSTANCE.getEjbRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Ejb Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__EJB_REF_NAME = eINSTANCE.getEjbRef_EjbRefName(); - - /** - * The meta object literal for the '<em><b>Ejb Ref Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__EJB_REF_TYPE = eINSTANCE.getEjbRef_EjbRefType(); - - /** - * The meta object literal for the '<em><b>Home</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__HOME = eINSTANCE.getEjbRef_Home(); - - /** - * The meta object literal for the '<em><b>Remote</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__REMOTE = eINSTANCE.getEjbRef_Remote(); - - /** - * The meta object literal for the '<em><b>Ejb Link</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__EJB_LINK = eINSTANCE.getEjbRef_EjbLink(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__MAPPED_NAME = eINSTANCE.getEjbRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EJB_REF__INJECTION_TARGETS = eINSTANCE.getEjbRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__LOOKUP_NAME = eINSTANCE.getEjbRef_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EJB_REF__ID = eINSTANCE.getEjbRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl <em>Empty Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EmptyTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEmptyType() - * @generated - */ - EClass EMPTY_TYPE = eINSTANCE.getEmptyType(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EMPTY_TYPE__ID = eINSTANCE.getEmptyType_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl <em>Env Entry</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.EnvEntryImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntry() - * @generated - */ - EClass ENV_ENTRY = eINSTANCE.getEnvEntry(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ENV_ENTRY__DESCRIPTIONS = eINSTANCE.getEnvEntry_Descriptions(); - - /** - * The meta object literal for the '<em><b>Env Entry Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ENV_ENTRY__ENV_ENTRY_NAME = eINSTANCE.getEnvEntry_EnvEntryName(); - - /** - * The meta object literal for the '<em><b>Env Entry Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ENV_ENTRY__ENV_ENTRY_TYPE = eINSTANCE.getEnvEntry_EnvEntryType(); - - /** - * The meta object literal for the '<em><b>Env Entry Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ENV_ENTRY__ENV_ENTRY_VALUE = eINSTANCE.getEnvEntry_EnvEntryValue(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ENV_ENTRY__MAPPED_NAME = eINSTANCE.getEnvEntry_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ENV_ENTRY__INJECTION_TARGETS = eINSTANCE.getEnvEntry_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ENV_ENTRY__LOOKUP_NAME = eINSTANCE.getEnvEntry_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ENV_ENTRY__ID = eINSTANCE.getEnvEntry_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.IconImpl <em>Icon</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.IconImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIcon() - * @generated - */ - EClass ICON = eINSTANCE.getIcon(); - - /** - * The meta object literal for the '<em><b>Small Icon</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ICON__SMALL_ICON = eINSTANCE.getIcon_SmallIcon(); - - /** - * The meta object literal for the '<em><b>Large Icon</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ICON__LARGE_ICON = eINSTANCE.getIcon_LargeIcon(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ICON__ID = eINSTANCE.getIcon_Id(); - - /** - * The meta object literal for the '<em><b>Lang</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ICON__LANG = eINSTANCE.getIcon_Lang(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.InjectionTargetImpl <em>Injection Target</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.InjectionTargetImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getInjectionTarget() - * @generated - */ - EClass INJECTION_TARGET = eINSTANCE.getInjectionTarget(); - - /** - * The meta object literal for the '<em><b>Injection Target Class</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute INJECTION_TARGET__INJECTION_TARGET_CLASS = eINSTANCE.getInjectionTarget_InjectionTargetClass(); - - /** - * The meta object literal for the '<em><b>Injection Target Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute INJECTION_TARGET__INJECTION_TARGET_NAME = eINSTANCE.getInjectionTarget_InjectionTargetName(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.LifecycleCallbackImpl <em>Lifecycle Callback</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.LifecycleCallbackImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLifecycleCallback() - * @generated - */ - EClass LIFECYCLE_CALLBACK = eINSTANCE.getLifecycleCallback(); - - /** - * The meta object literal for the '<em><b>Lifecycle Callback Class</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_CLASS = eINSTANCE.getLifecycleCallback_LifecycleCallbackClass(); - - /** - * The meta object literal for the '<em><b>Lifecycle Callback Method</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LIFECYCLE_CALLBACK__LIFECYCLE_CALLBACK_METHOD = eINSTANCE.getLifecycleCallback_LifecycleCallbackMethod(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ListenerImpl <em>Listener</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ListenerImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getListener() - * @generated - */ - EClass LISTENER = eINSTANCE.getListener(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference LISTENER__DESCRIPTIONS = eINSTANCE.getListener_Descriptions(); - - /** - * The meta object literal for the '<em><b>Display Names</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference LISTENER__DISPLAY_NAMES = eINSTANCE.getListener_DisplayNames(); - - /** - * The meta object literal for the '<em><b>Icons</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference LISTENER__ICONS = eINSTANCE.getListener_Icons(); - - /** - * The meta object literal for the '<em><b>Listener Class</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LISTENER__LISTENER_CLASS = eINSTANCE.getListener_ListenerClass(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute LISTENER__ID = eINSTANCE.getListener_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl <em>Message Destination</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.MessageDestinationImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestination() - * @generated - */ - EClass MESSAGE_DESTINATION = eINSTANCE.getMessageDestination(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MESSAGE_DESTINATION__DESCRIPTIONS = eINSTANCE.getMessageDestination_Descriptions(); - - /** - * The meta object literal for the '<em><b>Display Names</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MESSAGE_DESTINATION__DISPLAY_NAMES = eINSTANCE.getMessageDestination_DisplayNames(); - - /** - * The meta object literal for the '<em><b>Icons</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MESSAGE_DESTINATION__ICONS = eINSTANCE.getMessageDestination_Icons(); - - /** - * The meta object literal for the '<em><b>Message Destination Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION__MESSAGE_DESTINATION_NAME = eINSTANCE.getMessageDestination_MessageDestinationName(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION__MAPPED_NAME = eINSTANCE.getMessageDestination_MappedName(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION__LOOKUP_NAME = eINSTANCE.getMessageDestination_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION__ID = eINSTANCE.getMessageDestination_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl <em>Message Destination Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.MessageDestinationRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationRef() - * @generated - */ - EClass MESSAGE_DESTINATION_REF = eINSTANCE.getMessageDestinationRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MESSAGE_DESTINATION_REF__DESCRIPTIONS = eINSTANCE.getMessageDestinationRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Message Destination Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_REF_NAME = eINSTANCE.getMessageDestinationRef_MessageDestinationRefName(); - - /** - * The meta object literal for the '<em><b>Message Destination Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_TYPE = eINSTANCE.getMessageDestinationRef_MessageDestinationType(); - - /** - * The meta object literal for the '<em><b>Message Destination Usage</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_USAGE = eINSTANCE.getMessageDestinationRef_MessageDestinationUsage(); - - /** - * The meta object literal for the '<em><b>Message Destination Link</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__MESSAGE_DESTINATION_LINK = eINSTANCE.getMessageDestinationRef_MessageDestinationLink(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__MAPPED_NAME = eINSTANCE.getMessageDestinationRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference MESSAGE_DESTINATION_REF__INJECTION_TARGETS = eINSTANCE.getMessageDestinationRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__LOOKUP_NAME = eINSTANCE.getMessageDestinationRef_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute MESSAGE_DESTINATION_REF__ID = eINSTANCE.getMessageDestinationRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl <em>Param Value</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ParamValueImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getParamValue() - * @generated - */ - EClass PARAM_VALUE = eINSTANCE.getParamValue(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PARAM_VALUE__DESCRIPTIONS = eINSTANCE.getParamValue_Descriptions(); - - /** - * The meta object literal for the '<em><b>Param Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PARAM_VALUE__PARAM_NAME = eINSTANCE.getParamValue_ParamName(); - - /** - * The meta object literal for the '<em><b>Param Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PARAM_VALUE__PARAM_VALUE = eINSTANCE.getParamValue_ParamValue(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PARAM_VALUE__ID = eINSTANCE.getParamValue_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl <em>Persistence Context Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PersistenceContextRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextRef() - * @generated - */ - EClass PERSISTENCE_CONTEXT_REF = eINSTANCE.getPersistenceContextRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PERSISTENCE_CONTEXT_REF__DESCRIPTIONS = eINSTANCE.getPersistenceContextRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Persistence Context Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_REF_NAME = eINSTANCE.getPersistenceContextRef_PersistenceContextRefName(); - - /** - * The meta object literal for the '<em><b>Persistence Unit Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_CONTEXT_REF__PERSISTENCE_UNIT_NAME = eINSTANCE.getPersistenceContextRef_PersistenceUnitName(); - - /** - * The meta object literal for the '<em><b>Persistence Context Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_CONTEXT_REF__PERSISTENCE_CONTEXT_TYPE = eINSTANCE.getPersistenceContextRef_PersistenceContextType(); - - /** - * The meta object literal for the '<em><b>Persistence Properties</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PERSISTENCE_CONTEXT_REF__PERSISTENCE_PROPERTIES = eINSTANCE.getPersistenceContextRef_PersistenceProperties(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_CONTEXT_REF__MAPPED_NAME = eINSTANCE.getPersistenceContextRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PERSISTENCE_CONTEXT_REF__INJECTION_TARGETS = eINSTANCE.getPersistenceContextRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_CONTEXT_REF__ID = eINSTANCE.getPersistenceContextRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl <em>Persistence Unit Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PersistenceUnitRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceUnitRef() - * @generated - */ - EClass PERSISTENCE_UNIT_REF = eINSTANCE.getPersistenceUnitRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PERSISTENCE_UNIT_REF__DESCRIPTIONS = eINSTANCE.getPersistenceUnitRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Persistence Unit Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_REF_NAME = eINSTANCE.getPersistenceUnitRef_PersistenceUnitRefName(); - - /** - * The meta object literal for the '<em><b>Persistence Unit Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_UNIT_REF__PERSISTENCE_UNIT_NAME = eINSTANCE.getPersistenceUnitRef_PersistenceUnitName(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_UNIT_REF__MAPPED_NAME = eINSTANCE.getPersistenceUnitRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PERSISTENCE_UNIT_REF__INJECTION_TARGETS = eINSTANCE.getPersistenceUnitRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PERSISTENCE_UNIT_REF__ID = eINSTANCE.getPersistenceUnitRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl <em>Port Component Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PortComponentRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPortComponentRef() - * @generated - */ - EClass PORT_COMPONENT_REF = eINSTANCE.getPortComponentRef(); - - /** - * The meta object literal for the '<em><b>Service Endpoint Interface</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PORT_COMPONENT_REF__SERVICE_ENDPOINT_INTERFACE = eINSTANCE.getPortComponentRef_ServiceEndpointInterface(); - - /** - * The meta object literal for the '<em><b>Enable Mtom</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PORT_COMPONENT_REF__ENABLE_MTOM = eINSTANCE.getPortComponentRef_EnableMtom(); - - /** - * The meta object literal for the '<em><b>Mtom Threshold</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PORT_COMPONENT_REF__MTOM_THRESHOLD = eINSTANCE.getPortComponentRef_MtomThreshold(); - - /** - * The meta object literal for the '<em><b>Addressing</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PORT_COMPONENT_REF__ADDRESSING = eINSTANCE.getPortComponentRef_Addressing(); - - /** - * The meta object literal for the '<em><b>Respect Binding</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PORT_COMPONENT_REF__RESPECT_BINDING = eINSTANCE.getPortComponentRef_RespectBinding(); - - /** - * The meta object literal for the '<em><b>Port Component Link</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PORT_COMPONENT_REF__PORT_COMPONENT_LINK = eINSTANCE.getPortComponentRef_PortComponentLink(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PORT_COMPONENT_REF__ID = eINSTANCE.getPortComponentRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl <em>Property Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.PropertyTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPropertyType() - * @generated - */ - EClass PROPERTY_TYPE = eINSTANCE.getPropertyType(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PROPERTY_TYPE__NAME = eINSTANCE.getPropertyType_Name(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PROPERTY_TYPE__VALUE = eINSTANCE.getPropertyType_Value(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PROPERTY_TYPE__ID = eINSTANCE.getPropertyType_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl <em>Resource Env Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ResourceEnvRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceEnvRef() - * @generated - */ - EClass RESOURCE_ENV_REF = eINSTANCE.getResourceEnvRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RESOURCE_ENV_REF__DESCRIPTIONS = eINSTANCE.getResourceEnvRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Resource Env Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_ENV_REF__RESOURCE_ENV_REF_NAME = eINSTANCE.getResourceEnvRef_ResourceEnvRefName(); - - /** - * The meta object literal for the '<em><b>Resource Env Ref Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_ENV_REF__RESOURCE_ENV_REF_TYPE = eINSTANCE.getResourceEnvRef_ResourceEnvRefType(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_ENV_REF__MAPPED_NAME = eINSTANCE.getResourceEnvRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RESOURCE_ENV_REF__INJECTION_TARGETS = eINSTANCE.getResourceEnvRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_ENV_REF__LOOKUP_NAME = eINSTANCE.getResourceEnvRef_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_ENV_REF__ID = eINSTANCE.getResourceEnvRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl <em>Resource Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ResourceRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResourceRef() - * @generated - */ - EClass RESOURCE_REF = eINSTANCE.getResourceRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RESOURCE_REF__DESCRIPTIONS = eINSTANCE.getResourceRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Res Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__RES_REF_NAME = eINSTANCE.getResourceRef_ResRefName(); - - /** - * The meta object literal for the '<em><b>Res Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__RES_TYPE = eINSTANCE.getResourceRef_ResType(); - - /** - * The meta object literal for the '<em><b>Res Auth</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__RES_AUTH = eINSTANCE.getResourceRef_ResAuth(); - - /** - * The meta object literal for the '<em><b>Res Sharing Scope</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__RES_SHARING_SCOPE = eINSTANCE.getResourceRef_ResSharingScope(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__MAPPED_NAME = eINSTANCE.getResourceRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RESOURCE_REF__INJECTION_TARGETS = eINSTANCE.getResourceRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__LOOKUP_NAME = eINSTANCE.getResourceRef_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESOURCE_REF__ID = eINSTANCE.getResourceRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl <em>Respect Binding Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.RespectBindingTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRespectBindingType() - * @generated - */ - EClass RESPECT_BINDING_TYPE = eINSTANCE.getRespectBindingType(); - - /** - * The meta object literal for the '<em><b>Enabled</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RESPECT_BINDING_TYPE__ENABLED = eINSTANCE.getRespectBindingType_Enabled(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.RunAsImpl <em>Run As</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.RunAsImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRunAs() - * @generated - */ - EClass RUN_AS = eINSTANCE.getRunAs(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RUN_AS__DESCRIPTIONS = eINSTANCE.getRunAs_Descriptions(); - - /** - * The meta object literal for the '<em><b>Role Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RUN_AS__ROLE_NAME = eINSTANCE.getRunAs_RoleName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute RUN_AS__ID = eINSTANCE.getRunAs_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl <em>Security Role</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.SecurityRoleImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRole() - * @generated - */ - EClass SECURITY_ROLE = eINSTANCE.getSecurityRole(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SECURITY_ROLE__DESCRIPTIONS = eINSTANCE.getSecurityRole_Descriptions(); - - /** - * The meta object literal for the '<em><b>Role Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SECURITY_ROLE__ROLE_NAME = eINSTANCE.getSecurityRole_RoleName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SECURITY_ROLE__ID = eINSTANCE.getSecurityRole_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl <em>Security Role Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.SecurityRoleRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getSecurityRoleRef() - * @generated - */ - EClass SECURITY_ROLE_REF = eINSTANCE.getSecurityRoleRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SECURITY_ROLE_REF__DESCRIPTIONS = eINSTANCE.getSecurityRoleRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Role Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SECURITY_ROLE_REF__ROLE_NAME = eINSTANCE.getSecurityRoleRef_RoleName(); - - /** - * The meta object literal for the '<em><b>Role Link</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SECURITY_ROLE_REF__ROLE_LINK = eINSTANCE.getSecurityRoleRef_RoleLink(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SECURITY_ROLE_REF__ID = eINSTANCE.getSecurityRoleRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl <em>Service Ref</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRef() - * @generated - */ - EClass SERVICE_REF = eINSTANCE.getServiceRef(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__DESCRIPTIONS = eINSTANCE.getServiceRef_Descriptions(); - - /** - * The meta object literal for the '<em><b>Display Names</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__DISPLAY_NAMES = eINSTANCE.getServiceRef_DisplayNames(); - - /** - * The meta object literal for the '<em><b>Icons</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__ICONS = eINSTANCE.getServiceRef_Icons(); - - /** - * The meta object literal for the '<em><b>Service Ref Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__SERVICE_REF_NAME = eINSTANCE.getServiceRef_ServiceRefName(); - - /** - * The meta object literal for the '<em><b>Service Interface</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__SERVICE_INTERFACE = eINSTANCE.getServiceRef_ServiceInterface(); - - /** - * The meta object literal for the '<em><b>Service Ref Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__SERVICE_REF_TYPE = eINSTANCE.getServiceRef_ServiceRefType(); - - /** - * The meta object literal for the '<em><b>Wsdl File</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__WSDL_FILE = eINSTANCE.getServiceRef_WsdlFile(); - - /** - * The meta object literal for the '<em><b>Jaxrpc Mapping File</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__JAXRPC_MAPPING_FILE = eINSTANCE.getServiceRef_JaxrpcMappingFile(); - - /** - * The meta object literal for the '<em><b>Service Qname</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__SERVICE_QNAME = eINSTANCE.getServiceRef_ServiceQname(); - - /** - * The meta object literal for the '<em><b>Port Component Refs</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__PORT_COMPONENT_REFS = eINSTANCE.getServiceRef_PortComponentRefs(); - - /** - * The meta object literal for the '<em><b>Handlers</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__HANDLERS = eINSTANCE.getServiceRef_Handlers(); - - /** - * The meta object literal for the '<em><b>Handler Chains</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__HANDLER_CHAINS = eINSTANCE.getServiceRef_HandlerChains(); - - /** - * The meta object literal for the '<em><b>Mapped Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__MAPPED_NAME = eINSTANCE.getServiceRef_MappedName(); - - /** - * The meta object literal for the '<em><b>Injection Targets</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF__INJECTION_TARGETS = eINSTANCE.getServiceRef_InjectionTargets(); - - /** - * The meta object literal for the '<em><b>Lookup Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__LOOKUP_NAME = eINSTANCE.getServiceRef_LookupName(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF__ID = eINSTANCE.getServiceRef_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl <em>Service Ref Handler</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandler() - * @generated - */ - EClass SERVICE_REF_HANDLER = eINSTANCE.getServiceRefHandler(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF_HANDLER__DESCRIPTIONS = eINSTANCE.getServiceRefHandler_Descriptions(); - - /** - * The meta object literal for the '<em><b>Display Names</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF_HANDLER__DISPLAY_NAMES = eINSTANCE.getServiceRefHandler_DisplayNames(); - - /** - * The meta object literal for the '<em><b>Icons</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF_HANDLER__ICONS = eINSTANCE.getServiceRefHandler_Icons(); - - /** - * The meta object literal for the '<em><b>Handler Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER__HANDLER_NAME = eINSTANCE.getServiceRefHandler_HandlerName(); - - /** - * The meta object literal for the '<em><b>Handler Class</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER__HANDLER_CLASS = eINSTANCE.getServiceRefHandler_HandlerClass(); - - /** - * The meta object literal for the '<em><b>Init Params</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF_HANDLER__INIT_PARAMS = eINSTANCE.getServiceRefHandler_InitParams(); - - /** - * The meta object literal for the '<em><b>Soap Headers</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER__SOAP_HEADERS = eINSTANCE.getServiceRefHandler_SoapHeaders(); - - /** - * The meta object literal for the '<em><b>Soap Roles</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER__SOAP_ROLES = eINSTANCE.getServiceRefHandler_SoapRoles(); - - /** - * The meta object literal for the '<em><b>Port Names</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER__PORT_NAMES = eINSTANCE.getServiceRefHandler_PortNames(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER__ID = eINSTANCE.getServiceRefHandler_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl <em>Service Ref Handler Chain</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChain() - * @generated - */ - EClass SERVICE_REF_HANDLER_CHAIN = eINSTANCE.getServiceRefHandlerChain(); - - /** - * The meta object literal for the '<em><b>Service Name Pattern</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER_CHAIN__SERVICE_NAME_PATTERN = eINSTANCE.getServiceRefHandlerChain_ServiceNamePattern(); - - /** - * The meta object literal for the '<em><b>Port Name Pattern</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER_CHAIN__PORT_NAME_PATTERN = eINSTANCE.getServiceRefHandlerChain_PortNamePattern(); - - /** - * The meta object literal for the '<em><b>Protocol Bindings</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER_CHAIN__PROTOCOL_BINDINGS = eINSTANCE.getServiceRefHandlerChain_ProtocolBindings(); - - /** - * The meta object literal for the '<em><b>Handlers</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF_HANDLER_CHAIN__HANDLERS = eINSTANCE.getServiceRefHandlerChain_Handlers(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER_CHAIN__ID = eINSTANCE.getServiceRefHandlerChain_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl <em>Service Ref Handler Chains</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.ServiceRefHandlerChainsImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefHandlerChains() - * @generated - */ - EClass SERVICE_REF_HANDLER_CHAINS = eINSTANCE.getServiceRefHandlerChains(); - - /** - * The meta object literal for the '<em><b>Handler Chains</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS = eINSTANCE.getServiceRefHandlerChains_HandlerChains(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute SERVICE_REF_HANDLER_CHAINS__ID = eINSTANCE.getServiceRefHandlerChains_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl <em>Url Pattern Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.UrlPatternTypeImpl - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getUrlPatternType() - * @generated - */ - EClass URL_PATTERN_TYPE = eINSTANCE.getUrlPatternType(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute URL_PATTERN_TYPE__VALUE = eINSTANCE.getUrlPatternType_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.AddressingResponsesType <em>Addressing Responses Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesType() - * @generated - */ - EEnum ADDRESSING_RESPONSES_TYPE = eINSTANCE.getAddressingResponsesType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.EjbRefType <em>Ejb Ref Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefType() - * @generated - */ - EEnum EJB_REF_TYPE = eINSTANCE.getEjbRefType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.GenericBooleanType <em>Generic Boolean Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.GenericBooleanType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanType() - * @generated - */ - EEnum GENERIC_BOOLEAN_TYPE = eINSTANCE.getGenericBooleanType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.IsolationLevelType <em>Isolation Level Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelType() - * @generated - */ - EEnum ISOLATION_LEVEL_TYPE = eINSTANCE.getIsolationLevelType(); - - /** - * The meta object literal for the '<em>Env Entry Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType() - * @generated - */ - EDataType ENV_ENTRY_TYPE = eINSTANCE.getEnvEntryType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.MessageDestinationUsageType <em>Message Destination Usage Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageType() - * @generated - */ - EEnum MESSAGE_DESTINATION_USAGE_TYPE = eINSTANCE.getMessageDestinationUsageType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.PersistenceContextType <em>Persistence Context Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextType() - * @generated - */ - EEnum PERSISTENCE_CONTEXT_TYPE = eINSTANCE.getPersistenceContextType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.ResAuthType <em>Res Auth Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResAuthType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthType() - * @generated - */ - EEnum RES_AUTH_TYPE = eINSTANCE.getResAuthType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.core.ResSharingScopeType <em>Res Sharing Scope Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeType() - * @generated - */ - EEnum RES_SHARING_SCOPE_TYPE = eINSTANCE.getResSharingScopeType(); - - /** - * The meta object literal for the '<em>Addressing Responses Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.AddressingResponsesType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getAddressingResponsesTypeObject() - * @generated - */ - EDataType ADDRESSING_RESPONSES_TYPE_OBJECT = eINSTANCE.getAddressingResponsesTypeObject(); - - /** - * The meta object literal for the '<em>Dewey Version Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getDeweyVersionType() - * @generated - */ - EDataType DEWEY_VERSION_TYPE = eINSTANCE.getDeweyVersionType(); - - /** - * The meta object literal for the '<em>EJB Link</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEJBLink() - * @generated - */ - EDataType EJB_LINK = eINSTANCE.getEJBLink(); - - /** - * The meta object literal for the '<em>Ejb Ref Name Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefNameType() - * @generated - */ - EDataType EJB_REF_NAME_TYPE = eINSTANCE.getEjbRefNameType(); - - /** - * The meta object literal for the '<em>Ejb Ref Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EjbRefType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEjbRefTypeObject() - * @generated - */ - EDataType EJB_REF_TYPE_OBJECT = eINSTANCE.getEjbRefTypeObject(); - - /** - * The meta object literal for the '<em>Fully Qualified Class Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getFullyQualifiedClassType() - * @generated - */ - EDataType FULLY_QUALIFIED_CLASS_TYPE = eINSTANCE.getFullyQualifiedClassType(); - - /** - * The meta object literal for the '<em>Generic Boolean Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.GenericBooleanType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getGenericBooleanTypeObject() - * @generated - */ - EDataType GENERIC_BOOLEAN_TYPE_OBJECT = eINSTANCE.getGenericBooleanTypeObject(); - - /** - * The meta object literal for the '<em>Home</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getHome() - * @generated - */ - EDataType HOME = eINSTANCE.getHome(); - - /** - * The meta object literal for the '<em>Isolation Level Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.IsolationLevelType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getIsolationLevelTypeObject() - * @generated - */ - EDataType ISOLATION_LEVEL_TYPE_OBJECT = eINSTANCE.getIsolationLevelTypeObject(); - - /** - * The meta object literal for the '<em>Java Identifier</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaIdentifier() - * @generated - */ - EDataType JAVA_IDENTIFIER = eINSTANCE.getJavaIdentifier(); - - /** - * The meta object literal for the '<em>Java Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJavaType() - * @generated - */ - EDataType JAVA_TYPE = eINSTANCE.getJavaType(); - - /** - * The meta object literal for the '<em>Jdbc Url Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJdbcUrlType() - * @generated - */ - EDataType JDBC_URL_TYPE = eINSTANCE.getJdbcUrlType(); - - /** - * The meta object literal for the '<em>JNDI Name</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getJNDIName() - * @generated - */ - EDataType JNDI_NAME = eINSTANCE.getJNDIName(); - - /** - * The meta object literal for the '<em>Local</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocal() - * @generated - */ - EDataType LOCAL = eINSTANCE.getLocal(); - - /** - * The meta object literal for the '<em>Local Home</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getLocalHome() - * @generated - */ - EDataType LOCAL_HOME = eINSTANCE.getLocalHome(); - - /** - * The meta object literal for the '<em>Message Destination Link</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationLink() - * @generated - */ - EDataType MESSAGE_DESTINATION_LINK = eINSTANCE.getMessageDestinationLink(); - - /** - * The meta object literal for the '<em>Message Destination Type Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationTypeType() - * @generated - */ - EDataType MESSAGE_DESTINATION_TYPE_TYPE = eINSTANCE.getMessageDestinationTypeType(); - - /** - * The meta object literal for the '<em>Message Destination Usage Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.MessageDestinationUsageType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getMessageDestinationUsageTypeObject() - * @generated - */ - EDataType MESSAGE_DESTINATION_USAGE_TYPE_OBJECT = eINSTANCE.getMessageDestinationUsageTypeObject(); - - /** - * The meta object literal for the '<em>Path Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPathType() - * @generated - */ - EDataType PATH_TYPE = eINSTANCE.getPathType(); - - /** - * The meta object literal for the '<em>Persistence Context Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.PersistenceContextType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getPersistenceContextTypeObject() - * @generated - */ - EDataType PERSISTENCE_CONTEXT_TYPE_OBJECT = eINSTANCE.getPersistenceContextTypeObject(); - - /** - * The meta object literal for the '<em>Protocol Binding List Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.util.List - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingListType() - * @generated - */ - EDataType PROTOCOL_BINDING_LIST_TYPE = eINSTANCE.getProtocolBindingListType(); - - /** - * The meta object literal for the '<em>Protocol Binding Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolBindingType() - * @generated - */ - EDataType PROTOCOL_BINDING_TYPE = eINSTANCE.getProtocolBindingType(); - - /** - * The meta object literal for the '<em>Protocol URI Alias Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getProtocolURIAliasType() - * @generated - */ - EDataType PROTOCOL_URI_ALIAS_TYPE = eINSTANCE.getProtocolURIAliasType(); - - /** - * The meta object literal for the '<em>Qname Pattern</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getQnamePattern() - * @generated - */ - EDataType QNAME_PATTERN = eINSTANCE.getQnamePattern(); - - /** - * The meta object literal for the '<em>Remote</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRemote() - * @generated - */ - EDataType REMOTE = eINSTANCE.getRemote(); - - /** - * The meta object literal for the '<em>Res Auth Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResAuthType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResAuthTypeObject() - * @generated - */ - EDataType RES_AUTH_TYPE_OBJECT = eINSTANCE.getResAuthTypeObject(); - - /** - * The meta object literal for the '<em>Res Sharing Scope Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.ResSharingScopeType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getResSharingScopeTypeObject() - * @generated - */ - EDataType RES_SHARING_SCOPE_TYPE_OBJECT = eINSTANCE.getResSharingScopeTypeObject(); - - /** - * The meta object literal for the '<em>Role Name</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getRoleName() - * @generated - */ - EDataType ROLE_NAME = eINSTANCE.getRoleName(); - - /** - * The meta object literal for the '<em>True False Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseType() - * @generated - */ - EDataType TRUE_FALSE_TYPE = eINSTANCE.getTrueFalseType(); - - /** - * The meta object literal for the '<em>True False Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.Boolean - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getTrueFalseTypeObject() - * @generated - */ - EDataType TRUE_FALSE_TYPE_OBJECT = eINSTANCE.getTrueFalseTypeObject(); - - } - -} //JavaeePackage diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java deleted file mode 100644 index 14c8e9602..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 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.javaee.core.internal.util; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.xmi.XMLResource; -import org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl; -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -public class JEEXMLHelperImpl extends XMLHelperImpl { - - public JEEXMLHelperImpl(XMLResource resource) { - super(resource); - } - - - - @Override - public EStructuralFeature getFeature(EClass class1, String namespaceURI, - String name, boolean isElement) { - // If not found in current namespace package, go to common package - EStructuralFeature aFeature = super.getFeature(class1, namespaceURI, name, isElement); - if (aFeature == null) - aFeature = super.getFeature(class1, JavaeePackage.eNS_URI, name, isElement); - return aFeature; - } - -} diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeAdapterFactory.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeAdapterFactory.java deleted file mode 100644 index c2ac98ef5..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeAdapterFactory.java +++ /dev/null @@ -1,652 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.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.jst.javaee.core.*; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage - * @generated - */ -public class JavaeeAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JavaeePackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeAdapterFactory() { - if (modelPackage == null) { - modelPackage = JavaeePackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaeeSwitch<Adapter> modelSwitch = - new JavaeeSwitch<Adapter>() { - @Override - public Adapter caseAddressingType(AddressingType object) { - return createAddressingTypeAdapter(); - } - @Override - public Adapter caseDataSourceType(DataSourceType object) { - return createDataSourceTypeAdapter(); - } - @Override - public Adapter caseDescription(Description object) { - return createDescriptionAdapter(); - } - @Override - public Adapter caseDisplayName(DisplayName object) { - return createDisplayNameAdapter(); - } - @Override - public Adapter caseEjbLocalRef(EjbLocalRef object) { - return createEjbLocalRefAdapter(); - } - @Override - public Adapter caseEjbRef(EjbRef object) { - return createEjbRefAdapter(); - } - @Override - public Adapter caseEmptyType(EmptyType object) { - return createEmptyTypeAdapter(); - } - @Override - public Adapter caseEnvEntry(EnvEntry object) { - return createEnvEntryAdapter(); - } - @Override - public Adapter caseIcon(Icon object) { - return createIconAdapter(); - } - @Override - public Adapter caseInjectionTarget(InjectionTarget object) { - return createInjectionTargetAdapter(); - } - @Override - public Adapter caseLifecycleCallback(LifecycleCallback object) { - return createLifecycleCallbackAdapter(); - } - @Override - public Adapter caseListener(Listener object) { - return createListenerAdapter(); - } - @Override - public Adapter caseMessageDestination(MessageDestination object) { - return createMessageDestinationAdapter(); - } - @Override - public Adapter caseMessageDestinationRef(MessageDestinationRef object) { - return createMessageDestinationRefAdapter(); - } - @Override - public Adapter caseParamValue(ParamValue object) { - return createParamValueAdapter(); - } - @Override - public Adapter casePersistenceContextRef(PersistenceContextRef object) { - return createPersistenceContextRefAdapter(); - } - @Override - public Adapter casePersistenceUnitRef(PersistenceUnitRef object) { - return createPersistenceUnitRefAdapter(); - } - @Override - public Adapter casePortComponentRef(PortComponentRef object) { - return createPortComponentRefAdapter(); - } - @Override - public Adapter casePropertyType(PropertyType object) { - return createPropertyTypeAdapter(); - } - @Override - public Adapter caseResourceEnvRef(ResourceEnvRef object) { - return createResourceEnvRefAdapter(); - } - @Override - public Adapter caseResourceRef(ResourceRef object) { - return createResourceRefAdapter(); - } - @Override - public Adapter caseRespectBindingType(RespectBindingType object) { - return createRespectBindingTypeAdapter(); - } - @Override - public Adapter caseRunAs(RunAs object) { - return createRunAsAdapter(); - } - @Override - public Adapter caseSecurityRole(SecurityRole object) { - return createSecurityRoleAdapter(); - } - @Override - public Adapter caseSecurityRoleRef(SecurityRoleRef object) { - return createSecurityRoleRefAdapter(); - } - @Override - public Adapter caseServiceRef(ServiceRef object) { - return createServiceRefAdapter(); - } - @Override - public Adapter caseServiceRefHandler(ServiceRefHandler object) { - return createServiceRefHandlerAdapter(); - } - @Override - public Adapter caseServiceRefHandlerChain(ServiceRefHandlerChain object) { - return createServiceRefHandlerChainAdapter(); - } - @Override - public Adapter caseServiceRefHandlerChains(ServiceRefHandlerChains object) { - return createServiceRefHandlerChainsAdapter(); - } - @Override - public Adapter caseUrlPatternType(UrlPatternType object) { - return createUrlPatternTypeAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.AddressingType <em>Addressing Type</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.javaee.core.AddressingType - * @generated - */ - public Adapter createAddressingTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.DataSourceType <em>Data Source Type</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.javaee.core.DataSourceType - * @generated - */ - public Adapter createDataSourceTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.Description <em>Description</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.javaee.core.Description - * @generated - */ - public Adapter createDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.DisplayName <em>Display Name</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.javaee.core.DisplayName - * @generated - */ - public Adapter createDisplayNameAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.EjbLocalRef <em>Ejb Local Ref</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.javaee.core.EjbLocalRef - * @generated - */ - public Adapter createEjbLocalRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.EjbRef <em>Ejb Ref</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.javaee.core.EjbRef - * @generated - */ - public Adapter createEjbRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.EmptyType <em>Empty Type</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.javaee.core.EmptyType - * @generated - */ - public Adapter createEmptyTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.EnvEntry <em>Env Entry</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.javaee.core.EnvEntry - * @generated - */ - public Adapter createEnvEntryAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.Icon <em>Icon</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.javaee.core.Icon - * @generated - */ - public Adapter createIconAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.InjectionTarget <em>Injection Target</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.javaee.core.InjectionTarget - * @generated - */ - public Adapter createInjectionTargetAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.LifecycleCallback <em>Lifecycle Callback</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.javaee.core.LifecycleCallback - * @generated - */ - public Adapter createLifecycleCallbackAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.Listener <em>Listener</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.javaee.core.Listener - * @generated - */ - public Adapter createListenerAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.MessageDestination <em>Message Destination</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.javaee.core.MessageDestination - * @generated - */ - public Adapter createMessageDestinationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.MessageDestinationRef <em>Message Destination Ref</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.javaee.core.MessageDestinationRef - * @generated - */ - public Adapter createMessageDestinationRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ParamValue <em>Param Value</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.javaee.core.ParamValue - * @generated - */ - public Adapter createParamValueAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.PersistenceContextRef <em>Persistence Context Ref</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.javaee.core.PersistenceContextRef - * @generated - */ - public Adapter createPersistenceContextRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.PersistenceUnitRef <em>Persistence Unit Ref</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.javaee.core.PersistenceUnitRef - * @generated - */ - public Adapter createPersistenceUnitRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.PortComponentRef <em>Port Component Ref</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.javaee.core.PortComponentRef - * @generated - */ - public Adapter createPortComponentRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.PropertyType <em>Property Type</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.javaee.core.PropertyType - * @generated - */ - public Adapter createPropertyTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ResourceEnvRef <em>Resource Env Ref</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.javaee.core.ResourceEnvRef - * @generated - */ - public Adapter createResourceEnvRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ResourceRef <em>Resource Ref</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.javaee.core.ResourceRef - * @generated - */ - public Adapter createResourceRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.RespectBindingType <em>Respect Binding Type</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.javaee.core.RespectBindingType - * @generated - */ - public Adapter createRespectBindingTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.RunAs <em>Run As</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.javaee.core.RunAs - * @generated - */ - public Adapter createRunAsAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.SecurityRole <em>Security Role</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.javaee.core.SecurityRole - * @generated - */ - public Adapter createSecurityRoleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.SecurityRoleRef <em>Security Role Ref</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.javaee.core.SecurityRoleRef - * @generated - */ - public Adapter createSecurityRoleRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ServiceRef <em>Service Ref</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.javaee.core.ServiceRef - * @generated - */ - public Adapter createServiceRefAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ServiceRefHandler <em>Service Ref Handler</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.javaee.core.ServiceRefHandler - * @generated - */ - public Adapter createServiceRefHandlerAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChain <em>Service Ref Handler Chain</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.javaee.core.ServiceRefHandlerChain - * @generated - */ - public Adapter createServiceRefHandlerChainAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.ServiceRefHandlerChains <em>Service Ref Handler Chains</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.javaee.core.ServiceRefHandlerChains - * @generated - */ - public Adapter createServiceRefHandlerChainsAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.core.UrlPatternType <em>Url Pattern Type</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.javaee.core.UrlPatternType - * @generated - */ - public Adapter createUrlPatternTypeAdapter() { - 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; - } - -} //JavaeeAdapterFactory diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceFactoryImpl.java deleted file mode 100644 index 9dda81802..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceFactoryImpl.java +++ /dev/null @@ -1,60 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.util; - -import org.eclipse.emf.common.util.URI; - -import org.eclipse.emf.ecore.resource.Resource; - -import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; - -import org.eclipse.emf.ecore.xmi.XMLResource; - -/** - * <!-- begin-user-doc --> - * The <b>Resource Factory</b> associated with the package. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.util.JavaeeResourceImpl - * @generated - */ -public class JavaeeResourceFactoryImpl extends ResourceFactoryImpl { - /** - * Creates an instance of the resource factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeResourceFactoryImpl() { - super(); - } - - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Resource createResource(URI uri) { - XMLResource result = new JavaeeResourceImpl(uri); - result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE); - result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE); - - result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); - - result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); - result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); - - result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); - return result; - } - -} //JavaeeResourceFactoryImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceImpl.java deleted file mode 100644 index d88d2d5c5..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceImpl.java +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.util; - -import java.io.IOException; -import java.util.Map; - -import org.eclipse.core.resources.IFile; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.URIConverter; -import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; -import org.eclipse.wst.common.internal.emfworkbench.WorkbenchResourceHelper; - -/** - * <!-- begin-user-doc --> - * The <b>Resource </b> associated with the package. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.util.JavaeeResourceFactoryImpl - * @generated - */ -public class JavaeeResourceImpl extends XMLResourceImpl { - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param uri the URI of the new resource. - * @generated - */ - public JavaeeResourceImpl(URI uri) { - super(uri); - } - - @Override - public void save(Map options) throws IOException { - - IFile file = getPlatformFile(); - - if (file == null || !file.exists()) return; // Only save if file existed - super.save(options); - } - - private IFile getPlatformFile() { - IFile file = null; - file = WorkbenchResourceHelper.getPlatformFile(getURI()); - if (file == null) { - if (getResourceSet() != null) { - URIConverter converter = getResourceSet().getURIConverter(); - URI convertedUri = converter.normalize(uri); - if (!uri.equals(convertedUri)) - file = WorkbenchResourceHelper.getPlatformFile(convertedUri); - } - } - return file; - } - - public void save(Map options, boolean force) throws IOException { - IFile file = getPlatformFile(); - if (!force && (file == null || !file.exists())) return; // Only save if file existed - super.save(options); - if (force) getResourceSet().getResources().remove(this); //Remove initial resource - } - -} //JavaeeResourceImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeSwitch.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeSwitch.java deleted file mode 100644 index 1f339b870..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeSwitch.java +++ /dev/null @@ -1,745 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.util; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.jst.javaee.core.*; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage - * @generated - */ -public class JavaeeSwitch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JavaeePackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeSwitch() { - if (modelPackage == null) { - modelPackage = JavaeePackage.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 T 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 T doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List<EClass> eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch(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 T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case JavaeePackage.ADDRESSING_TYPE: { - AddressingType addressingType = (AddressingType)theEObject; - T result = caseAddressingType(addressingType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.DATA_SOURCE_TYPE: { - DataSourceType dataSourceType = (DataSourceType)theEObject; - T result = caseDataSourceType(dataSourceType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.DESCRIPTION: { - Description description = (Description)theEObject; - T result = caseDescription(description); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.DISPLAY_NAME: { - DisplayName displayName = (DisplayName)theEObject; - T result = caseDisplayName(displayName); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.EJB_LOCAL_REF: { - EjbLocalRef ejbLocalRef = (EjbLocalRef)theEObject; - T result = caseEjbLocalRef(ejbLocalRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.EJB_REF: { - EjbRef ejbRef = (EjbRef)theEObject; - T result = caseEjbRef(ejbRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.EMPTY_TYPE: { - EmptyType emptyType = (EmptyType)theEObject; - T result = caseEmptyType(emptyType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.ENV_ENTRY: { - EnvEntry envEntry = (EnvEntry)theEObject; - T result = caseEnvEntry(envEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.ICON: { - Icon icon = (Icon)theEObject; - T result = caseIcon(icon); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.INJECTION_TARGET: { - InjectionTarget injectionTarget = (InjectionTarget)theEObject; - T result = caseInjectionTarget(injectionTarget); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.LIFECYCLE_CALLBACK: { - LifecycleCallback lifecycleCallback = (LifecycleCallback)theEObject; - T result = caseLifecycleCallback(lifecycleCallback); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.LISTENER: { - Listener listener = (Listener)theEObject; - T result = caseListener(listener); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.MESSAGE_DESTINATION: { - MessageDestination messageDestination = (MessageDestination)theEObject; - T result = caseMessageDestination(messageDestination); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.MESSAGE_DESTINATION_REF: { - MessageDestinationRef messageDestinationRef = (MessageDestinationRef)theEObject; - T result = caseMessageDestinationRef(messageDestinationRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PARAM_VALUE: { - ParamValue paramValue = (ParamValue)theEObject; - T result = caseParamValue(paramValue); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PERSISTENCE_CONTEXT_REF: { - PersistenceContextRef persistenceContextRef = (PersistenceContextRef)theEObject; - T result = casePersistenceContextRef(persistenceContextRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PERSISTENCE_UNIT_REF: { - PersistenceUnitRef persistenceUnitRef = (PersistenceUnitRef)theEObject; - T result = casePersistenceUnitRef(persistenceUnitRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PORT_COMPONENT_REF: { - PortComponentRef portComponentRef = (PortComponentRef)theEObject; - T result = casePortComponentRef(portComponentRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PROPERTY_TYPE: { - PropertyType propertyType = (PropertyType)theEObject; - T result = casePropertyType(propertyType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RESOURCE_ENV_REF: { - ResourceEnvRef resourceEnvRef = (ResourceEnvRef)theEObject; - T result = caseResourceEnvRef(resourceEnvRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RESOURCE_REF: { - ResourceRef resourceRef = (ResourceRef)theEObject; - T result = caseResourceRef(resourceRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RESPECT_BINDING_TYPE: { - RespectBindingType respectBindingType = (RespectBindingType)theEObject; - T result = caseRespectBindingType(respectBindingType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RUN_AS: { - RunAs runAs = (RunAs)theEObject; - T result = caseRunAs(runAs); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SECURITY_ROLE: { - SecurityRole securityRole = (SecurityRole)theEObject; - T result = caseSecurityRole(securityRole); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SECURITY_ROLE_REF: { - SecurityRoleRef securityRoleRef = (SecurityRoleRef)theEObject; - T result = caseSecurityRoleRef(securityRoleRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF: { - ServiceRef serviceRef = (ServiceRef)theEObject; - T result = caseServiceRef(serviceRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF_HANDLER: { - ServiceRefHandler serviceRefHandler = (ServiceRefHandler)theEObject; - T result = caseServiceRefHandler(serviceRefHandler); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN: { - ServiceRefHandlerChain serviceRefHandlerChain = (ServiceRefHandlerChain)theEObject; - T result = caseServiceRefHandlerChain(serviceRefHandlerChain); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS: { - ServiceRefHandlerChains serviceRefHandlerChains = (ServiceRefHandlerChains)theEObject; - T result = caseServiceRefHandlerChains(serviceRefHandlerChains); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.URL_PATTERN_TYPE: { - UrlPatternType urlPatternType = (UrlPatternType)theEObject; - T result = caseUrlPatternType(urlPatternType); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Addressing 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 interpreting the object as an instance of '<em>Addressing Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAddressingType(AddressingType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Data Source 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 interpreting the object as an instance of '<em>Data Source Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDataSourceType(DataSourceType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Description</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 interpreting the object as an instance of '<em>Description</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDescription(Description object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Display Name</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 interpreting the object as an instance of '<em>Display Name</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDisplayName(DisplayName object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Ejb Local 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 interpreting the object as an instance of '<em>Ejb Local Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEjbLocalRef(EjbLocalRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Ejb 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 interpreting the object as an instance of '<em>Ejb Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEjbRef(EjbRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Empty 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 interpreting the object as an instance of '<em>Empty Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEmptyType(EmptyType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Env Entry</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 interpreting the object as an instance of '<em>Env Entry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEnvEntry(EnvEntry object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Icon</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 interpreting the object as an instance of '<em>Icon</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIcon(Icon object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Injection Target</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 interpreting the object as an instance of '<em>Injection Target</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInjectionTarget(InjectionTarget object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Lifecycle Callback</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 interpreting the object as an instance of '<em>Lifecycle Callback</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseLifecycleCallback(LifecycleCallback object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Listener</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 interpreting the object as an instance of '<em>Listener</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseListener(Listener object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Message Destination</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 interpreting the object as an instance of '<em>Message Destination</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMessageDestination(MessageDestination object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Message Destination 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 interpreting the object as an instance of '<em>Message Destination Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMessageDestinationRef(MessageDestinationRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Param Value</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 interpreting the object as an instance of '<em>Param Value</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseParamValue(ParamValue object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Persistence Context 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 interpreting the object as an instance of '<em>Persistence Context Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePersistenceContextRef(PersistenceContextRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Persistence Unit 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 interpreting the object as an instance of '<em>Persistence Unit Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePersistenceUnitRef(PersistenceUnitRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Port Component 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 interpreting the object as an instance of '<em>Port Component Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePortComponentRef(PortComponentRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Property 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 interpreting the object as an instance of '<em>Property Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePropertyType(PropertyType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Resource Env 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 interpreting the object as an instance of '<em>Resource Env Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseResourceEnvRef(ResourceEnvRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Resource 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 interpreting the object as an instance of '<em>Resource Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseResourceRef(ResourceRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Respect Binding 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 interpreting the object as an instance of '<em>Respect Binding Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRespectBindingType(RespectBindingType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Run As</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 interpreting the object as an instance of '<em>Run As</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRunAs(RunAs object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Security Role</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 interpreting the object as an instance of '<em>Security Role</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSecurityRole(SecurityRole object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Security Role 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 interpreting the object as an instance of '<em>Security Role Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSecurityRoleRef(SecurityRoleRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Service 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 interpreting the object as an instance of '<em>Service Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseServiceRef(ServiceRef object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Service Ref Handler</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 interpreting the object as an instance of '<em>Service Ref Handler</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseServiceRefHandler(ServiceRefHandler object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Service Ref Handler Chain</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 interpreting the object as an instance of '<em>Service Ref Handler Chain</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseServiceRefHandlerChain(ServiceRefHandlerChain object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Service Ref Handler Chains</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 interpreting the object as an instance of '<em>Service Ref Handler Chains</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseServiceRefHandlerChains(ServiceRefHandlerChains object) { - return null; - } - - /** - * Returns the result of interpreting 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 interpreting the object as an instance of '<em>Url Pattern Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseUrlPatternType(UrlPatternType object) { - return null; - } - - /** - * Returns the result of interpreting 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 interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public T defaultCase(EObject object) { - return null; - } - -} //JavaeeSwitch diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeValidator.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeValidator.java deleted file mode 100644 index 3370bdee3..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeValidator.java +++ /dev/null @@ -1,1117 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.util; - -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -import org.eclipse.emf.common.util.BasicDiagnostic; -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.DiagnosticChain; - -import org.eclipse.emf.common.util.ResourceLocator; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.EObjectValidator; - -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; - -import org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil; -import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator; - -import org.eclipse.jst.javaee.core.*; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * <!-- begin-user-doc --> - * The <b>Validator</b> for the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage - * @generated - */ -public class JavaeeValidator extends EObjectValidator { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final JavaeeValidator INSTANCE = new JavaeeValidator(); - - /** - * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.common.util.Diagnostic#getSource() - * @see org.eclipse.emf.common.util.Diagnostic#getCode() - * @generated - */ - public static final String DIAGNOSTIC_SOURCE = "org.eclipse.jst.javaee.core"; //$NON-NLS-1$ - - /** - * A constant with a fixed name that can be used as the base value for additional hand written constants. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 0; - - /** - * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT; - - /** - * The cached base package validator. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XMLTypeValidator xmlTypeValidator; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeValidator() { - super(); - xmlTypeValidator = XMLTypeValidator.INSTANCE; - } - - /** - * Returns the package of this validator switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EPackage getEPackage() { - return JavaeePackage.eINSTANCE; - } - - /** - * Calls <code>validateXXX</code> for the corresponding classifier of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) { - switch (classifierID) { - case JavaeePackage.ADDRESSING_TYPE: - return validateAddressingType((AddressingType)value, diagnostics, context); - case JavaeePackage.DATA_SOURCE_TYPE: - return validateDataSourceType((DataSourceType)value, diagnostics, context); - case JavaeePackage.DESCRIPTION: - return validateDescription((Description)value, diagnostics, context); - case JavaeePackage.DISPLAY_NAME: - return validateDisplayName((DisplayName)value, diagnostics, context); - case JavaeePackage.EJB_LOCAL_REF: - return validateEjbLocalRef((EjbLocalRef)value, diagnostics, context); - case JavaeePackage.EJB_REF: - return validateEjbRef((EjbRef)value, diagnostics, context); - case JavaeePackage.EMPTY_TYPE: - return validateEmptyType((EmptyType)value, diagnostics, context); - case JavaeePackage.ENV_ENTRY: - return validateEnvEntry((EnvEntry)value, diagnostics, context); - case JavaeePackage.ICON: - return validateIcon((Icon)value, diagnostics, context); - case JavaeePackage.INJECTION_TARGET: - return validateInjectionTarget((InjectionTarget)value, diagnostics, context); - case JavaeePackage.LIFECYCLE_CALLBACK: - return validateLifecycleCallback((LifecycleCallback)value, diagnostics, context); - case JavaeePackage.LISTENER: - return validateListener((Listener)value, diagnostics, context); - case JavaeePackage.MESSAGE_DESTINATION: - return validateMessageDestination((MessageDestination)value, diagnostics, context); - case JavaeePackage.MESSAGE_DESTINATION_REF: - return validateMessageDestinationRef((MessageDestinationRef)value, diagnostics, context); - case JavaeePackage.PARAM_VALUE: - return validateParamValue((ParamValue)value, diagnostics, context); - case JavaeePackage.PERSISTENCE_CONTEXT_REF: - return validatePersistenceContextRef((PersistenceContextRef)value, diagnostics, context); - case JavaeePackage.PERSISTENCE_UNIT_REF: - return validatePersistenceUnitRef((PersistenceUnitRef)value, diagnostics, context); - case JavaeePackage.PORT_COMPONENT_REF: - return validatePortComponentRef((PortComponentRef)value, diagnostics, context); - case JavaeePackage.PROPERTY_TYPE: - return validatePropertyType((PropertyType)value, diagnostics, context); - case JavaeePackage.RESOURCE_ENV_REF: - return validateResourceEnvRef((ResourceEnvRef)value, diagnostics, context); - case JavaeePackage.RESOURCE_REF: - return validateResourceRef((ResourceRef)value, diagnostics, context); - case JavaeePackage.RESPECT_BINDING_TYPE: - return validateRespectBindingType((RespectBindingType)value, diagnostics, context); - case JavaeePackage.RUN_AS: - return validateRunAs((RunAs)value, diagnostics, context); - case JavaeePackage.SECURITY_ROLE: - return validateSecurityRole((SecurityRole)value, diagnostics, context); - case JavaeePackage.SECURITY_ROLE_REF: - return validateSecurityRoleRef((SecurityRoleRef)value, diagnostics, context); - case JavaeePackage.SERVICE_REF: - return validateServiceRef((ServiceRef)value, diagnostics, context); - case JavaeePackage.SERVICE_REF_HANDLER: - return validateServiceRefHandler((ServiceRefHandler)value, diagnostics, context); - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN: - return validateServiceRefHandlerChain((ServiceRefHandlerChain)value, diagnostics, context); - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS: - return validateServiceRefHandlerChains((ServiceRefHandlerChains)value, diagnostics, context); - case JavaeePackage.URL_PATTERN_TYPE: - return validateUrlPatternType((UrlPatternType)value, diagnostics, context); - case JavaeePackage.ADDRESSING_RESPONSES_TYPE: - return validateAddressingResponsesType((AddressingResponsesType)value, diagnostics, context); - case JavaeePackage.EJB_REF_TYPE: - return validateEjbRefType((EjbRefType)value, diagnostics, context); - case JavaeePackage.GENERIC_BOOLEAN_TYPE: - return validateGenericBooleanType((GenericBooleanType)value, diagnostics, context); - case JavaeePackage.ISOLATION_LEVEL_TYPE: - return validateIsolationLevelType((IsolationLevelType)value, diagnostics, context); - case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE: - return validateMessageDestinationUsageType((MessageDestinationUsageType)value, diagnostics, context); - case JavaeePackage.PERSISTENCE_CONTEXT_TYPE: - return validatePersistenceContextType((PersistenceContextType)value, diagnostics, context); - case JavaeePackage.RES_AUTH_TYPE: - return validateResAuthType((ResAuthType)value, diagnostics, context); - case JavaeePackage.RES_SHARING_SCOPE_TYPE: - return validateResSharingScopeType((ResSharingScopeType)value, diagnostics, context); - case JavaeePackage.ADDRESSING_RESPONSES_TYPE_OBJECT: - return validateAddressingResponsesTypeObject((AddressingResponsesType)value, diagnostics, context); - case JavaeePackage.DEWEY_VERSION_TYPE: - return validateDeweyVersionType((String)value, diagnostics, context); - case JavaeePackage.EJB_LINK: - return validateEJBLink((String)value, diagnostics, context); - case JavaeePackage.EJB_REF_NAME_TYPE: - return validateEjbRefNameType((String)value, diagnostics, context); - case JavaeePackage.EJB_REF_TYPE_OBJECT: - return validateEjbRefTypeObject((EjbRefType)value, diagnostics, context); - case JavaeePackage.ENV_ENTRY_TYPE: - return validateEnvEntryType((String)value, diagnostics, context); - case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE: - return validateFullyQualifiedClassType((String)value, diagnostics, context); - case JavaeePackage.GENERIC_BOOLEAN_TYPE_OBJECT: - return validateGenericBooleanTypeObject((GenericBooleanType)value, diagnostics, context); - case JavaeePackage.HOME: - return validateHome((String)value, diagnostics, context); - case JavaeePackage.ISOLATION_LEVEL_TYPE_OBJECT: - return validateIsolationLevelTypeObject((IsolationLevelType)value, diagnostics, context); - case JavaeePackage.JAVA_IDENTIFIER: - return validateJavaIdentifier((String)value, diagnostics, context); - case JavaeePackage.JAVA_TYPE: - return validateJavaType((String)value, diagnostics, context); - case JavaeePackage.JDBC_URL_TYPE: - return validateJdbcUrlType((String)value, diagnostics, context); - case JavaeePackage.JNDI_NAME: - return validateJNDIName((String)value, diagnostics, context); - case JavaeePackage.LOCAL: - return validateLocal((String)value, diagnostics, context); - case JavaeePackage.LOCAL_HOME: - return validateLocalHome((String)value, diagnostics, context); - case JavaeePackage.MESSAGE_DESTINATION_LINK: - return validateMessageDestinationLink((String)value, diagnostics, context); - case JavaeePackage.MESSAGE_DESTINATION_TYPE_TYPE: - return validateMessageDestinationTypeType((String)value, diagnostics, context); - case JavaeePackage.MESSAGE_DESTINATION_USAGE_TYPE_OBJECT: - return validateMessageDestinationUsageTypeObject((MessageDestinationUsageType)value, diagnostics, context); - case JavaeePackage.PATH_TYPE: - return validatePathType((String)value, diagnostics, context); - case JavaeePackage.PERSISTENCE_CONTEXT_TYPE_OBJECT: - return validatePersistenceContextTypeObject((PersistenceContextType)value, diagnostics, context); - case JavaeePackage.PROTOCOL_BINDING_LIST_TYPE: - return validateProtocolBindingListType((List<?>)value, diagnostics, context); - case JavaeePackage.PROTOCOL_BINDING_TYPE: - return validateProtocolBindingType((String)value, diagnostics, context); - case JavaeePackage.PROTOCOL_URI_ALIAS_TYPE: - return validateProtocolURIAliasType((String)value, diagnostics, context); - case JavaeePackage.QNAME_PATTERN: - return validateQnamePattern((String)value, diagnostics, context); - case JavaeePackage.REMOTE: - return validateRemote((String)value, diagnostics, context); - case JavaeePackage.RES_AUTH_TYPE_OBJECT: - return validateResAuthTypeObject((ResAuthType)value, diagnostics, context); - case JavaeePackage.RES_SHARING_SCOPE_TYPE_OBJECT: - return validateResSharingScopeTypeObject((ResSharingScopeType)value, diagnostics, context); - case JavaeePackage.ROLE_NAME: - return validateRoleName((String)value, diagnostics, context); - case JavaeePackage.TRUE_FALSE_TYPE: - return validateTrueFalseType((Boolean)value, diagnostics, context); - case JavaeePackage.TRUE_FALSE_TYPE_OBJECT: - return validateTrueFalseTypeObject((Boolean)value, diagnostics, context); - default: - return true; - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateAddressingType(AddressingType addressingType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)addressingType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDataSourceType(DataSourceType dataSourceType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)dataSourceType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDescription(Description description, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)description, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDisplayName(DisplayName displayName, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)displayName, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbLocalRef(EjbLocalRef ejbLocalRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)ejbLocalRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRef(EjbRef ejbRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)ejbRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEmptyType(EmptyType emptyType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)emptyType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEnvEntry(EnvEntry envEntry, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)envEntry, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateIcon(Icon icon, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)icon, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateInjectionTarget(InjectionTarget injectionTarget, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)injectionTarget, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateLifecycleCallback(LifecycleCallback lifecycleCallback, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)lifecycleCallback, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateListener(Listener listener, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)listener, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestination(MessageDestination messageDestination, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)messageDestination, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationRef(MessageDestinationRef messageDestinationRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)messageDestinationRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateParamValue(ParamValue paramValue, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)paramValue, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceContextRef(PersistenceContextRef persistenceContextRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)persistenceContextRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceUnitRef(PersistenceUnitRef persistenceUnitRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)persistenceUnitRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePortComponentRef(PortComponentRef portComponentRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)portComponentRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePropertyType(PropertyType propertyType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)propertyType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResourceEnvRef(ResourceEnvRef resourceEnvRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)resourceEnvRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResourceRef(ResourceRef resourceRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)resourceRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRespectBindingType(RespectBindingType respectBindingType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)respectBindingType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRunAs(RunAs runAs, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)runAs, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateSecurityRole(SecurityRole securityRole, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)securityRole, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateSecurityRoleRef(SecurityRoleRef securityRoleRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)securityRoleRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRef(ServiceRef serviceRef, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)serviceRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefHandler(ServiceRefHandler serviceRefHandler, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)serviceRefHandler, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefHandlerChain(ServiceRefHandlerChain serviceRefHandlerChain, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChain, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefHandlerChains(ServiceRefHandlerChains serviceRefHandlerChains, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChains, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateUrlPatternType(UrlPatternType urlPatternType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validate_EveryDefaultConstraint((EObject)urlPatternType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateAddressingResponsesType(AddressingResponsesType addressingResponsesType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRefType(EjbRefType ejbRefType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateGenericBooleanType(GenericBooleanType genericBooleanType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateIsolationLevelType(IsolationLevelType isolationLevelType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationUsageType(MessageDestinationUsageType messageDestinationUsageType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceContextType(PersistenceContextType persistenceContextType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResAuthType(ResAuthType resAuthType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResSharingScopeType(ResSharingScopeType resSharingScopeType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateAddressingResponsesTypeObject(AddressingResponsesType addressingResponsesTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDeweyVersionType(String deweyVersionType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateDeweyVersionType_Pattern(deweyVersionType, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateDeweyVersionType_Pattern - */ - public static final PatternMatcher [][] DEWEY_VERSION_TYPE__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("\\.?[0-9]+(\\.[0-9]+)*") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>Dewey Version Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDeweyVersionType_Pattern(String deweyVersionType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.DEWEY_VERSION_TYPE, deweyVersionType, DEWEY_VERSION_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEJBLink(String ejbLink, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRefNameType(String ejbRefNameType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRefTypeObject(EjbRefType ejbRefTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEnvEntryType(String envEntryType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateFullyQualifiedClassType(String fullyQualifiedClassType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateGenericBooleanTypeObject(GenericBooleanType genericBooleanTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateHome(String home, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateIsolationLevelTypeObject(IsolationLevelType isolationLevelTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJavaIdentifier(String javaIdentifier, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateJavaIdentifier_Pattern(javaIdentifier, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateJavaIdentifier_Pattern - */ - public static final PatternMatcher [][] JAVA_IDENTIFIER__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("($|_|\\p{L})(\\p{L}|\\p{Nd}|_|$)*") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>Java Identifier</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJavaIdentifier_Pattern(String javaIdentifier, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.JAVA_IDENTIFIER, javaIdentifier, JAVA_IDENTIFIER__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJavaType(String javaType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateJavaType_Pattern(javaType, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateJavaType_Pattern - */ - public static final PatternMatcher [][] JAVA_TYPE__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("[^\\p{Z}]*") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>Java Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJavaType_Pattern(String javaType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.JAVA_TYPE, javaType, JAVA_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJdbcUrlType(String jdbcUrlType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateJdbcUrlType_Pattern(jdbcUrlType, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateJdbcUrlType_Pattern - */ - public static final PatternMatcher [][] JDBC_URL_TYPE__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("jdbc:(.*):(.*)") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>Jdbc Url Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJdbcUrlType_Pattern(String jdbcUrlType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.JDBC_URL_TYPE, jdbcUrlType, JDBC_URL_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJNDIName(String jndiName, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateLocal(String local, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateLocalHome(String localHome, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationLink(String messageDestinationLink, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationTypeType(String messageDestinationTypeType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationUsageTypeObject(MessageDestinationUsageType messageDestinationUsageTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePathType(String pathType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceContextTypeObject(PersistenceContextType persistenceContextTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateProtocolBindingListType(List<?> protocolBindingListType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateProtocolBindingListType_ItemType(protocolBindingListType, diagnostics, context); - return result; - } - - /** - * Validates the ItemType constraint of '<em>Protocol Binding List Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateProtocolBindingListType_ItemType(List<?> protocolBindingListType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = true; - for (Iterator<?> i = protocolBindingListType.iterator(); i.hasNext() && (result || diagnostics != null); ) { - Object item = i.next(); - if (JavaeePackage.Literals.PROTOCOL_BINDING_TYPE.isInstance(item)) { - result &= validateProtocolBindingType((String)item, diagnostics, context); - } - else { - result = false; - reportDataValueTypeViolation(JavaeePackage.Literals.PROTOCOL_BINDING_TYPE, item, diagnostics, context); - } - } - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateProtocolBindingType(String protocolBindingType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateProtocolBindingType_MemberTypes(protocolBindingType, diagnostics, context); - return result; - } - - /** - * Validates the MemberTypes constraint of '<em>Protocol Binding Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateProtocolBindingType_MemberTypes(String protocolBindingType, DiagnosticChain diagnostics, Map<Object, Object> context) { - if (diagnostics != null) { - BasicDiagnostic tempDiagnostics = new BasicDiagnostic(); - if (XMLTypePackage.Literals.ANY_URI.isInstance(protocolBindingType)) { - if (xmlTypeValidator.validateAnyURI(protocolBindingType, tempDiagnostics, context)) return true; - } - if (JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE.isInstance(protocolBindingType)) { - if (validateProtocolURIAliasType(protocolBindingType, tempDiagnostics, context)) return true; - } - for (Diagnostic diagnostic : tempDiagnostics.getChildren()) { - diagnostics.add(diagnostic); - } - } - else { - if (XMLTypePackage.Literals.ANY_URI.isInstance(protocolBindingType)) { - if (xmlTypeValidator.validateAnyURI(protocolBindingType, null, context)) return true; - } - if (JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE.isInstance(protocolBindingType)) { - if (validateProtocolURIAliasType(protocolBindingType, null, context)) return true; - } - } - return false; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateProtocolURIAliasType(String protocolURIAliasType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateProtocolURIAliasType_Pattern(protocolURIAliasType, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateProtocolURIAliasType_Pattern - */ - public static final PatternMatcher [][] PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("##.+") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>Protocol URI Alias Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateProtocolURIAliasType_Pattern(String protocolURIAliasType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.PROTOCOL_URI_ALIAS_TYPE, protocolURIAliasType, PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateQnamePattern(String qnamePattern, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateQnamePattern_Pattern(qnamePattern, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateQnamePattern_Pattern - */ - public static final PatternMatcher [][] QNAME_PATTERN__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>Qname Pattern</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateQnamePattern_Pattern(String qnamePattern, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.QNAME_PATTERN, qnamePattern, QNAME_PATTERN__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRemote(String remote, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResAuthTypeObject(ResAuthType resAuthTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResSharingScopeTypeObject(ResSharingScopeType resSharingScopeTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRoleName(String roleName, DiagnosticChain diagnostics, Map<Object, Object> context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateTrueFalseType(boolean trueFalseType, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateTrueFalseType_Pattern(trueFalseType, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateTrueFalseType_Pattern - */ - public static final PatternMatcher [][] TRUE_FALSE_TYPE__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("(true|false)") //$NON-NLS-1$ - } - }; - - /** - * Validates the Pattern constraint of '<em>True False Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateTrueFalseType_Pattern(boolean trueFalseType, DiagnosticChain diagnostics, Map<Object, Object> context) { - return validatePattern(JavaeePackage.Literals.TRUE_FALSE_TYPE, trueFalseType, TRUE_FALSE_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateTrueFalseTypeObject(Boolean trueFalseTypeObject, DiagnosticChain diagnostics, Map<Object, Object> context) { - boolean result = validateTrueFalseType_Pattern(trueFalseTypeObject, diagnostics, context); - return result; - } - - /** - * Returns the resource locator that will be used to fetch messages for this validator's diagnostics. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - // TODO - // Specialize this to return a resource locator for messages specific to this validator. - // Ensure that you remove @generated or mark it @generated NOT - return super.getResourceLocator(); - } - -} //JavaeeValidator diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeXMLProcessor.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeXMLProcessor.java deleted file mode 100644 index a5eade707..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeXMLProcessor.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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.javaee.core.internal.util; - -import java.util.Map; - -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.util.XMLProcessor; - -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -/** - * This class contains helper methods to serialize and deserialize XML documents - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class JavaeeXMLProcessor extends XMLProcessor { - /** - * Public constructor to instantiate the helper. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaeeXMLProcessor() { - super((EPackage.Registry.INSTANCE)); - JavaeePackage.eINSTANCE.eClass(); - } - - /** - * Register for "*" and "xml" file extensions the JavaeeResourceFactoryImpl factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected Map<String, Resource.Factory> getRegistrations() { - if (registrations == null) { - super.getRegistrations(); - registrations.put(XML_EXTENSION, new JavaeeResourceFactoryImpl()); - registrations.put(STAR_EXTENSION, new JavaeeResourceFactoryImpl()); - } - return registrations; - } - -} //JavaeeXMLProcessor |