| /* |
| * Copyright (c) 2005, 2006 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: ReadExtentAction.java,v 1.3 2006/02/22 20:48:15 khussey Exp $ |
| */ |
| package org.eclipse.uml2.uml; |
| |
| import java.util.Map; |
| |
| import org.eclipse.emf.common.util.DiagnosticChain; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Read Extent Action</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * ReadExtentAction is an action that retrieves the current instances of a classifier. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.uml.ReadExtentAction#getResult <em>Result</em>}</li> |
| * <li>{@link org.eclipse.uml2.uml.ReadExtentAction#getClassifier <em>Classifier</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.uml.UMLPackage#getReadExtentAction() |
| * @model |
| * @generated |
| */ |
| public interface ReadExtentAction |
| extends Action { |
| |
| /** |
| * Returns the value of the '<em><b>Result</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The runtime instances of the classifier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Result</em>' containment reference. |
| * @see #setResult(OutputPin) |
| * @see org.eclipse.uml2.uml.UMLPackage#getReadExtentAction_Result() |
| * @model containment="true" required="true" ordered="false" |
| * @generated |
| */ |
| OutputPin getResult(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.uml.ReadExtentAction#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 new {@link org.eclipse.uml2.uml.OutputPin},with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', and sets the '<em><b>Result</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param name The '<em><b>Name</b></em>' for the new {@link org.eclipse.uml2.uml.OutputPin}, or <code>null</code>. |
| * @param type The '<em><b>Type</b></em>' for the new {@link org.eclipse.uml2.uml.OutputPin}, or <code>null</code>. |
| * @return The new {@link org.eclipse.uml2.uml.OutputPin}. |
| * @see #getResult() |
| * @generated |
| */ |
| OutputPin createResult(String name, Type type); |
| |
| /** |
| * Returns the value of the '<em><b>Classifier</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The classifier whose instances are to be retrieved. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Classifier</em>' reference. |
| * @see #setClassifier(Classifier) |
| * @see org.eclipse.uml2.uml.UMLPackage#getReadExtentAction_Classifier() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| Classifier getClassifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.uml.ReadExtentAction#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); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The type of the result output pin is the classifier. |
| * true |
| * <!-- end-model-doc --> |
| * @model |
| * @generated |
| */ |
| boolean validateTypeIsClassifier(DiagnosticChain diagnostics, Map context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The multiplicity of the result output pin is 0..*. |
| * self.result.multiplicity.is(0,#null) |
| * <!-- end-model-doc --> |
| * @model |
| * @generated |
| */ |
| boolean validateMultiplicityOfResult(DiagnosticChain diagnostics, |
| Map context); |
| |
| } // ReadExtentAction |