1 /**2 * <copyright>3 *4 * Copyright (c) 2002-2004 IBM Corporation and others.5 * All rights reserved. This program and the accompanying materials6 * are made available under the terms of the Eclipse Public License v1.07 * which accompanies this distribution, and is available at8 * http://www.eclipse.org/legal/epl-v10.html9 * 10 * Contributors: 11 * IBM - Initial API and implementation12 *13 * </copyright>14 *15 * $Id: EModelElement.java,v 1.3 2005/06/08 06:20:10 nickb Exp $16 */17 package org.eclipse.emf.ecore;18 19 20 import org.eclipse.emf.common.util.EList;21 22 23 /**24 * <!-- begin-user-doc -->25 * A representation of the model object '<em><b>EModel Element</b></em>'.26 * <!-- end-user-doc -->27 *28 * <p>29 * The following features are supported:30 * <ul>31 * <li>{@link org.eclipse.emf.ecore.EModelElement#getEAnnotations <em>EAnnotations</em>}</li>32 * </ul>33 * </p>34 *35 * @see org.eclipse.emf.ecore.EcorePackage#getEModelElement()36 * @model abstract="true"37 * @generated38 */39 public interface EModelElement extends EObject40 {41 /**42 * Returns the value of the '<em><b>EAnnotations</b></em>' containment reference list.43 * The list contents are of type {@link org.eclipse.emf.ecore.EAnnotation}.44 * It is bidirectional and its opposite is '{@link org.eclipse.emf.ecore.EAnnotation#getEModelElement <em>EModel Element</em>}'.45 * <!-- begin-user-doc -->46 * It represents additional associated information47 * @see #getEAnnotation(String)48 * @ignore49 * <!-- end-user-doc -->50 * @return the value of the '<em>EAnnotations</em>' containment reference list.51 * @see org.eclipse.emf.ecore.EcorePackage#getEModelElement_EAnnotations()52 * @see org.eclipse.emf.ecore.EAnnotation#getEModelElement53 * @model type="org.eclipse.emf.ecore.EAnnotation" opposite="eModelElement" containment="true"54 * @generated55 */56 EList getEAnnotations();57 58 /**59 * <!-- begin-user-doc -->60 * Return the annotation with a matching {@link org.eclipse.emf.ecore.EAnnotation#getSource() source} attribute.61 * @return The annotation with a matching source attribute.62 * @see #getEAnnotations()63 * @see org.eclipse.emf.ecore.EAnnotation#getSource()64 * @ignore65 * <!-- end-user-doc -->66 * @model67 * @generated68 */69 EAnnotation getEAnnotation(String source);70 71 }72