jtl-eclipse-master/JTL.emftext.JTL/src/JTL/imperativeocl/TryExp.java
/**
 */
package JTL.imperativeocl;

import JTL.emof.Type;

import JTL.essentialocl.OclExpression;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- 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 JTL.imperativeocl.TryExp#getTryBody <em>Try Body</em>}</li>
 *   <li>{@link JTL.imperativeocl.TryExp#getException <em>Exception</em>}</li>
 *   <li>{@link JTL.imperativeocl.TryExp#getExceptBody <em>Except Body</em>}</li>
 * </ul>
 *
 * @see JTL.imperativeocl.ImperativeoclPackage#getTryExp()
 * @model
 * @generated
 */
public interface TryExp extends ImperativeExpression {
	/**
	 * Returns the value of the '<em><b>Try Body</b></em>' containment reference.
	 * It is bidirectional and its opposite is '{@link JTL.essentialocl.OclExpression#getTryBodyOwner <em>Try Body Owner</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Try 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>Try Body</em>' containment reference.
	 * @see #setTryBody(OclExpression)
	 * @see JTL.imperativeocl.ImperativeoclPackage#getTryExp_TryBody()
	 * @see JTL.essentialocl.OclExpression#getTryBodyOwner
	 * @model opposite="tryBodyOwner" containment="true" required="true" ordered="false"
	 * @generated
	 */
	OclExpression getTryBody();

	/**
	 * Sets the value of the '{@link JTL.imperativeocl.TryExp#getTryBody <em>Try Body</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Try Body</em>' containment reference.
	 * @see #getTryBody()
	 * @generated
	 */
	void setTryBody(OclExpression value);

	/**
	 * Returns the value of the '<em><b>Exception</b></em>' reference list.
	 * The list contents are of type {@link JTL.emof.Type}.
	 * <!-- 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 JTL.imperativeocl.ImperativeoclPackage#getTryExp_Exception()
	 * @model
	 * @generated
	 */
	EList<Type> getException();

	/**
	 * Returns the value of the '<em><b>Except Body</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Except 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>Except Body</em>' containment reference.
	 * @see #setExceptBody(OclExpression)
	 * @see JTL.imperativeocl.ImperativeoclPackage#getTryExp_ExceptBody()
	 * @model containment="true" ordered="false"
	 * @generated
	 */
	OclExpression getExceptBody();

	/**
	 * Sets the value of the '{@link JTL.imperativeocl.TryExp#getExceptBody <em>Except Body</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Except Body</em>' containment reference.
	 * @see #getExceptBody()
	 * @generated
	 */
	void setExceptBody(OclExpression value);

} // TryExp
