/** * Copyright (c) 2012-2016 Marsha Chechik, Alessio Di Sandro, Michalis Famelis, * Rick Salay. * 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: * Alessio Di Sandro - Implementation. */ package edu.toronto.cs.se.modelepedia.necsis14_classdiagram; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Association</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getSource <em>Source</em>}</li> * <li>{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getTarget <em>Target</em>}</li> * <li>{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getLowerBound <em>Lower Bound</em>}</li> * <li>{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getUpperBound <em>Upper Bound</em>}</li> * </ul> * </p> * * @see edu.toronto.cs.se.modelepedia.necsis14_classdiagram.NECSIS14_ClassDiagramPackage#getAssociation() * @model annotation="gmf.link label='name' label.icon='true' source='source' target='target' target.decoration='arrow'" * @generated */ public interface Association extends NamedElement { /** * Returns the value of the '<em><b>Source</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Source</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Source</em>' reference. * @see #setSource(edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Class) * @see edu.toronto.cs.se.modelepedia.necsis14_classdiagram.NECSIS14_ClassDiagramPackage#getAssociation_Source() * @model required="true" * @generated */ edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Class getSource(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getSource <em>Source</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Source</em>' reference. * @see #getSource() * @generated */ void setSource(edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Class value); /** * Returns the value of the '<em><b>Target</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Target</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Target</em>' reference. * @see #setTarget(edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Class) * @see edu.toronto.cs.se.modelepedia.necsis14_classdiagram.NECSIS14_ClassDiagramPackage#getAssociation_Target() * @model required="true" * @generated */ edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Class getTarget(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getTarget <em>Target</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Target</em>' reference. * @see #getTarget() * @generated */ void setTarget(edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Class value); /** * Returns the value of the '<em><b>Lower Bound</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Lower Bound</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Lower Bound</em>' attribute. * @see #setLowerBound(int) * @see edu.toronto.cs.se.modelepedia.necsis14_classdiagram.NECSIS14_ClassDiagramPackage#getAssociation_LowerBound() * @model required="true" * @generated */ int getLowerBound(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getLowerBound <em>Lower Bound</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Lower Bound</em>' attribute. * @see #getLowerBound() * @generated */ void setLowerBound(int value); /** * Returns the value of the '<em><b>Upper Bound</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Upper Bound</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Upper Bound</em>' attribute. * @see #setUpperBound(int) * @see edu.toronto.cs.se.modelepedia.necsis14_classdiagram.NECSIS14_ClassDiagramPackage#getAssociation_UpperBound() * @model required="true" * @generated */ int getUpperBound(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.necsis14_classdiagram.Association#getUpperBound <em>Upper Bound</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Upper Bound</em>' attribute. * @see #getUpperBound() * @generated */ void setUpperBound(int value); } // Association