| /* |
| * 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: CreateObjectAction.java,v 1.3 2004/06/06 01:35:03 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>Create Object Action</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * This action instantiates a classifier. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.CreateObjectAction#getClassifier <em>Classifier</em>}</li> |
| * <li>{@link org.eclipse.uml2.CreateObjectAction#getResult <em>Result</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getCreateObjectAction() |
| * @model |
| * @generated |
| */ |
| public interface CreateObjectAction 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>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 --> |
| * Classifier to be instantiated. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Classifier</em>' reference. |
| * @see #setClassifier(Classifier) |
| * @see org.eclipse.uml2.UML2Package#getCreateObjectAction_Classifier() |
| * @model required="true" |
| * @generated |
| */ |
| Classifier getClassifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.CreateObjectAction#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 --> |
| * (Specialized from Action:output) Gives the output pin on which the result is put. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Result</em>' containment reference. |
| * @see #setResult(OutputPin) |
| * @see org.eclipse.uml2.UML2Package#getCreateObjectAction_Result() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| OutputPin getResult(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.CreateObjectAction#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 getOutputs(); |
| |
| } // CreateObjectAction |