| /** | |
| * ******************************************************************************* | |
| * Copyright (c) 2009 Mia-Software. | |
| * 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: | |
| * | |
| * Fabien Giquel (Mia-Software) - initial API and implementation | |
| * Gregoire DUPE (Mia-Software) - initial API and implementation | |
| * ******************************************************************************* | |
| * | |
| * $Id$ | |
| */ | |
| package org.eclipse.gmt.modisco.java.cdo.impl; | |
| import org.eclipse.emf.ecore.EClass; | |
| import org.eclipse.gmt.modisco.java.SingleVariableAccess; | |
| import org.eclipse.gmt.modisco.java.SuperFieldAccess; | |
| import org.eclipse.gmt.modisco.java.cdo.meta.JavaPackage; | |
| /** | |
| * <!-- begin-user-doc --> | |
| * An implementation of the model object '<em><b>Super Field Access</b></em>'. | |
| * <!-- end-user-doc --> | |
| * <p> | |
| * The following features are implemented: | |
| * <ul> | |
| * <li>{@link org.eclipse.gmt.modisco.java.cdo.impl.SuperFieldAccessImpl#getField <em>Field</em>}</li> | |
| * </ul> | |
| * </p> | |
| * | |
| * @generated | |
| */ | |
| public class SuperFieldAccessImpl extends AbstractTypeQualifiedExpressionImpl implements SuperFieldAccess { | |
| /** | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| protected SuperFieldAccessImpl() { | |
| super(); | |
| } | |
| /** | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| @Override | |
| protected EClass eStaticClass() { | |
| return JavaPackage.eINSTANCE.getSuperFieldAccess(); | |
| } | |
| /** | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| public SingleVariableAccess getField() { | |
| return (SingleVariableAccess)eGet(JavaPackage.eINSTANCE.getSuperFieldAccess_Field(), true); | |
| } | |
| /** | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| public void setField(SingleVariableAccess newField) { | |
| eSet(JavaPackage.eINSTANCE.getSuperFieldAccess_Field(), newField); | |
| } | |
| } //SuperFieldAccessImpl |