| /* |
| * Copyright (c) 2003, 2005 IBM Corporation 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: |
| * IBM - initial API and implementation |
| * |
| * $Id: ReadIsClassifiedObjectAction.java,v 1.8 2005/06/15 20:06:01 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Read Is Classified Object Action</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * This action tests the classification of an object against a given class. It can be restricted to testing direct instances. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#isDirect <em>Is Direct</em>}</li> |
| * <li>{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#getClassifier <em>Classifier</em>}</li> |
| * <li>{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#getResult <em>Result</em>}</li> |
| * <li>{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#getObject <em>Object</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getReadIsClassifiedObjectAction() |
| * @model |
| * @generated |
| */ |
| public interface ReadIsClassifiedObjectAction extends Action{ |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String copyright = "Copyright (c) IBM Corporation and others."; //$NON-NLS-1$ |
| |
| /** |
| * Returns the value of the '<em><b>Is Direct</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Direct</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Indicates whether the classifier must directly classify the input object. The default value is false. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Is Direct</em>' attribute. |
| * @see #setIsDirect(boolean) |
| * @see org.eclipse.uml2.UML2Package#getReadIsClassifiedObjectAction_IsDirect() |
| * @model default="false" dataType="org.eclipse.uml2.Boolean" |
| * @generated |
| */ |
| boolean isDirect(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#isDirect <em>Is Direct</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Direct</em>' attribute. |
| * @see #isDirect() |
| * @generated |
| */ |
| void setIsDirect(boolean value); |
| |
| |
| /** |
| * Returns the value of the '<em><b>Classifier</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Classifier</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The classifier against which the classification of the input object is tested. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Classifier</em>' reference. |
| * @see #setClassifier(Classifier) |
| * @see org.eclipse.uml2.UML2Package#getReadIsClassifiedObjectAction_Classifier() |
| * @model required="true" |
| * @generated |
| */ |
| Classifier getClassifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#getClassifier <em>Classifier</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Classifier</em>' reference. |
| * @see #getClassifier() |
| * @generated |
| */ |
| void setClassifier(Classifier value); |
| |
| |
| /** |
| * 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 --> |
| * After termination of the action, will hold the result of the test. (Specializes Action.output.) |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Result</em>' containment reference. |
| * @see #setResult(OutputPin) |
| * @see org.eclipse.uml2.UML2Package#getReadIsClassifiedObjectAction_Result() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| OutputPin getResult(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#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 NOT |
| * @deprecated Use #createResult() instead. |
| */ |
| OutputPin createResult(EClass eClass); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.OutputPin} and sets the '<em><b>Result</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return The new {@link org.eclipse.uml2.OutputPin}. |
| * @see #getResult() |
| * @generated |
| */ |
| OutputPin createResult(); |
| |
| /** |
| * Returns the value of the '<em><b>Object</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Object</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Holds the object whose classification is to be tested. (Specializes Action.input.) |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Object</em>' containment reference. |
| * @see #setObject(InputPin) |
| * @see org.eclipse.uml2.UML2Package#getReadIsClassifiedObjectAction_Object() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| InputPin getObject(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.ReadIsClassifiedObjectAction#getObject <em>Object</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Object</em>' containment reference. |
| * @see #getObject() |
| * @generated |
| */ |
| void setObject(InputPin value); |
| |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.InputPin} and sets the '<em><b>Object</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 #getObject() |
| * @generated |
| */ |
| InputPin createObject(EClass eClass); |
| |
| /** |
| * Creates a {@link org.eclipse.uml2.InputPin} and sets the '<em><b>Object</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return The new {@link org.eclipse.uml2.InputPin}. |
| * @see #getObject() |
| * @generated |
| */ |
| InputPin createObject(); |
| |
| } // ReadIsClassifiedObjectAction |