| /* |
| * Copyright (c) 2009, 2011-2013, 2015 Eike Stepper (Berlin, Germany) 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: |
| * Eike Stepper - initial API and implementation |
| */ |
| package org.eclipse.emf.cdo.tests.model2.impl; |
| |
| import org.eclipse.emf.cdo.tests.model2.Model2Package; |
| import org.eclipse.emf.cdo.tests.model2.PersistentContainment; |
| import org.eclipse.emf.cdo.tests.model2.TransientContainer; |
| |
| import org.eclipse.emf.internal.cdo.CDOObjectImpl; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| /** |
| * <!-- begin-user-doc --> An implementation of the model object '<em><b>Transient Container</b></em>'. <!-- |
| * end-user-doc --> |
| * <p> |
| * The following features are implemented: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getAttrBefore <em>Attr Before</em>}</li> |
| * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getParent <em>Parent</em>}</li> |
| * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getAttrAfter <em>Attr After</em>}</li> |
| * </ul> |
| * |
| * @generated |
| */ |
| public class TransientContainerImpl extends CDOObjectImpl implements TransientContainer |
| { |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| protected TransientContainerImpl() |
| { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EClass eStaticClass() |
| { |
| return Model2Package.eINSTANCE.getTransientContainer(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected int eStaticFeatureCount() |
| { |
| return 0; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getAttrBefore() |
| { |
| return (String)eGet(Model2Package.eINSTANCE.getTransientContainer_AttrBefore(), true); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setAttrBefore(String newAttrBefore) |
| { |
| eSet(Model2Package.eINSTANCE.getTransientContainer_AttrBefore(), newAttrBefore); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| public PersistentContainment getParent() |
| { |
| return (PersistentContainment)eGet(Model2Package.eINSTANCE.getTransientContainer_Parent(), true); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setParent(PersistentContainment newParent) |
| { |
| eSet(Model2Package.eINSTANCE.getTransientContainer_Parent(), newParent); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getAttrAfter() |
| { |
| return (String)eGet(Model2Package.eINSTANCE.getTransientContainer_AttrAfter(), true); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setAttrAfter(String newAttrAfter) |
| { |
| eSet(Model2Package.eINSTANCE.getTransientContainer_AttrAfter(), newAttrAfter); |
| } |
| |
| } // TransientContainerImpl |