Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigImpl.java')
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigImpl.java191
1 files changed, 0 insertions, 191 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigImpl.java
deleted file mode 100644
index 1f8264854..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/internal/ejb/impl/ActivationConfigImpl.java
+++ /dev/null
@@ -1,191 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.internal.ejb.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-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.j2ee.common.Description;
-import org.eclipse.jst.j2ee.ejb.ActivationConfig;
-import org.eclipse.jst.j2ee.ejb.ActivationConfigProperty;
-import org.eclipse.jst.j2ee.internal.ejb.EjbPackage;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Activation Config</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.jst.j2ee.internal.ejb.impl.ActivationConfigImpl#getConfigProperties <em>Config Properties</em>}</li>
- * <li>{@link org.eclipse.jst.j2ee.internal.ejb.impl.ActivationConfigImpl#getDescriptions <em>Descriptions</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ActivationConfigImpl extends EObjectImpl implements ActivationConfig {
- /**
- * The cached value of the '{@link #getConfigProperties() <em>Config Properties</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConfigProperties()
- * @generated
- * @ordered
- */
- protected EList configProperties = null;
-
- /**
- * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescriptions()
- * @generated
- * @ordered
- */
- protected EList descriptions = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ActivationConfigImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EClass eStaticClass() {
- return EjbPackage.eINSTANCE.getActivationConfig();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getConfigProperties() {
- if (configProperties == null) {
- configProperties = new EObjectContainmentEList(ActivationConfigProperty.class, this, EjbPackage.ACTIVATION_CONFIG__CONFIG_PROPERTIES);
- }
- return configProperties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList getDescriptions() {
- if (descriptions == null) {
- descriptions = new EObjectContainmentEList(Description.class, this, EjbPackage.ACTIVATION_CONFIG__DESCRIPTIONS);
- }
- return descriptions;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case EjbPackage.ACTIVATION_CONFIG__CONFIG_PROPERTIES:
- return ((InternalEList)getConfigProperties()).basicRemove(otherEnd, msgs);
- case EjbPackage.ACTIVATION_CONFIG__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case EjbPackage.ACTIVATION_CONFIG__CONFIG_PROPERTIES:
- return getConfigProperties();
- case EjbPackage.ACTIVATION_CONFIG__DESCRIPTIONS:
- return getDescriptions();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case EjbPackage.ACTIVATION_CONFIG__CONFIG_PROPERTIES:
- getConfigProperties().clear();
- getConfigProperties().addAll((Collection)newValue);
- return;
- case EjbPackage.ACTIVATION_CONFIG__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case EjbPackage.ACTIVATION_CONFIG__CONFIG_PROPERTIES:
- getConfigProperties().clear();
- return;
- case EjbPackage.ACTIVATION_CONFIG__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case EjbPackage.ACTIVATION_CONFIG__CONFIG_PROPERTIES:
- return configProperties != null && !configProperties.isEmpty();
- case EjbPackage.ACTIVATION_CONFIG__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- }
- return eDynamicIsSet(eFeature);
- }
-
-} //ActivationConfigImpl

Back to the top