/******************************************************************************* * Copyright (c) 2010, 2011 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ package org.eclipse.mylyn.docs.intent.markup.markup.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.internal.cdo.CDOObjectImpl; import org.eclipse.mylyn.docs.intent.markup.markup.Annotations; import org.eclipse.mylyn.docs.intent.markup.markup.HasAttributes; import org.eclipse.mylyn.docs.intent.markup.markup.MarkupPackage; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Has Attributes</b></em>'. * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> * <li>{@link org.eclipse.mylyn.docs.intent.markup.markup.impl.HasAttributesImpl#getAttributes <em>Attributes</em>}</li> * </ul> * </p> * * @generated */ public abstract class HasAttributesImpl extends CDOObjectImpl implements HasAttributes { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected HasAttributesImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return MarkupPackage.Literals.HAS_ATTRIBUTES; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Annotations getAttributes() { return (Annotations)eGet(MarkupPackage.Literals.HAS_ATTRIBUTES__ATTRIBUTES, true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setAttributes(Annotations newAttributes) { eSet(MarkupPackage.Literals.HAS_ATTRIBUTES__ATTRIBUTES, newAttributes); } } //HasAttributesImpl