/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.gmt.modisco.java.emffrag.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.gmt.modisco.java.MemberRef;
import org.eclipse.gmt.modisco.java.NamedElement;
import org.eclipse.gmt.modisco.java.TypeAccess;
import org.eclipse.gmt.modisco.java.emffrag.metadata.JavaPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Member Ref</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.MemberRefImpl#getMember <em>Member</em>}</li>
* <li>{@link org.eclipse.gmt.modisco.java.emffrag.impl.MemberRefImpl#getQualifier <em>Qualifier</em>}</li>
* </ul>
*
* @generated
*/
public class MemberRefImpl extends ASTNodeImpl implements MemberRef {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected MemberRefImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return JavaPackage.eINSTANCE.getMemberRef();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NamedElement getMember() {
return (NamedElement)eGet(JavaPackage.eINSTANCE.getMemberRef_Member(), true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setMember(NamedElement newMember) {
eSet(JavaPackage.eINSTANCE.getMemberRef_Member(), newMember);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TypeAccess getQualifier() {
return (TypeAccess)eGet(JavaPackage.eINSTANCE.getMemberRef_Qualifier(), true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setQualifier(TypeAccess newQualifier) {
eSet(JavaPackage.eINSTANCE.getMemberRef_Qualifier(), newQualifier);
}
} //MemberRefImpl