1 /** 2 * <copyright> 3 * 4 * Copyright (c) 2002-2004 IBM Corporation and others. 5 * All rights reserved. This program and the accompanying materials 6 * are made available under the terms of the Eclipse Public License v1.0 7 * which accompanies this distribution, and is available at 8 * http://www.eclipse.org/legal/epl-v10.html 9 * 10 * Contributors: 11 * IBM - Initial API and implementation 12 * 13 * </copyright> 14 * 15 * $Id: EOperation.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>EOperation</b></em>'. 26 * <!-- end-user-doc --> 27 * 28 * <p> 29 * The following features are supported: 30 * <ul> 31 * <li>{@link org.eclipse.emf.ecore.EOperation#getEContainingClass <em>EContaining Class</em>}</li> 32 * <li>{@link org.eclipse.emf.ecore.EOperation#getEParameters <em>EParameters</em>}</li> 33 * <li>{@link org.eclipse.emf.ecore.EOperation#getEExceptions <em>EExceptions</em>}</li> 34 * </ul> 35 * </p> 36 * 37 * @see org.eclipse.emf.ecore.EcorePackage#getEOperation() 38 * @model 39 * @generated 40 */ 41 public interface EOperation extends ETypedElement 42 { 43 /** 44 * Returns the value of the '<em><b>EContaining Class</b></em>' container reference. 45 * It is bidirectional and its opposite is '{@link org.eclipse.emf.ecore.EClass#getEOperations <em>EOperations</em>}'. 46 * <!-- begin-user-doc --> 47 * <p> 48 * It represents a method in the Java sense. 49 * </p> 50 * <!-- end-user-doc --> 51 * @return the value of the '<em>EContaining Class</em>' container reference. 52 * @see org.eclipse.emf.ecore.EcorePackage#getEOperation_EContainingClass() 53 * @see org.eclipse.emf.ecore.EClass#getEOperations 54 * @model opposite="eOperations" changeable="false" 55 * @generated 56 */ 57 EClass getEContainingClass(); 58 59 /** 60 * Returns the value of the '<em><b>EParameters</b></em>' containment reference list. 61 * The list contents are of type {@link org.eclipse.emf.ecore.EParameter}. 62 * It is bidirectional and its opposite is '{@link org.eclipse.emf.ecore.EParameter#getEOperation <em>EOperation</em>}'. 63 * <!-- begin-user-doc --> 64 * <p> 65 * It represents the valid arguments for this operation. 66 * </p> 67 * <!-- end-user-doc --> 68 * @return the value of the '<em>EParameters</em>' containment reference list. 69 * @see org.eclipse.emf.ecore.EcorePackage#getEOperation_EParameters() 70 * @see org.eclipse.emf.ecore.EParameter#getEOperation 71 * @model type="org.eclipse.emf.ecore.EParameter" opposite="eOperation" containment="true" 72 * @generated 73 */ 74 EList getEParameters(); 75 76 /** 77 * Returns the value of the '<em><b>EExceptions</b></em>' reference list. 78 * The list contents are of type {@link org.eclipse.emf.ecore.EClassifier}. 79 * <!-- begin-user-doc --> 80 * <p> 81 * It represents the exceptions thrown by this operation. 82 * </p> 83 * <!-- end-user-doc --> 84 * @return the value of the '<em>EExceptions</em>' reference list. 85 * @see org.eclipse.emf.ecore.EcorePackage#getEOperation_EExceptions() 86 * @model type="org.eclipse.emf.ecore.EClassifier" 87 * @generated 88 */ 89 EList getEExceptions(); 90 91 } //EOperation 92