| /* |
| * 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: Substitution.java,v 1.2 2004/04/10 04:09:50 khussey Exp $ |
| */ |
| package org.eclipse.uml2; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Substitution</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.Substitution#getContract <em>Contract</em>}</li> |
| * <li>{@link org.eclipse.uml2.Substitution#getSubstitutingClassifier <em>Substituting Classifier</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.uml2.UML2Package#getSubstitution() |
| * @model |
| * @generated |
| */ |
| public interface Substitution extends Realization{ |
| /** |
| * <!-- 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>Contract</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Contract</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Contract</em>' reference. |
| * @see #setContract(Classifier) |
| * @see org.eclipse.uml2.UML2Package#getSubstitution_Contract() |
| * @model required="true" volatile="true" |
| * @generated |
| */ |
| Classifier getContract(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.Substitution#getContract <em>Contract</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Contract</em>' reference. |
| * @see #getContract() |
| * @generated |
| */ |
| void setContract(Classifier value); |
| |
| /** |
| * Returns the value of the '<em><b>Substituting Classifier</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.uml2.Classifier#getSubstitutions <em>Substitution</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Substituting Classifier</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>Substituting Classifier</em>' container reference. |
| * @see #setSubstitutingClassifier(Classifier) |
| * @see org.eclipse.uml2.UML2Package#getSubstitution_SubstitutingClassifier() |
| * @see org.eclipse.uml2.Classifier#getSubstitutions |
| * @model opposite="substitution" required="true" volatile="true" |
| * @generated |
| */ |
| Classifier getSubstitutingClassifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.Substitution#getSubstitutingClassifier <em>Substituting Classifier</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Substituting Classifier</em>' container reference. |
| * @see #getSubstitutingClassifier() |
| * @generated |
| */ |
| void setSubstitutingClassifier(Classifier value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getSuppliers(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getTargets(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getClients(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model parameters="" |
| * @generated |
| */ |
| EList getSources(); |
| |
| } // Substitution |