/******************************************************************************* * Copyright (c) 2010 Martin Schnabel <mb0@mb0.org>. * 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 ******************************************************************************/ package org.axdt.asdoc.model.impl; import org.axdt.asdoc.AsdocEPackage; import org.axdt.asdoc.model.AsdocElement; import org.axdt.asdoc.model.AsdocRoot; import org.axdt.avm.model.impl.AvmElementImpl; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Doc Element</b></em>'. * <!-- end-user-doc --> * <p> * </p> * * @generated */ public abstract class AsdocElementImpl extends AvmElementImpl implements AsdocElement { /** * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ protected int flags = 0; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected AsdocElementImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return AsdocEPackage.Literals.ASDOC_ELEMENT; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public abstract String getFullUri(); /** * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public AsdocRoot getRoot() { if (eContainer instanceof AsdocElement) return ((AsdocElement) eContainer).getRoot(); return null; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public abstract String getName(); } //AsdocElementImpl