diff options
author | cbridgha | 2007-09-05 01:54:41 +0000 |
---|---|---|
committer | cbridgha | 2007-09-05 01:54:41 +0000 |
commit | f57f13b30eaf33ac1e145021c50ec2f62aba465c (patch) | |
tree | ff483c344b2836210bd551185d5455631512195b /plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal | |
parent | a8959cb8b1660fc6c53759d92c621c98ccf5fccf (diff) | |
download | webtools.javaee-200708050923.tar.gz webtools.javaee-200708050923.tar.xz webtools.javaee-200708050923.zip |
This commit was manufactured by cvs2svn to create tag 'v200708050923'.v200708050923
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal')
37 files changed, 0 insertions, 24831 deletions
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 e78056e61..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DescriptionImpl.java +++ /dev/null @@ -1,220 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 60c0eb3d2..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/DisplayNameImpl.java +++ /dev/null @@ -1,220 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 68fc4800d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbLocalRefImpl.java +++ /dev/null @@ -1,620 +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#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 descriptions = null; - - /** - * 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 = false; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.EJB_LOCAL_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.EJB_LOCAL_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.EJB_LOCAL_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.EJB_LOCAL_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)newValue); - return; - case JavaeePackage.EJB_LOCAL_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (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(", 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 e908e93ed..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EjbRefImpl.java +++ /dev/null @@ -1,620 +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#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 descriptions = null; - - /** - * 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 = false; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.EJB_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.EJB_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.EJB_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.EJB_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)newValue); - return; - case JavaeePackage.EJB_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (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(", 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 794a873ab..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EmptyTypeImpl.java +++ /dev/null @@ -1,166 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 0b42542a0..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/EnvEntryImpl.java +++ /dev/null @@ -1,512 +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#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 descriptions = null; - - /** - * 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 EnvEntryType ENV_ENTRY_TYPE_EDEFAULT = EnvEntryType.JAVA_LANG_BOOLEAN_LITERAL; - - /** - * The cached value of the '{@link #getEnvEntryType() <em>Env Entry Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnvEntryType() - * @generated - * @ordered - */ - protected EnvEntryType envEntryType = ENV_ENTRY_TYPE_EDEFAULT; - - /** - * This is true if the Env Entry Type attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean envEntryTypeESet = false; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.ENV_ENTRY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 EnvEntryType getEnvEntryType() { - return envEntryType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnvEntryType(EnvEntryType newEnvEntryType) { - EnvEntryType oldEnvEntryType = envEntryType; - envEntryType = newEnvEntryType == null ? ENV_ENTRY_TYPE_EDEFAULT : newEnvEntryType; - boolean oldEnvEntryTypeESet = envEntryTypeESet; - envEntryTypeESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE, oldEnvEntryType, envEntryType, !oldEnvEntryTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetEnvEntryType() { - EnvEntryType oldEnvEntryType = envEntryType; - boolean oldEnvEntryTypeESet = envEntryTypeESet; - envEntryType = ENV_ENTRY_TYPE_EDEFAULT; - envEntryTypeESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE, oldEnvEntryType, ENV_ENTRY_TYPE_EDEFAULT, oldEnvEntryTypeESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetEnvEntryType() { - return envEntryTypeESet; - } - - /** - * <!-- 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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.ENV_ENTRY__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.ENV_ENTRY__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.ENV_ENTRY__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_NAME: - setEnvEntryName((String)newValue); - return; - case JavaeePackage.ENV_ENTRY__ENV_ENTRY_TYPE: - setEnvEntryType((EnvEntryType)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)newValue); - return; - case JavaeePackage.ENV_ENTRY__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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: - unsetEnvEntryType(); - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 isSetEnvEntryType(); - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (envEntryName: "); //$NON-NLS-1$ - result.append(envEntryName); - result.append(", envEntryType: "); //$NON-NLS-1$ - if (envEntryTypeESet) result.append(envEntryType); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", envEntryValue: "); //$NON-NLS-1$ - result.append(envEntryValue); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 0302ead27..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/IconImpl.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.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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 017ff4668..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/InjectionTargetImpl.java +++ /dev/null @@ -1,220 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 0d63d3250..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeeFactoryImpl.java +++ /dev/null @@ -1,1216 +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.Iterator; -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 - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - 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.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 - */ - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case JavaeePackage.EJB_REF_TYPE: - return createEjbRefTypeFromString(eDataType, initialValue); - case JavaeePackage.ENV_ENTRY_TYPE: - return createEnvEntryTypeFromString(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.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_OBJECT: - return createEnvEntryTypeObjectFromString(eDataType, initialValue); - case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE: - return createFullyQualifiedClassTypeFromString(eDataType, initialValue); - case JavaeePackage.HOME: - return createHomeFromString(eDataType, initialValue); - case JavaeePackage.JAVA_IDENTIFIER: - return createJavaIdentifierFromString(eDataType, initialValue); - case JavaeePackage.JAVA_TYPE: - return createJavaTypeFromString(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.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.SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE: - return createServiceRefProtocolBindingListTypeFromString(eDataType, initialValue); - case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_TYPE: - return createServiceRefProtocolBindingTypeFromString(eDataType, initialValue); - case JavaeePackage.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE: - return createServiceRefProtocolURIAliasTypeFromString(eDataType, initialValue); - case JavaeePackage.SERVICE_REF_QNAME_PATTERN: - return createServiceRefQnamePatternFromString(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 - */ - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case JavaeePackage.EJB_REF_TYPE: - return convertEjbRefTypeToString(eDataType, instanceValue); - case JavaeePackage.ENV_ENTRY_TYPE: - return convertEnvEntryTypeToString(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.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_OBJECT: - return convertEnvEntryTypeObjectToString(eDataType, instanceValue); - case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE: - return convertFullyQualifiedClassTypeToString(eDataType, instanceValue); - case JavaeePackage.HOME: - return convertHomeToString(eDataType, instanceValue); - case JavaeePackage.JAVA_IDENTIFIER: - return convertJavaIdentifierToString(eDataType, instanceValue); - case JavaeePackage.JAVA_TYPE: - return convertJavaTypeToString(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.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.SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE: - return convertServiceRefProtocolBindingListTypeToString(eDataType, instanceValue); - case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_TYPE: - return convertServiceRefProtocolBindingTypeToString(eDataType, instanceValue); - case JavaeePackage.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE: - return convertServiceRefProtocolURIAliasTypeToString(eDataType, instanceValue); - case JavaeePackage.SERVICE_REF_QNAME_PATTERN: - return convertServiceRefQnamePatternToString(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 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 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 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 EnvEntryType createEnvEntryTypeFromString(EDataType eDataType, String initialValue) { - EnvEntryType result = EnvEntryType.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 convertEnvEntryTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- 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 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 (EjbRefType)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 EnvEntryType createEnvEntryTypeObjectFromString(EDataType eDataType, String initialValue) { - return (EnvEntryType)createEnvEntryTypeFromString(JavaeePackage.Literals.ENV_ENTRY_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertEnvEntryTypeObjectToString(EDataType eDataType, Object instanceValue) { - return convertEnvEntryTypeToString(JavaeePackage.Literals.ENV_ENTRY_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 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 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 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 (MessageDestinationUsageType)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 (PersistenceContextType)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 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 (ResAuthType)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 (ResSharingScopeType)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 List createServiceRefProtocolBindingListTypeFromString(EDataType eDataType, String initialValue) { - if (initialValue == null) return null; - List result = new ArrayList(); - for (StringTokenizer stringTokenizer = new StringTokenizer(initialValue); stringTokenizer.hasMoreTokens(); ) { - String item = stringTokenizer.nextToken(); - result.add(createServiceRefProtocolBindingTypeFromString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE, item)); - } - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertServiceRefProtocolBindingListTypeToString(EDataType eDataType, Object instanceValue) { - if (instanceValue == null) return null; - List list = (List)instanceValue; - if (list.isEmpty()) return ""; - StringBuffer result = new StringBuffer(); - for (Iterator i = list.iterator(); i.hasNext(); ) { - result.append(convertServiceRefProtocolBindingTypeToString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE, i.next())); - result.append(' '); - } - return result.substring(0, result.length() - 1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createServiceRefProtocolBindingTypeFromString(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 = (String)createServiceRefProtocolURIAliasTypeFromString(JavaeePackage.Literals.SERVICE_REF_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 convertServiceRefProtocolBindingTypeToString(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) { - } - } - if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE.isInstance(instanceValue)) { - try { - String value = convertServiceRefProtocolURIAliasTypeToString(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE, instanceValue); - if (value != null) return value; - } - catch (Exception e) { - } - } - throw new IllegalArgumentException("Invalid value: '"+instanceValue+"' for datatype :"+eDataType.getName()); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createServiceRefProtocolURIAliasTypeFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertServiceRefProtocolURIAliasTypeToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createServiceRefQnamePatternFromString(EDataType eDataType, String initialValue) { - return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.Literals.TOKEN, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertServiceRefQnamePatternToString(EDataType eDataType, Object instanceValue) { - return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.Literals.TOKEN, 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 (Boolean)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 - */ - 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 901759a18..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/JavaeePackageImpl.java +++ /dev/null @@ -1,4461 +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.javaee.application.internal.impl.ApplicationPackageImpl; - -import org.eclipse.jst.javaee.application.internal.metadata.ApplicationPackage; - -import org.eclipse.jst.javaee.applicationclient.internal.impl.ApplicationclientPackageImpl; - -import org.eclipse.jst.javaee.applicationclient.internal.metadata.ApplicationclientPackage; - -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.EnvEntryType; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.InjectionTarget; -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.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; - -import org.eclipse.jst.javaee.ejb.internal.impl.EjbPackageImpl; - -import org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage; - -import org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -import org.eclipse.jst.javaee.web.internal.impl.WebPackageImpl; - -import org.eclipse.jst.javaee.web.internal.metadata.WebPackage; - -/** - * <!-- 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 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 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 ejbRefTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum envEntryTypeEEnum = 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 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 envEntryTypeObjectEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType fullyQualifiedClassTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType homeEDataType = 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 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 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 serviceRefProtocolBindingListTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType serviceRefProtocolBindingTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType serviceRefProtocolURIAliasTypeEDataType = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType serviceRefQnamePatternEDataType = 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 static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - * <p>Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - * <p>Invocation of this method will not affect any packages that have - * already been initialized. - * <!-- 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.getEPackage(eNS_URI) instanceof JavaeePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new JavaeePackageImpl()); - - isInited = true; - - // Initialize simple dependencies - XMLNamespacePackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - WebPackageImpl theWebPackage = (WebPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) instanceof WebPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebPackage.eNS_URI) : WebPackage.eINSTANCE); - ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE); - EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE); - ApplicationclientPackageImpl theApplicationclientPackage = (ApplicationclientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) instanceof ApplicationclientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationclientPackage.eNS_URI) : ApplicationclientPackage.eINSTANCE); - JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE); - - // Create package meta-data objects - theJavaeePackage.createPackageContents(); - theWebPackage.createPackageContents(); - theApplicationPackage.createPackageContents(); - theEjbPackage.createPackageContents(); - theApplicationclientPackage.createPackageContents(); - theJspPackage.createPackageContents(); - - // Initialize created meta-data - theJavaeePackage.initializePackageContents(); - theWebPackage.initializePackageContents(); - theApplicationPackage.initializePackageContents(); - theEjbPackage.initializePackageContents(); - theApplicationclientPackage.initializePackageContents(); - theJspPackage.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(); - - return theJavaeePackage; - } - - /** - * <!-- 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_Id() { - return (EAttribute)ejbLocalRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- 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_Id() { - return (EAttribute)ejbRefEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- 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_Id() { - return (EAttribute)envEntryEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- 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_Id() { - return (EAttribute)messageDestinationEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- 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_Id() { - return (EAttribute)messageDestinationRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- 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_PortComponentLink() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortComponentRef_Id() { - return (EAttribute)portComponentRefEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- 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_Id() { - return (EAttribute)resourceEnvRefEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- 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_Id() { - return (EAttribute)resourceRefEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- 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_Id() { - return (EAttribute)serviceRefEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- 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 getEjbRefType() { - return ejbRefTypeEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getEnvEntryType() { - return envEntryTypeEEnum; - } - - /** - * <!-- 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 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 getEnvEntryTypeObject() { - return envEntryTypeObjectEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getFullyQualifiedClassType() { - return fullyQualifiedClassTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getHome() { - return homeEDataType; - } - - /** - * <!-- 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 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 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 getServiceRefProtocolBindingListType() { - return serviceRefProtocolBindingListTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getServiceRefProtocolBindingType() { - return serviceRefProtocolBindingTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getServiceRefProtocolURIAliasType() { - return serviceRefProtocolURIAliasTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getServiceRefQnamePattern() { - return serviceRefQnamePatternEDataType; - } - - /** - * <!-- 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 - 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__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__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__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__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__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__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__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__ID); - - 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__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 - ejbRefTypeEEnum = createEEnum(EJB_REF_TYPE); - envEntryTypeEEnum = createEEnum(ENV_ENTRY_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 - deweyVersionTypeEDataType = createEDataType(DEWEY_VERSION_TYPE); - ejbLinkEDataType = createEDataType(EJB_LINK); - ejbRefNameTypeEDataType = createEDataType(EJB_REF_NAME_TYPE); - ejbRefTypeObjectEDataType = createEDataType(EJB_REF_TYPE_OBJECT); - envEntryTypeObjectEDataType = createEDataType(ENV_ENTRY_TYPE_OBJECT); - fullyQualifiedClassTypeEDataType = createEDataType(FULLY_QUALIFIED_CLASS_TYPE); - homeEDataType = createEDataType(HOME); - javaIdentifierEDataType = createEDataType(JAVA_IDENTIFIER); - javaTypeEDataType = createEDataType(JAVA_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); - remoteEDataType = createEDataType(REMOTE); - resAuthTypeObjectEDataType = createEDataType(RES_AUTH_TYPE_OBJECT); - resSharingScopeTypeObjectEDataType = createEDataType(RES_SHARING_SCOPE_TYPE_OBJECT); - roleNameEDataType = createEDataType(ROLE_NAME); - serviceRefProtocolBindingListTypeEDataType = createEDataType(SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE); - serviceRefProtocolBindingTypeEDataType = createEDataType(SERVICE_REF_PROTOCOL_BINDING_TYPE); - serviceRefProtocolURIAliasTypeEDataType = createEDataType(SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE); - serviceRefQnamePatternEDataType = createEDataType(SERVICE_REF_QNAME_PATTERN); - 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); - - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - 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", "Entity", 0, 1, EjbLocalRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - 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_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", "Entity", 0, 1, EjbRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - 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_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", "java.lang.Boolean", 0, 1, EnvEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - 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_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_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", "Consumes", 0, 1, MessageDestinationRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - 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_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", "Transaction", 0, 1, PersistenceContextRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - 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_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_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", "Application", 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEAttribute(getResourceRef_ResSharingScope(), this.getResSharingScopeType(), "resSharingScope", "Shareable", 0, 1, ResourceRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - 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_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(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_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.getServiceRefQnamePattern(), "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.getServiceRefQnamePattern(), "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.getServiceRefProtocolBindingListType(), "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(ejbRefTypeEEnum, EjbRefType.class, "EjbRefType"); //$NON-NLS-1$ - addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.ENTITY_LITERAL); - addEEnumLiteral(ejbRefTypeEEnum, EjbRefType.SESSION_LITERAL); - - initEEnum(envEntryTypeEEnum, EnvEntryType.class, "EnvEntryType"); //$NON-NLS-1$ - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_BOOLEAN_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_BYTE_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_CHARACTER_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_STRING_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_SHORT_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_INTEGER_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_LONG_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_FLOAT_LITERAL); - addEEnumLiteral(envEntryTypeEEnum, EnvEntryType.JAVA_LANG_DOUBLE_LITERAL); - - 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(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(envEntryTypeObjectEDataType, EnvEntryType.class, "EnvEntryTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(fullyQualifiedClassTypeEDataType, String.class, "FullyQualifiedClassType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(homeEDataType, String.class, "Home", 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(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(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(serviceRefProtocolBindingListTypeEDataType, List.class, "ServiceRefProtocolBindingListType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(serviceRefProtocolBindingTypeEDataType, String.class, "ServiceRefProtocolBindingType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(serviceRefProtocolURIAliasTypeEDataType, String.class, "ServiceRefProtocolURIAliasType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEDataType(serviceRefQnamePatternEDataType, String.class, "ServiceRefQnamePattern", 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(); - } - - /** - * 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 - (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_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_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_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (envEntryTypeEEnum, - source, - new String[] { - "name", "env-entry-type-valuesType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (envEntryTypeObjectEDataType, - source, - new String[] { - "name", "env-entry-type-valuesType:Object", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "env-entry-type-valuesType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (fullyQualifiedClassTypeEDataType, - source, - new String[] { - "name", "fully-qualified-classType" //$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 - (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 - (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_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_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_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 - (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_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_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$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_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", "service-ref_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", "service-ref_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", "service-ref_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 - (serviceRefProtocolBindingListTypeEDataType, - source, - new String[] { - "name", "service-ref_protocol-bindingListType", //$NON-NLS-1$ //$NON-NLS-2$ - "itemType", "service-ref_protocol-bindingType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (serviceRefProtocolBindingTypeEDataType, - source, - new String[] { - "name", "service-ref_protocol-bindingType", //$NON-NLS-1$ //$NON-NLS-2$ - "memberTypes", "http://www.eclipse.org/emf/2003/XMLType#anyURI service-ref_protocol-URIAliasType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (serviceRefProtocolURIAliasTypeEDataType, - source, - new String[] { - "name", "service-ref_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 - (serviceRefQnamePatternEDataType, - source, - new String[] { - "name", "service-ref_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 - (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 08f66c556..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/LifecycleCallbackImpl.java +++ /dev/null @@ -1,220 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 579fb0698..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ListenerImpl.java +++ /dev/null @@ -1,352 +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 descriptions = null; - - /** - * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDisplayNames() - * @generated - * @ordered - */ - protected EList displayNames = null; - - /** - * 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 icons = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.LISTENER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.LISTENER__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.LISTENER__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.LISTENER__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - case JavaeePackage.LISTENER__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection)newValue); - return; - case JavaeePackage.LISTENER__ICONS: - getIcons().clear(); - getIcons().addAll((Collection)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 - */ - 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 - */ - 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 - */ - 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 2c4b2f67f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationImpl.java +++ /dev/null @@ -1,406 +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#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 descriptions = null; - - /** - * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDisplayNames() - * @generated - * @ordered - */ - protected EList displayNames = null; - - /** - * 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 icons = null; - - /** - * 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 #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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.MESSAGE_DESTINATION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList(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 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 - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION__ICONS: - getIcons().clear(); - getIcons().addAll((Collection)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__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (messageDestinationName: "); //$NON-NLS-1$ - result.append(messageDestinationName); - result.append(", mappedName: "); //$NON-NLS-1$ - result.append(mappedName); - 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 917554edb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/MessageDestinationRefImpl.java +++ /dev/null @@ -1,566 +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#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 descriptions = null; - - /** - * 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 = false; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.MESSAGE_DESTINATION_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.MESSAGE_DESTINATION_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.MESSAGE_DESTINATION_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.MESSAGE_DESTINATION_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)newValue); - return; - case JavaeePackage.MESSAGE_DESTINATION_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (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(", 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 9b6f9fd9e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ParamValueImpl.java +++ /dev/null @@ -1,332 +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 descriptions = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.PARAM_VALUE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PARAM_VALUE__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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 - */ - 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 - */ - 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 - */ - 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 19ae0c3d4..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceContextRefImpl.java +++ /dev/null @@ -1,549 +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 descriptions = null; - - /** - * 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 = false; - - /** - * 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 persistenceProperties = null; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.PERSISTENCE_CONTEXT_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getPersistenceProperties() { - if (persistenceProperties == null) { - persistenceProperties = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_CONTEXT_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)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)newValue); - return; - case JavaeePackage.PERSISTENCE_CONTEXT_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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 - */ - 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 d88c99dfc..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PersistenceUnitRefImpl.java +++ /dev/null @@ -1,423 +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 descriptions = null; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.PERSISTENCE_UNIT_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.PERSISTENCE_UNIT_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)newValue); - return; - case JavaeePackage.PERSISTENCE_UNIT_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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 - */ - 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 aced7c775..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PortComponentRefImpl.java +++ /dev/null @@ -1,362 +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.PortComponentRef; - -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#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 = false; - - /** - * 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 - */ - 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 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 - */ - 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() ? Boolean.TRUE : Boolean.FALSE; - 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 - */ - 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).booleanValue()); - 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 - */ - 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__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 - */ - 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__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 - */ - 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(", 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 882354110..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/PropertyTypeImpl.java +++ /dev/null @@ -1,274 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 11100ef03..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceEnvRefImpl.java +++ /dev/null @@ -1,423 +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#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 descriptions = null; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.RESOURCE_ENV_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.RESOURCE_ENV_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.RESOURCE_ENV_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RESOURCE_ENV_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)newValue); - return; - case JavaeePackage.RESOURCE_ENV_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (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(", 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 104da06fe..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ResourceRefImpl.java +++ /dev/null @@ -1,601 +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#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 descriptions = null; - - /** - * 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 = false; - - /** - * 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 = false; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.RESOURCE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.RESOURCE_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.RESOURCE_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RESOURCE_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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)newValue); - return; - case JavaeePackage.RESOURCE_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (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(", 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/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 e25b708a3..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/RunAsImpl.java +++ /dev/null @@ -1,278 +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 descriptions = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.RUN_AS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.RUN_AS__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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 - */ - 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 - */ - 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 - */ - 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 fb3433839..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleImpl.java +++ /dev/null @@ -1,278 +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 descriptions = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.SECURITY_ROLE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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 - */ - 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 - */ - 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 - */ - 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 f1ddc9138..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/SecurityRoleRefImpl.java +++ /dev/null @@ -1,332 +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 descriptions = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.SECURITY_ROLE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SECURITY_ROLE_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)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 - */ - 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 - */ - 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 - */ - 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 46ed03555..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainImpl.java +++ /dev/null @@ -1,386 +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 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 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 handlers = null; - - /** - * 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 - */ - 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 getProtocolBindings() { - return protocolBindings; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setProtocolBindings(List newProtocolBindings) { - List 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 getHandlers() { - if (handlers == null) { - handlers = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - 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)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__HANDLERS: - getHandlers().clear(); - getHandlers().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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 - */ - 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 3c92ac55e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerChainsImpl.java +++ /dev/null @@ -1,224 +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 handlerChains = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF_HANDLER_CHAINS; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getHandlerChains() { - if (handlerChains == null) { - handlerChains = new EObjectContainmentEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__HANDLER_CHAINS: - getHandlerChains().clear(); - getHandlerChains().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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 - */ - 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 7a3daf8a5..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefHandlerImpl.java +++ /dev/null @@ -1,552 +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.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 descriptions = null; - - /** - * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDisplayNames() - * @generated - * @ordered - */ - protected EList displayNames = null; - - /** - * 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 icons = null; - - /** - * 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 initParams = null; - - /** - * 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 soapHeaders = null; - - /** - * 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 soapRoles = null; - - /** - * 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 portNames = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF_HANDLER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList(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 getInitParams() { - if (initParams == null) { - initParams = new EObjectContainmentEList(ParamValue.class, this, JavaeePackage.SERVICE_REF_HANDLER__INIT_PARAMS); - } - return initParams; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getSoapHeaders() { - if (soapHeaders == null) { - soapHeaders = new EDataTypeEList(Object.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS); - } - return soapHeaders; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getSoapRoles() { - if (soapRoles == null) { - soapRoles = new EDataTypeEList(String.class, this, JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES); - } - return soapRoles; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getPortNames() { - if (portNames == null) { - portNames = new EDataTypeEList(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 - */ - 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 - */ - 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 - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF_HANDLER__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__ICONS: - getIcons().clear(); - getIcons().addAll((Collection)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)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_HEADERS: - getSoapHeaders().clear(); - getSoapHeaders().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__SOAP_ROLES: - getSoapRoles().clear(); - getSoapRoles().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__PORT_NAMES: - getPortNames().clear(); - getPortNames().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF_HANDLER__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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 - */ - 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 de798136e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/ServiceRefImpl.java +++ /dev/null @@ -1,854 +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.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#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 descriptions = null; - - /** - * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDisplayNames() - * @generated - * @ordered - */ - protected EList displayNames = null; - - /** - * 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 icons = null; - - /** - * 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 Object 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 Object 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 portComponentRefs = null; - - /** - * 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 handlers = null; - - /** - * 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 = null; - - /** - * 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 injectionTargets = null; - - /** - * 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 - */ - protected EClass eStaticClass() { - return JavaeePackage.Literals.SERVICE_REF; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, JavaeePackage.SERVICE_REF__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList(DisplayName.class, this, JavaeePackage.SERVICE_REF__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList(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 Object getServiceQname() { - return serviceQname; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceQname(Object newServiceQname) { - Object 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 getPortComponentRefs() { - if (portComponentRefs == null) { - portComponentRefs = new EObjectContainmentEList(PortComponentRef.class, this, JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS); - } - return portComponentRefs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List getHandlers() { - if (handlers == null) { - handlers = new EObjectContainmentEList(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 getInjectionTargets() { - if (injectionTargets == null) { - injectionTargets = new EObjectContainmentEList(InjectionTarget.class, this, JavaeePackage.SERVICE_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.SERVICE_REF__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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 - */ - 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__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JavaeePackage.SERVICE_REF__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF__ICONS: - getIcons().clear(); - getIcons().addAll((Collection)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((Object)newValue); - return; - case JavaeePackage.SERVICE_REF__PORT_COMPONENT_REFS: - getPortComponentRefs().clear(); - getPortComponentRefs().addAll((Collection)newValue); - return; - case JavaeePackage.SERVICE_REF__HANDLERS: - getHandlers().clear(); - getHandlers().addAll((Collection)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)newValue); - return; - case JavaeePackage.SERVICE_REF__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - 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__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (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(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 b56ccd1a7..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/impl/UrlPatternTypeImpl.java +++ /dev/null @@ -1,166 +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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - 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 4126e1c8e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/metadata/JavaeePackage.java +++ /dev/null @@ -1,6207 +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 --> - * - * @(#)javaee_5.xsds 1.65 06/02/17 - * - * - * - * Copyright 2003-2006 Sun Microsystems, Inc. - * 4150 Network Circle - * Santa Clara, California 95054 - * U.S.A - * All rights reserved. - * - * Sun Microsystems, Inc. has intellectual property rights - * relating to technology described in this document. In - * particular, and without limitation, these intellectual - * property rights may include one or more of the U.S. patents - * listed at http://www.sun.com/patents and one or more - * additional patents or pending patent applications in the - * U.S. and other countries. - * - * This document and the technology which it describes are - * distributed under licenses restricting their use, copying, - * distribution, and decompilation. No part of this document - * may be reproduced in any form by any means without prior - * written authorization of Sun and its licensors, if any. - * - * Third-party software, including font technology, is - * copyrighted and licensed from Sun suppliers. - * - * Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, - * JavaServer Pages, Enterprise JavaBeans and the Java Coffee - * Cup logo are trademarks or registered trademarks of Sun - * Microsystems, Inc. in the U.S. and other countries. - * - * Federal Acquisitions: Commercial Software - Government Users - * Subject to Standard License Terms and Conditions. - * - * - * - * - * The following definitions that appear in the common - * shareable schema(s) of J2EE deployment descriptors should be - * interpreted with respect to the context they are included: - * - * Deployment Component may indicate one of the following: - * j2ee 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; - * - * - * - * @(#)javaee_web_services_client_1_2.xsds 1.19 02/13/06 - * - * - * - * Copyright 2003-2006 Sun Microsystems, Inc. - * 4150 Network Circle - * Santa Clara, California 95054 - * U.S.A - * All rights reserved. - * - * Sun Microsystems, Inc. has intellectual property rights - * relating to technology described in this document. In - * particular, and without limitation, these intellectual - * property rights may include one or more of the U.S. patents - * listed at http://www.sun.com/patents and one or more - * additional patents or pending patent applications in the - * U.S. and other countries. - * - * This document and the technology which it describes are - * distributed under licenses restricting their use, copying, - * distribution, and decompilation. No part of this document - * may be reproduced in any form by any means without prior - * written authorization of Sun and its licensors, if any. - * - * Third-party software, including font technology, is - * copyrighted and licensed from Sun suppliers. - * - * Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, - * JavaServer Pages, Enterprise JavaBeans and the Java Coffee - * Cup logo are trademarks or registered trademarks of Sun - * Microsystems, Inc. in the U.S. and other countries. - * - * Federal Acquisitions: Commercial Software - Government Users - * Subject to Standard License Terms and Conditions. - * - * - * - * - * (C) Copyright International Business Machines Corporation 2002 - * - * - * - * See http://www.w3.org/XML/1998/namespace.html and - * http://www.w3.org/TR/REC-xml for information about this namespace. - * - * This schema document describes the XML namespace, in a form - * suitable for import by other schema documents. - * - * Note that local names in this namespace are intended to be defined - * only by the World Wide Web Consortium or its subgroups. The - * following names are currently defined in this namespace and should - * not be used with conflicting semantics by any Working Group, - * specification, or document instance: - * - * base (as an attribute name): denotes an attribute whose value - * provides a URI to be used as the base for interpreting any - * relative URIs in the scope of the element on which it - * appears; its value is inherited. This name is reserved - * by virtue of its definition in the XML Base specification. - * - * id (as an attribute name): denotes an attribute whose value - * should be interpreted as if declared to be of type ID. - * The xml:id specification is not yet a W3C Recommendation, - * but this attribute is included here to facilitate experimentation - * with the mechanisms it proposes. Note that it is _not_ included - * in the specialAttrs attribute group. - * - * lang (as an attribute name): denotes an attribute whose value - * is a language code for the natural language of the content of - * any element; its value is inherited. This name is reserved - * by virtue of its definition in the XML specification. - * - * space (as an attribute name): denotes an attribute whose - * value is a keyword indicating what whitespace processing - * discipline is intended for the content of the element; its - * value is inherited. This name is reserved by virtue of its - * definition in the XML specification. - * - * Father (in any context at all): denotes Jon Bosak, the chair of - * the original XML Working Group. This name is reserved by - * the following decision of the W3C XML Plenary and - * XML Coordination groups: - * - * In appreciation for his vision, leadership and dedication - * the W3C XML Plenary on this 10th day of February, 2000 - * reserves for Jon Bosak in perpetuity the XML name - * xml:Father - * - * This schema defines attributes and an attribute group - * suitable for use by - * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id - * attributes on elements they define. - * - * To enable this, such a schema must import this schema - * for the XML namespace, e.g. as follows: - * <schema . . .> - * . . . - * <import namespace="http://www.w3.org/XML/1998/namespace" - * schemaLocation="http://www.w3.org/2001/xml.xsd"/> - * - * Subsequently, qualified reference to any of the attributes - * or the group defined below will have the desired effect, e.g. - * - * <type . . .> - * . . . - * <attributeGroup ref="xml:specialAttrs"/> - * - * will define a type which will schema-validate an instance - * element with any of those attributes - * In keeping with the XML Schema WG's standard versioning - * policy, this schema document will persist at - * http://www.w3.org/2005/08/xml.xsd. - * At the date of issue it can also be found at - * http://www.w3.org/2001/xml.xsd. - * The schema document at that URI may however change in the future, - * in order to remain compatible with the latest version of XML Schema - * itself, or with the XML namespace itself. In other words, if the XML - * Schema or XML namespaces change, the version of this document at - * http://www.w3.org/2001/xml.xsd will change - * accordingly; the version at - * http://www.w3.org/2005/08/xml.xsd will not change. - * - * <!-- 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.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 = 0; - - /** - * 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 = 1; - - /** - * 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 = 2; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_LOCAL_REF__ID = 8; - - /** - * 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 = 9; - - /** - * 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 = 3; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EJB_REF__ID = 8; - - /** - * 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 = 9; - - /** - * 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 = 4; - - /** - * 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 = 5; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ENV_ENTRY__ID = 6; - - /** - * 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 = 7; - - /** - * 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 = 6; - - /** - * 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 = 7; - - /** - * 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 = 8; - - /** - * 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 = 9; - - /** - * 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 = 10; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION__ID = 5; - - /** - * 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 = 6; - - /** - * 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 = 11; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int MESSAGE_DESTINATION_REF__ID = 7; - - /** - * 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 = 8; - - /** - * 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 = 12; - - /** - * 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 = 13; - - /** - * 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 = 14; - - /** - * 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 = 15; - - /** - * 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>Port Component Link</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__PORT_COMPONENT_LINK = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PORT_COMPONENT_REF__ID = 3; - - /** - * 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 = 4; - - /** - * 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 = 16; - - /** - * 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 = 17; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_ENV_REF__ID = 5; - - /** - * 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 = 6; - - /** - * 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 = 18; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RESOURCE_REF__ID = 7; - - /** - * 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 = 8; - - /** - * 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 = 19; - - /** - * 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 = 20; - - /** - * 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 = 21; - - /** - * 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 = 22; - - /** - * 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>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SERVICE_REF__ID = 14; - - /** - * 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 = 15; - - /** - * 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 = 23; - - /** - * 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 = 24; - - /** - * 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 = 25; - - /** - * 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 = 26; - - /** - * 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.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 = 27; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.core.EnvEntryType <em>Env Entry Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType() - * @generated - */ - int ENV_ENTRY_TYPE = 28; - - /** - * 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 = 29; - - /** - * 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 = 30; - - /** - * 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 = 31; - - /** - * 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 = 32; - - /** - * 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 = 33; - - /** - * 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 = 34; - - /** - * 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 = 35; - - /** - * 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 = 36; - - /** - * The meta object id for the '<em>Env Entry Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryTypeObject() - * @generated - */ - int ENV_ENTRY_TYPE_OBJECT = 37; - - /** - * 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 = 38; - - /** - * 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 = 39; - - /** - * 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 = 40; - - /** - * 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 = 41; - - /** - * 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 = 42; - - /** - * 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 = 43; - - /** - * 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 = 44; - - /** - * 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 = 45; - - /** - * 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 = 46; - - /** - * 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 = 47; - - /** - * 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 = 48; - - /** - * 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 = 49; - - /** - * 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 = 50; - - /** - * 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 = 51; - - /** - * 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 = 52; - - /** - * 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 = 53; - - /** - * The meta object id for the '<em>Service Ref 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#getServiceRefProtocolBindingListType() - * @generated - */ - int SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE = 54; - - /** - * The meta object id for the '<em>Service Ref 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#getServiceRefProtocolBindingType() - * @generated - */ - int SERVICE_REF_PROTOCOL_BINDING_TYPE = 55; - - /** - * The meta object id for the '<em>Service Ref 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#getServiceRefProtocolURIAliasType() - * @generated - */ - int SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE = 56; - - /** - * The meta object id for the '<em>Service Ref Qname Pattern</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefQnamePattern() - * @generated - */ - int SERVICE_REF_QNAME_PATTERN = 57; - - /** - * 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 = 58; - - /** - * 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 = 59; - - - /** - * 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#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#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#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#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#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#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#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#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.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#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.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.EnvEntryType <em>Env Entry Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Env Entry Type</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @generated - */ - EEnum 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 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 org.eclipse.jst.javaee.core.EnvEntryType <em>Env Entry Type Object</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Env Entry Type Object</em>'. - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @generated - */ - EDataType getEnvEntryTypeObject(); - - /** - * 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 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 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>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.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 '{@link java.util.List <em>Service Ref Protocol Binding List Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Service Ref Protocol Binding List Type</em>'. - * @see java.util.List - * @generated - */ - EDataType getServiceRefProtocolBindingListType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Service Ref Protocol Binding Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Service Ref Protocol Binding Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getServiceRefProtocolBindingType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Service Ref Protocol URI Alias Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Service Ref Protocol URI Alias Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getServiceRefProtocolURIAliasType(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>Service Ref Qname Pattern</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>Service Ref Qname Pattern</em>'. - * @see java.lang.String - * @generated - */ - EDataType getServiceRefQnamePattern(); - - /** - * 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.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>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>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>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>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>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>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>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>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.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>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.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.EnvEntryType <em>Env Entry Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryType() - * @generated - */ - EEnum 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>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>Env Entry Type Object</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.core.EnvEntryType - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getEnvEntryTypeObject() - * @generated - */ - EDataType ENV_ENTRY_TYPE_OBJECT = eINSTANCE.getEnvEntryTypeObject(); - - /** - * 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>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>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>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>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>Service Ref 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#getServiceRefProtocolBindingListType() - * @generated - */ - EDataType SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE = eINSTANCE.getServiceRefProtocolBindingListType(); - - /** - * The meta object literal for the '<em>Service Ref 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#getServiceRefProtocolBindingType() - * @generated - */ - EDataType SERVICE_REF_PROTOCOL_BINDING_TYPE = eINSTANCE.getServiceRefProtocolBindingType(); - - /** - * The meta object literal for the '<em>Service Ref 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#getServiceRefProtocolURIAliasType() - * @generated - */ - EDataType SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE = eINSTANCE.getServiceRefProtocolURIAliasType(); - - /** - * The meta object literal for the '<em>Service Ref Qname Pattern</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.core.internal.impl.JavaeePackageImpl#getServiceRefQnamePattern() - * @generated - */ - EDataType SERVICE_REF_QNAME_PATTERN = eINSTANCE.getServiceRefQnamePattern(); - - /** - * 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 500c8dae8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JEEXMLHelperImpl.java +++ /dev/null @@ -1,36 +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); - } - - - - 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 f434b0162..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeAdapterFactory.java +++ /dev/null @@ -1,568 +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 - */ - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaeeSwitch modelSwitch = - new JavaeeSwitch() { - public Object caseDescription(Description object) { - return createDescriptionAdapter(); - } - public Object caseDisplayName(DisplayName object) { - return createDisplayNameAdapter(); - } - public Object caseEjbLocalRef(EjbLocalRef object) { - return createEjbLocalRefAdapter(); - } - public Object caseEjbRef(EjbRef object) { - return createEjbRefAdapter(); - } - public Object caseEmptyType(EmptyType object) { - return createEmptyTypeAdapter(); - } - public Object caseEnvEntry(EnvEntry object) { - return createEnvEntryAdapter(); - } - public Object caseIcon(Icon object) { - return createIconAdapter(); - } - public Object caseInjectionTarget(InjectionTarget object) { - return createInjectionTargetAdapter(); - } - public Object caseLifecycleCallback(LifecycleCallback object) { - return createLifecycleCallbackAdapter(); - } - public Object caseListener(Listener object) { - return createListenerAdapter(); - } - public Object caseMessageDestination(MessageDestination object) { - return createMessageDestinationAdapter(); - } - public Object caseMessageDestinationRef(MessageDestinationRef object) { - return createMessageDestinationRefAdapter(); - } - public Object caseParamValue(ParamValue object) { - return createParamValueAdapter(); - } - public Object casePersistenceContextRef(PersistenceContextRef object) { - return createPersistenceContextRefAdapter(); - } - public Object casePersistenceUnitRef(PersistenceUnitRef object) { - return createPersistenceUnitRefAdapter(); - } - public Object casePortComponentRef(PortComponentRef object) { - return createPortComponentRefAdapter(); - } - public Object casePropertyType(PropertyType object) { - return createPropertyTypeAdapter(); - } - public Object caseResourceEnvRef(ResourceEnvRef object) { - return createResourceEnvRefAdapter(); - } - public Object caseResourceRef(ResourceRef object) { - return createResourceRefAdapter(); - } - public Object caseRunAs(RunAs object) { - return createRunAsAdapter(); - } - public Object caseSecurityRole(SecurityRole object) { - return createSecurityRoleAdapter(); - } - public Object caseSecurityRoleRef(SecurityRoleRef object) { - return createSecurityRoleRefAdapter(); - } - public Object caseServiceRef(ServiceRef object) { - return createServiceRefAdapter(); - } - public Object caseServiceRefHandler(ServiceRefHandler object) { - return createServiceRefHandlerAdapter(); - } - public Object caseServiceRefHandlerChain(ServiceRefHandlerChain object) { - return createServiceRefHandlerChainAdapter(); - } - public Object caseServiceRefHandlerChains(ServiceRefHandlerChains object) { - return createServiceRefHandlerChainsAdapter(); - } - public Object caseUrlPatternType(UrlPatternType object) { - return createUrlPatternTypeAdapter(); - } - public Object 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 - */ - public Adapter createAdapter(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * 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.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 c7b1fcf19..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceFactoryImpl.java +++ /dev/null @@ -1,59 +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 - */ - 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 ad2beffa7..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeResourceImpl.java +++ /dev/null @@ -1,86 +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.core.resources.ResourcesPlugin; -import org.eclipse.core.runtime.Path; -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.jem.util.emf.workbench.WorkbenchResourceHelperBase; -import org.eclipse.jem.util.plugin.JEMUtilPlugin; - -/** - * <!-- 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); - } - - public void save(Map options) throws IOException { - - IFile file = getPlatformFile(); - - if (file == null || !file.exists()) return; // Only save if file existed - super.save(options); - } - - /** - * Return the IFile for the <code>uri</code> within the Workspace. This URI is assumed to be - * absolute in the following format: platform:/resource/.... - */ - private IFile getPlatformFile(URI uri) { - if (WorkbenchResourceHelperBase.isPlatformResourceURI(uri)) { - String fileString = URI.decode(uri.path()); - fileString = fileString.substring(JEMUtilPlugin.PLATFORM_RESOURCE.length() + 1); - return ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(fileString)); - } - return null; - } - - private IFile getPlatformFile() { - IFile file = null; - file = getPlatformFile(getURI()); - if (file == null) { - if (getResourceSet() != null) { - URIConverter converter = getResourceSet().getURIConverter(); - URI convertedUri = converter.normalize(uri); - if (!uri.equals(convertedUri)) - file = 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 3d3ef1974..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeSwitch.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.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 { - /** - * 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 Object doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch((EClass)eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case JavaeePackage.DESCRIPTION: { - Description description = (Description)theEObject; - Object result = caseDescription(description); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.DISPLAY_NAME: { - DisplayName displayName = (DisplayName)theEObject; - Object result = caseDisplayName(displayName); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.EJB_LOCAL_REF: { - EjbLocalRef ejbLocalRef = (EjbLocalRef)theEObject; - Object result = caseEjbLocalRef(ejbLocalRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.EJB_REF: { - EjbRef ejbRef = (EjbRef)theEObject; - Object result = caseEjbRef(ejbRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.EMPTY_TYPE: { - EmptyType emptyType = (EmptyType)theEObject; - Object result = caseEmptyType(emptyType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.ENV_ENTRY: { - EnvEntry envEntry = (EnvEntry)theEObject; - Object result = caseEnvEntry(envEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.ICON: { - Icon icon = (Icon)theEObject; - Object result = caseIcon(icon); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.INJECTION_TARGET: { - InjectionTarget injectionTarget = (InjectionTarget)theEObject; - Object result = caseInjectionTarget(injectionTarget); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.LIFECYCLE_CALLBACK: { - LifecycleCallback lifecycleCallback = (LifecycleCallback)theEObject; - Object result = caseLifecycleCallback(lifecycleCallback); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.LISTENER: { - Listener listener = (Listener)theEObject; - Object result = caseListener(listener); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.MESSAGE_DESTINATION: { - MessageDestination messageDestination = (MessageDestination)theEObject; - Object result = caseMessageDestination(messageDestination); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.MESSAGE_DESTINATION_REF: { - MessageDestinationRef messageDestinationRef = (MessageDestinationRef)theEObject; - Object result = caseMessageDestinationRef(messageDestinationRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PARAM_VALUE: { - ParamValue paramValue = (ParamValue)theEObject; - Object result = caseParamValue(paramValue); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PERSISTENCE_CONTEXT_REF: { - PersistenceContextRef persistenceContextRef = (PersistenceContextRef)theEObject; - Object result = casePersistenceContextRef(persistenceContextRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PERSISTENCE_UNIT_REF: { - PersistenceUnitRef persistenceUnitRef = (PersistenceUnitRef)theEObject; - Object result = casePersistenceUnitRef(persistenceUnitRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PORT_COMPONENT_REF: { - PortComponentRef portComponentRef = (PortComponentRef)theEObject; - Object result = casePortComponentRef(portComponentRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.PROPERTY_TYPE: { - PropertyType propertyType = (PropertyType)theEObject; - Object result = casePropertyType(propertyType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RESOURCE_ENV_REF: { - ResourceEnvRef resourceEnvRef = (ResourceEnvRef)theEObject; - Object result = caseResourceEnvRef(resourceEnvRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RESOURCE_REF: { - ResourceRef resourceRef = (ResourceRef)theEObject; - Object result = caseResourceRef(resourceRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.RUN_AS: { - RunAs runAs = (RunAs)theEObject; - Object result = caseRunAs(runAs); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SECURITY_ROLE: { - SecurityRole securityRole = (SecurityRole)theEObject; - Object result = caseSecurityRole(securityRole); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SECURITY_ROLE_REF: { - SecurityRoleRef securityRoleRef = (SecurityRoleRef)theEObject; - Object result = caseSecurityRoleRef(securityRoleRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF: { - ServiceRef serviceRef = (ServiceRef)theEObject; - Object result = caseServiceRef(serviceRef); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF_HANDLER: { - ServiceRefHandler serviceRefHandler = (ServiceRefHandler)theEObject; - Object result = caseServiceRefHandler(serviceRefHandler); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF_HANDLER_CHAIN: { - ServiceRefHandlerChain serviceRefHandlerChain = (ServiceRefHandlerChain)theEObject; - Object result = caseServiceRefHandlerChain(serviceRefHandlerChain); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.SERVICE_REF_HANDLER_CHAINS: { - ServiceRefHandlerChains serviceRefHandlerChains = (ServiceRefHandlerChains)theEObject; - Object result = caseServiceRefHandlerChains(serviceRefHandlerChains); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JavaeePackage.URL_PATTERN_TYPE: { - UrlPatternType urlPatternType = (UrlPatternType)theEObject; - Object result = caseUrlPatternType(urlPatternType); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Description</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseDescription(Description object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Display Name</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseDisplayName(DisplayName object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Ejb Local Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEjbLocalRef(EjbLocalRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Ejb Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEjbRef(EjbRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Empty Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEmptyType(EmptyType object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Env Entry</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseEnvEntry(EnvEntry object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Icon</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseIcon(Icon object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Injection Target</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseInjectionTarget(InjectionTarget object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Lifecycle Callback</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseLifecycleCallback(LifecycleCallback object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Listener</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseListener(Listener object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Message Destination</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseMessageDestination(MessageDestination object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Message Destination Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseMessageDestinationRef(MessageDestinationRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Param Value</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseParamValue(ParamValue object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Persistence Context Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object casePersistenceContextRef(PersistenceContextRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Persistence Unit Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object casePersistenceUnitRef(PersistenceUnitRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Port Component Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object casePortComponentRef(PortComponentRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Property Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object casePropertyType(PropertyType object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Resource Env Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseResourceEnvRef(ResourceEnvRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Resource Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseResourceRef(ResourceRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Run As</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseRunAs(RunAs object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Security Role</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseSecurityRole(SecurityRole object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Security Role Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseSecurityRoleRef(SecurityRoleRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Service Ref</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceRef(ServiceRef object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Service Ref Handler</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceRefHandler(ServiceRefHandler object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Service Ref Handler Chain</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceRefHandlerChain(ServiceRefHandlerChain object) { - return null; - } - - /** - * Returns the result of interpretting 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 interpretting the object as an instance of '<em>Service Ref Handler Chains</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceRefHandlerChains(ServiceRefHandlerChains object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Url Pattern Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Url Pattern Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseUrlPatternType(UrlPatternType object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public Object defaultCase(EObject object) { - return null; - } - -} //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 7c4ba96fa..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeValidator.java +++ /dev/null @@ -1,978 +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.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 - */ - protected EPackage getEPackage() { - return JavaeePackage.eINSTANCE; - } - - /** - * Calls <code>validateXXX</code> for the corresonding classifier of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map context) { - switch (classifierID) { - 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.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.EJB_REF_TYPE: - return validateEjbRefType((EjbRefType)value, diagnostics, context); - case JavaeePackage.ENV_ENTRY_TYPE: - return validateEnvEntryType((EnvEntryType)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.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_OBJECT: - return validateEnvEntryTypeObject((EnvEntryType)value, diagnostics, context); - case JavaeePackage.FULLY_QUALIFIED_CLASS_TYPE: - return validateFullyQualifiedClassType((String)value, diagnostics, context); - case JavaeePackage.HOME: - return validateHome((String)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.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.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.SERVICE_REF_PROTOCOL_BINDING_LIST_TYPE: - return validateServiceRefProtocolBindingListType((List)value, diagnostics, context); - case JavaeePackage.SERVICE_REF_PROTOCOL_BINDING_TYPE: - return validateServiceRefProtocolBindingType((String)value, diagnostics, context); - case JavaeePackage.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE: - return validateServiceRefProtocolURIAliasType((String)value, diagnostics, context); - case JavaeePackage.SERVICE_REF_QNAME_PATTERN: - return validateServiceRefQnamePattern((String)value, diagnostics, context); - case JavaeePackage.TRUE_FALSE_TYPE: - return validateTrueFalseType(((Boolean)value).booleanValue(), 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 validateDescription(Description description, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)description, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDisplayName(DisplayName displayName, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)displayName, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbLocalRef(EjbLocalRef ejbLocalRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)ejbLocalRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRef(EjbRef ejbRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)ejbRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEmptyType(EmptyType emptyType, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)emptyType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEnvEntry(EnvEntry envEntry, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)envEntry, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateIcon(Icon icon, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)icon, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateInjectionTarget(InjectionTarget injectionTarget, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)injectionTarget, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateLifecycleCallback(LifecycleCallback lifecycleCallback, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)lifecycleCallback, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateListener(Listener listener, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)listener, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestination(MessageDestination messageDestination, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)messageDestination, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationRef(MessageDestinationRef messageDestinationRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)messageDestinationRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateParamValue(ParamValue paramValue, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)paramValue, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceContextRef(PersistenceContextRef persistenceContextRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)persistenceContextRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceUnitRef(PersistenceUnitRef persistenceUnitRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)persistenceUnitRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePortComponentRef(PortComponentRef portComponentRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)portComponentRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePropertyType(PropertyType propertyType, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)propertyType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResourceEnvRef(ResourceEnvRef resourceEnvRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)resourceEnvRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResourceRef(ResourceRef resourceRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)resourceRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRunAs(RunAs runAs, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)runAs, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateSecurityRole(SecurityRole securityRole, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)securityRole, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateSecurityRoleRef(SecurityRoleRef securityRoleRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)securityRoleRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRef(ServiceRef serviceRef, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)serviceRef, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefHandler(ServiceRefHandler serviceRefHandler, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)serviceRefHandler, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefHandlerChain(ServiceRefHandlerChain serviceRefHandlerChain, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChain, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefHandlerChains(ServiceRefHandlerChains serviceRefHandlerChains, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)serviceRefHandlerChains, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateUrlPatternType(UrlPatternType urlPatternType, DiagnosticChain diagnostics, Map context) { - return validate_EveryDefaultConstraint((EObject)urlPatternType, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRefType(EjbRefType ejbRefType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEnvEntryType(EnvEntryType envEntryType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationUsageType(MessageDestinationUsageType messageDestinationUsageType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceContextType(PersistenceContextType persistenceContextType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResAuthType(ResAuthType resAuthType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResSharingScopeType(ResSharingScopeType resSharingScopeType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateDeweyVersionType(String deweyVersionType, DiagnosticChain diagnostics, Map 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]+)*") - } - }; - - /** - * 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 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 context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRefNameType(String ejbRefNameType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEjbRefTypeObject(EjbRefType ejbRefTypeObject, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateEnvEntryTypeObject(EnvEntryType envEntryTypeObject, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateFullyQualifiedClassType(String fullyQualifiedClassType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateHome(String home, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJavaIdentifier(String javaIdentifier, DiagnosticChain diagnostics, Map 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}|_|$)*") - } - }; - - /** - * 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 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 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}]*") - } - }; - - /** - * 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 context) { - return validatePattern(JavaeePackage.Literals.JAVA_TYPE, javaType, JAVA_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateJNDIName(String jndiName, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateLocal(String local, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateLocalHome(String localHome, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationLink(String messageDestinationLink, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationTypeType(String messageDestinationTypeType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateMessageDestinationUsageTypeObject(MessageDestinationUsageType messageDestinationUsageTypeObject, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePathType(String pathType, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validatePersistenceContextTypeObject(PersistenceContextType persistenceContextTypeObject, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRemote(String remote, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResAuthTypeObject(ResAuthType resAuthTypeObject, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateResSharingScopeTypeObject(ResSharingScopeType resSharingScopeTypeObject, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateRoleName(String roleName, DiagnosticChain diagnostics, Map context) { - return true; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefProtocolBindingListType(List serviceRefProtocolBindingListType, DiagnosticChain diagnostics, Map context) { - boolean result = validateServiceRefProtocolBindingListType_ItemType(serviceRefProtocolBindingListType, diagnostics, context); - return result; - } - - /** - * Validates the ItemType constraint of '<em>Service Ref Protocol Binding List Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefProtocolBindingListType_ItemType(List serviceRefProtocolBindingListType, DiagnosticChain diagnostics, Map context) { - boolean result = true; - for (Iterator i = serviceRefProtocolBindingListType.iterator(); i.hasNext() && (result || diagnostics != null); ) { - Object item = i.next(); - if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE.isInstance(item)) { - result &= validateServiceRefProtocolBindingType((String)item, diagnostics, context); - } - else { - result = false; - reportDataValueTypeViolation(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_BINDING_TYPE, item, diagnostics, context); - } - } - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefProtocolBindingType(String serviceRefProtocolBindingType, DiagnosticChain diagnostics, Map context) { - boolean result = validateServiceRefProtocolBindingType_MemberTypes(serviceRefProtocolBindingType, diagnostics, context); - return result; - } - - /** - * Validates the MemberTypes constraint of '<em>Service Ref Protocol Binding Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefProtocolBindingType_MemberTypes(String serviceRefProtocolBindingType, DiagnosticChain diagnostics, Map context) { - if (diagnostics != null) { - BasicDiagnostic tempDiagnostics = new BasicDiagnostic(); - if (XMLTypePackage.Literals.ANY_URI.isInstance(serviceRefProtocolBindingType)) { - if (xmlTypeValidator.validateAnyURI((String)serviceRefProtocolBindingType, tempDiagnostics, context)) return true; - } - if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE.isInstance(serviceRefProtocolBindingType)) { - if (validateServiceRefProtocolURIAliasType((String)serviceRefProtocolBindingType, tempDiagnostics, context)) return true; - } - List children = tempDiagnostics.getChildren(); - for (int i = 0; i < children.size(); i++) { - diagnostics.add((Diagnostic)children.get(i)); - } - } - else { - if (XMLTypePackage.Literals.ANY_URI.isInstance(serviceRefProtocolBindingType)) { - if (xmlTypeValidator.validateAnyURI((String)serviceRefProtocolBindingType, null, context)) return true; - } - if (JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE.isInstance(serviceRefProtocolBindingType)) { - if (validateServiceRefProtocolURIAliasType((String)serviceRefProtocolBindingType, null, context)) return true; - } - } - return false; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefProtocolURIAliasType(String serviceRefProtocolURIAliasType, DiagnosticChain diagnostics, Map context) { - boolean result = validateServiceRefProtocolURIAliasType_Pattern(serviceRefProtocolURIAliasType, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateServiceRefProtocolURIAliasType_Pattern - */ - public static final PatternMatcher [][] SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("##.+") - } - }; - - /** - * Validates the Pattern constraint of '<em>Service Ref Protocol URI Alias Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefProtocolURIAliasType_Pattern(String serviceRefProtocolURIAliasType, DiagnosticChain diagnostics, Map context) { - return validatePattern(JavaeePackage.Literals.SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE, serviceRefProtocolURIAliasType, SERVICE_REF_PROTOCOL_URI_ALIAS_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefQnamePattern(String serviceRefQnamePattern, DiagnosticChain diagnostics, Map context) { - boolean result = validateServiceRefQnamePattern_Pattern(serviceRefQnamePattern, diagnostics, context); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @see #validateServiceRefQnamePattern_Pattern - */ - public static final PatternMatcher [][] SERVICE_REF_QNAME_PATTERN__PATTERN__VALUES = - new PatternMatcher [][] { - new PatternMatcher [] { - XMLTypeUtil.createPatternMatcher("\\*|([\\i-[:]][\\c-[:]]*:)?[\\i-[:]][\\c-[:]]*\\*?") - } - }; - - /** - * Validates the Pattern constraint of '<em>Service Ref Qname Pattern</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateServiceRefQnamePattern_Pattern(String serviceRefQnamePattern, DiagnosticChain diagnostics, Map context) { - return validatePattern(JavaeePackage.Literals.SERVICE_REF_QNAME_PATTERN, serviceRefQnamePattern, SERVICE_REF_QNAME_PATTERN__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateTrueFalseType(boolean trueFalseType, DiagnosticChain diagnostics, Map 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)") - } - }; - - /** - * 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 context) { - return validatePattern(JavaeePackage.Literals.TRUE_FALSE_TYPE, new Boolean(trueFalseType), TRUE_FALSE_TYPE__PATTERN__VALUES, diagnostics, context); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean validateTrueFalseTypeObject(Boolean trueFalseTypeObject, DiagnosticChain diagnostics, Map context) { - boolean result = validateTrueFalseType_Pattern(trueFalseTypeObject.booleanValue(), diagnostics, context); - return result; - } - -} //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 ce887ca74..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaeeXMLProcessor.java +++ /dev/null @@ -1,54 +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.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 - */ - protected Map getRegistrations() { - if (registrations == null) { - super.getRegistrations(); - registrations.put(XML_EXTENSION, new JavaeeResourceFactoryImpl()); - registrations.put(STAR_EXTENSION, new JavaeeResourceFactoryImpl()); - } - return registrations; - } - -} //JavaeeXMLProcessor |