| /* |
| * Copyright (c) 2003, 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM - Initial API and implementation |
| * |
| * $Id: ExceptionHandler.java,v 1.3 2004/05/11 15:24:00 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Exception Handler</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.ExceptionHandler#getProtectedNode <em>Protected Node</em>}</li> |
| * <li>{@link org.eclipse.uml2.ExceptionHandler#getHandlerBody <em>Handler Body</em>}</li> |
| * <li>{@link org.eclipse.uml2.ExceptionHandler#getExceptionInput <em>Exception Input</em>}</li> |
| * <li>{@link org.eclipse.uml2.ExceptionHandler#getExceptionTypes <em>Exception Type</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getExceptionHandler() |
| * @model |
| * @generated |
| */ |
| public interface ExceptionHandler extends Element{ |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$ |
| |
| /** |
| * Returns the value of the '<em><b>Protected Node</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.ExecutableNode#getHandlers <em>Handler</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Protected Node</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Protected Node</em>' container reference. |
| * @see #setProtectedNode(ExecutableNode) |
| * @see org.eclipse.uml2.UML2Package#getExceptionHandler_ProtectedNode() |
| * @see org.eclipse.uml2.ExecutableNode#getHandlers |
| * @model opposite="handler" required="true" |
| * @generated |
| */ |
| ExecutableNode getProtectedNode(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ExceptionHandler#getProtectedNode <em>Protected Node</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Protected Node</em>' container reference. |
| * @see #getProtectedNode() |
| * @generated |
| */ |
| void setProtectedNode(ExecutableNode value); |
| |
| /** |
| * Returns the value of the '<em><b>Handler Body</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Handler Body</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Handler Body</em>' reference. |
| * @see #setHandlerBody(ExecutableNode) |
| * @see org.eclipse.uml2.UML2Package#getExceptionHandler_HandlerBody() |
| * @model required="true" |
| * @generated |
| */ |
| ExecutableNode getHandlerBody(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ExceptionHandler#getHandlerBody <em>Handler Body</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Handler Body</em>' reference. |
| * @see #getHandlerBody() |
| * @generated |
| */ |
| void setHandlerBody(ExecutableNode value); |
| |
| /** |
| * Returns the value of the '<em><b>Exception Input</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Exception Input</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 Input</em>' reference. |
| * @see #setExceptionInput(ObjectNode) |
| * @see org.eclipse.uml2.UML2Package#getExceptionHandler_ExceptionInput() |
| * @model required="true" |
| * @generated |
| */ |
| ObjectNode getExceptionInput(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ExceptionHandler#getExceptionInput <em>Exception Input</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Exception Input</em>' reference. |
| * @see #getExceptionInput() |
| * @generated |
| */ |
| void setExceptionInput(ObjectNode value); |
| |
| /** |
| * Returns the value of the '<em><b>Exception Type</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.uml2.Classifier}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Exception Type</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 Type</em>' reference list. |
| * @see org.eclipse.uml2.UML2Package#getExceptionHandler_ExceptionType() |
| * @model type="org.eclipse.uml2.Classifier" required="true" ordered="false" |
| * @generated |
| */ |
| EList getExceptionTypes(); |
| |
| /** |
| * Retrieves the {@link org.eclipse.uml2.Classifier} with the specified name from the '<em><b>Exception Type</b></em>' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param unqualifiedName The unqualified name of the {@link org.eclipse.uml2.Classifier} to retrieve. |
| * @return The {@link org.eclipse.uml2.Classifier} with the specified name, or <code>null</code>. |
| * @see #getExceptionTypes() |
| * @generated |
| */ |
| Classifier getExceptionType(String unqualifiedName); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| Element getOwner(); |
| |
| } // ExceptionHandler |