/** * <copyright> * Copyright (c) 2008 Open Canarias and others. * 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: * A. Sanchez-Barbudo - initial API and implementation * * </copyright> * * $Id: ImperativeOperation.java,v 1.3 2009/01/25 23:12:24 radvorak Exp $ */ package org.eclipse.m2m.qvt.oml.ecore.QVTOperational; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EOperation; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Imperative Operation</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getBody <em>Body</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getContext <em>Context</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#isIsBlackbox <em>Is Blackbox</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getOverridden <em>Overridden</em>}</li> * <li>{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getResult <em>Result</em>}</li> * </ul> * </p> * * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getImperativeOperation() * @model * @generated */ public interface ImperativeOperation extends EOperation { /** * Returns the value of the '<em><b>Body</b></em>' containment reference. * It is bidirectional and its opposite is '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.OperationBody#getOperation <em>Operation</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Body</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Body</em>' containment reference. * @see #setBody(OperationBody) * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getImperativeOperation_Body() * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.OperationBody#getOperation * @model opposite="operation" containment="true" * @generated */ OperationBody getBody(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getBody <em>Body</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Body</em>' containment reference. * @see #getBody() * @generated */ void setBody(OperationBody value); /** * Returns the value of the '<em><b>Context</b></em>' containment reference. * It is bidirectional and its opposite is '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.VarParameter#getCtxOwner <em>Ctx Owner</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Context</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Context</em>' containment reference. * @see #setContext(VarParameter) * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getImperativeOperation_Context() * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.VarParameter#getCtxOwner * @model opposite="ctxOwner" containment="true" * @generated */ VarParameter getContext(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getContext <em>Context</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Context</em>' containment reference. * @see #getContext() * @generated */ void setContext(VarParameter value); /** * Returns the value of the '<em><b>Is Blackbox</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Is Blackbox</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Is Blackbox</em>' attribute. * @see #isSetIsBlackbox() * @see #unsetIsBlackbox() * @see #setIsBlackbox(boolean) * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getImperativeOperation_IsBlackbox() * @model unsettable="true" * @generated */ boolean isIsBlackbox(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#isIsBlackbox <em>Is Blackbox</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Is Blackbox</em>' attribute. * @see #isSetIsBlackbox() * @see #unsetIsBlackbox() * @see #isIsBlackbox() * @generated */ void setIsBlackbox(boolean value); /** * Unsets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#isIsBlackbox <em>Is Blackbox</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetIsBlackbox() * @see #isIsBlackbox() * @see #setIsBlackbox(boolean) * @generated */ void unsetIsBlackbox(); /** * Returns whether the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#isIsBlackbox <em>Is Blackbox</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Is Blackbox</em>' attribute is set. * @see #unsetIsBlackbox() * @see #isIsBlackbox() * @see #setIsBlackbox(boolean) * @generated */ boolean isSetIsBlackbox(); /** * Returns the value of the '<em><b>Overridden</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Overridden</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Overridden</em>' reference. * @see #setOverridden(ImperativeOperation) * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getImperativeOperation_Overridden() * @model annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='overriding'" * @generated */ ImperativeOperation getOverridden(); /** * Sets the value of the '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.ImperativeOperation#getOverridden <em>Overridden</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Overridden</em>' reference. * @see #getOverridden() * @generated */ void setOverridden(ImperativeOperation value); /** * Returns the value of the '<em><b>Result</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.VarParameter}. * It is bidirectional and its opposite is '{@link org.eclipse.m2m.qvt.oml.ecore.QVTOperational.VarParameter#getResOwner <em>Res Owner</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Result</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Result</em>' containment reference list. * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.QVTOperationalPackage#getImperativeOperation_Result() * @see org.eclipse.m2m.qvt.oml.ecore.QVTOperational.VarParameter#getResOwner * @model opposite="resOwner" containment="true" * @generated */ EList<VarParameter> getResult(); } // ImperativeOperation