blob: 713081aba4c241a9c83195805ce7f21e0d22027f [file] [log] [blame]
/**
* <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 v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.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.emf.common.util.EList;
import org.eclipse.ocl.pivot.OCLExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Try Exp</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.qvto.examples.pivot.imperativeocl.TryExp#getExceptClause <em>Except Clause</em>}</li>
* <li>{@link org.eclipse.qvto.examples.pivot.imperativeocl.TryExp#getTryBody <em>Try Body</em>}</li>
* </ul>
*
* @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getTryExp()
* @model
* @generated
*/
public interface TryExp extends ImperativeExpression {
/**
* Returns the value of the '<em><b>Except Clause</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvto.examples.pivot.imperativeocl.CatchExp}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Except Clause</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>Except Clause</em>' containment reference list.
* @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getTryExp_ExceptClause()
* @model containment="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='exceptOwner'"
* @generated
*/
EList<CatchExp> getExceptClause();
/**
* Returns the value of the '<em><b>Try Body</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.ocl.pivot.OCLExpression}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Try Body</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>Try Body</em>' containment reference list.
* @see org.eclipse.qvto.examples.pivot.imperativeocl.ImperativeOCLPackage#getTryExp_TryBody()
* @model containment="true"
* annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='tryBodyOwner'"
* @generated
*/
EList<OCLExpression> getTryBody();
} // TryExp