/** * 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.classdiagram_mavo; import edu.toronto.cs.se.mavo.MAVOElement; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Dependency</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Dependency#getName <em>Name</em>}</li> * <li>{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Dependency#getDependee <em>Dependee</em>}</li> * <li>{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Dependency#getDepender <em>Depender</em>}</li> * </ul> * * @see edu.toronto.cs.se.modelepedia.classdiagram_mavo.ClassDiagram_MAVOPackage#getDependency() * @model annotation="gmf.link source='dependee' target='depender' target.decoration='arrow' style='dash'" * @generated */ public interface Dependency extends MAVOElement { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see edu.toronto.cs.se.modelepedia.classdiagram_mavo.ClassDiagram_MAVOPackage#getDependency_Name() * @model required="true" transient="true" changeable="false" volatile="true" derived="true" * annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot derivation='if depender.oclIsUndefined() or dependee.oclIsUndefined() then \'\' else depender.name.concat(\' 2 \').concat(dependee.name) endif'" * @generated */ String getName(); /** * Returns the value of the '<em><b>Dependee</b></em>' reference. * It is bidirectional and its opposite is '{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class#getDependenciesAsDependee <em>Dependencies As Dependee</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Dependee</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Dependee</em>' reference. * @see #setDependee(edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class) * @see edu.toronto.cs.se.modelepedia.classdiagram_mavo.ClassDiagram_MAVOPackage#getDependency_Dependee() * @see edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class#getDependenciesAsDependee * @model opposite="dependenciesAsDependee" required="true" * @generated */ edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class getDependee(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Dependency#getDependee <em>Dependee</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Dependee</em>' reference. * @see #getDependee() * @generated */ void setDependee(edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class value); /** * Returns the value of the '<em><b>Depender</b></em>' reference. * It is bidirectional and its opposite is '{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class#getDependenciesAsDepender <em>Dependencies As Depender</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Depender</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Depender</em>' reference. * @see #setDepender(edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class) * @see edu.toronto.cs.se.modelepedia.classdiagram_mavo.ClassDiagram_MAVOPackage#getDependency_Depender() * @see edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class#getDependenciesAsDepender * @model opposite="dependenciesAsDepender" required="true" * @generated */ edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class getDepender(); /** * Sets the value of the '{@link edu.toronto.cs.se.modelepedia.classdiagram_mavo.Dependency#getDepender <em>Depender</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Depender</em>' reference. * @see #getDepender() * @generated */ void setDepender(edu.toronto.cs.se.modelepedia.classdiagram_mavo.Class value); } // Dependency