blob: 5cebc68156a6dcd7dc1249e3afddf04ee211be8a [file] [log] [blame]
/**
* <copyright>
* Copyright (c) 2008 Open Canarias S.L. 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: CatchExp.java,v 1.2 2009/01/25 23:10:43 radvorak Exp $
*/
package org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.ocl.ecore.OCLExpression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Catch Exp</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.CatchExp#getBody <em>Body</em>}</li>
* <li>{@link org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.CatchExp#getException <em>Exception</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getCatchExp()
* @model
* @generated
*/
public interface CatchExp extends ImperativeExpression {
/**
* Returns the value of the '<em><b>Body</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.ocl.ecore.OCLExpression}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Body</em>' containment reference list.
* @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getCatchExp_Body()
* @model containment="true"
* @generated
*/
EList<OCLExpression> getBody();
/**
* Returns the value of the '<em><b>Exception</b></em>' reference list.
* The list contents are of type {@link org.eclipse.emf.ecore.EClassifier}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Exception</em>' reference list 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 list.
* @see org.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.ImperativeOCLPackage#getCatchExp_Exception()
* @model annotation="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName body='tryExpression'"
* @generated
*/
EList<EClassifier> getException();
} // CatchExp