/** * <copyright> * Copyright (c) 2013 Willink Transformations, University of York, 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: * E.D.Willink - Initial API and implementation * Adolfo Sanchez-Barbudo (University of York) - Bug397429 * </copyright> */ package org.eclipse.qvto.examples.pivot.imperativeocl; import org.eclipse.ocl.pivot.OCLExpression; import org.eclipse.ocl.pivot.Type; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Raise Exp</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.qvto.examples.pivot.imperativeocl.RaiseExp#getArgument <em>Argument</em>}</li> * <li>{@link org.eclipse.qvto.examples.pivot.imperativeocl.RaiseExp#getException <em>Exception</em>}</li> * </ul> * * @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getRaiseExp() * @model * @generated */ public interface RaiseExp extends ImperativeExpression { /** * Returns the value of the '<em><b>Argument</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Argument</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>Argument</em>' containment reference. * @see #setArgument(OCLExpression) * @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getRaiseExp_Argument() * @model containment="true" * @generated */ OCLExpression getArgument(); /** * Sets the value of the '{@link org.eclipse.qvto.examples.pivot.imperativeocl.RaiseExp#getArgument <em>Argument</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Argument</em>' containment reference. * @see #getArgument() * @generated */ void setArgument(OCLExpression value); /** * Returns the value of the '<em><b>Exception</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Exception</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Exception</em>' reference. * @see #setException(Type) * @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getRaiseExp_Exception() * @model required="true" * annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='raiseExpression'" * @generated */ Type getException(); /** * Sets the value of the '{@link org.eclipse.qvto.examples.pivot.imperativeocl.RaiseExp#getException <em>Exception</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Exception</em>' reference. * @see #getException() * @generated */ void setException(Type value); } // RaiseExp