| /* |
| * 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: TestIdentityAction.java,v 1.3 2004/06/06 01:35:02 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Test Identity Action</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * This action returns true if the two input values are the same identity, false if they are not. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.TestIdentityAction#getFirst <em>First</em>}</li> |
| * <li>{@link org.eclipse.uml2.TestIdentityAction#getSecond <em>Second</em>}</li> |
| * <li>{@link org.eclipse.uml2.TestIdentityAction#getResult <em>Result</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getTestIdentityAction() |
| * @model |
| * @generated |
| */ |
| public interface TestIdentityAction extends Action{ |
| /** |
| * <!-- 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>First</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>First</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * . (Specialized from Action:input) Gives the pin on which an object is placed. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>First</em>' containment reference. |
| * @see #setFirst(InputPin) |
| * @see org.eclipse.uml2.UML2Package#getTestIdentityAction_First() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| InputPin getFirst(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.TestIdentityAction#getFirst <em>First</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>First</em>' containment reference. |
| * @see #getFirst() |
| * @generated |
| */ |
| void setFirst(InputPin value); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.InputPin} and sets the '<em><b>First</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param eClass The Ecore class of the {@link org.eclipse.uml2.InputPin} to create. |
| * @return The new {@link org.eclipse.uml2.InputPin}. |
| * @see #getFirst() |
| * @generated |
| */ |
| InputPin createFirst(EClass eClass); |
| |
| /** |
| * Returns the value of the '<em><b>Second</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Second</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * (Specialized from Action:input) Gives the pin on which an object is placed. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Second</em>' containment reference. |
| * @see #setSecond(InputPin) |
| * @see org.eclipse.uml2.UML2Package#getTestIdentityAction_Second() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| InputPin getSecond(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.TestIdentityAction#getSecond <em>Second</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Second</em>' containment reference. |
| * @see #getSecond() |
| * @generated |
| */ |
| void setSecond(InputPin value); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.InputPin} and sets the '<em><b>Second</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param eClass The Ecore class of the {@link org.eclipse.uml2.InputPin} to create. |
| * @return The new {@link org.eclipse.uml2.InputPin}. |
| * @see #getSecond() |
| * @generated |
| */ |
| InputPin createSecond(EClass eClass); |
| |
| /** |
| * Returns the value of the '<em><b>Result</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Result</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * (Specialized from Action:output) Tells whether the two input objects are identical. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Result</em>' containment reference. |
| * @see #setResult(OutputPin) |
| * @see org.eclipse.uml2.UML2Package#getTestIdentityAction_Result() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| OutputPin getResult(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.TestIdentityAction#getResult <em>Result</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Result</em>' containment reference. |
| * @see #getResult() |
| * @generated |
| */ |
| void setResult(OutputPin value); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.OutputPin} and sets the '<em><b>Result</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param eClass The Ecore class of the {@link org.eclipse.uml2.OutputPin} to create. |
| * @return The new {@link org.eclipse.uml2.OutputPin}. |
| * @see #getResult() |
| * @generated |
| */ |
| OutputPin createResult(EClass eClass); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getInputs(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getOutputs(); |
| |
| } // TestIdentityAction |