blob: ebb3b29874649a670ccabb4f28d313d58ede3f74 [file] [log] [blame]
/**
* *******************************************************************************
* 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.nousages.cdo.impl;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.gmt.modisco.java.ClassDeclaration;
import org.eclipse.gmt.modisco.java.ImportDeclaration;
import org.eclipse.gmt.modisco.java.TypeAccess;
import org.eclipse.gmt.modisco.java.nousages.cdo.meta.JavaPackage;
/**
* <!-- begin-user-doc --> An implementation of the model object '
* <em><b>Class Declaration</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.gmt.modisco.java.nousages.cdo.impl.ClassDeclarationImpl#getSuperClass <em>Super Class</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ClassDeclarationImpl extends TypeDeclarationImpl implements
ClassDeclaration {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected ClassDeclarationImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return JavaPackage.eINSTANCE.getClassDeclaration();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public TypeAccess getSuperClass() {
return (TypeAccess)eGet(JavaPackage.eINSTANCE.getClassDeclaration_SuperClass(), true);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public void setSuperClass(TypeAccess newSuperClass) {
eSet(JavaPackage.eINSTANCE.getClassDeclaration_SuperClass(), newSuperClass);
}
public EList<ImportDeclaration> getUsagesInImports() {
// no usages references
return null;
}
public EList<TypeAccess> getUsagesInTypeAccess() {
// no usages references
return null;
}
} // ClassDeclarationImpl