/**
* 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.istar;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Intention Link</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link edu.toronto.cs.se.modelepedia.istar.IntentionLink#getName <em>Name</em>}</li>
* <li>{@link edu.toronto.cs.se.modelepedia.istar.IntentionLink#getSrc <em>Src</em>}</li>
* <li>{@link edu.toronto.cs.se.modelepedia.istar.IntentionLink#getTgt <em>Tgt</em>}</li>
* </ul>
* </p>
*
* @see edu.toronto.cs.se.modelepedia.istar.IStarPackage#getIntentionLink()
* @model abstract="true"
* annotation="gmf.link source='src' target='tgt'"
* @generated
*/
public interface IntentionLink extends EObject {
/**
* 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.istar.IStarPackage#getIntentionLink_Name()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true"
* annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot derivation='if src.oclIsUndefined() or tgt.oclIsUndefined() then \'\' else src.name.concat(\' 2 \').concat(tgt.name) endif'"
* @generated
*/
String getName();
/**
* Returns the value of the '<em><b>Src</b></em>' container reference.
* It is bidirectional and its opposite is '{@link edu.toronto.cs.se.modelepedia.istar.Intention#getLinksAsSrc <em>Links As Src</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Src</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>Src</em>' container reference.
* @see #setSrc(Intention)
* @see edu.toronto.cs.se.modelepedia.istar.IStarPackage#getIntentionLink_Src()
* @see edu.toronto.cs.se.modelepedia.istar.Intention#getLinksAsSrc
* @model opposite="linksAsSrc" required="true" transient="false"
* @generated
*/
Intention getSrc();
/**
* Sets the value of the '{@link edu.toronto.cs.se.modelepedia.istar.IntentionLink#getSrc <em>Src</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Src</em>' container reference.
* @see #getSrc()
* @generated
*/
void setSrc(Intention value);
/**
* Returns the value of the '<em><b>Tgt</b></em>' reference.
* It is bidirectional and its opposite is '{@link edu.toronto.cs.se.modelepedia.istar.Intention#getLinksAsTgt <em>Links As Tgt</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Tgt</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Tgt</em>' reference.
* @see #setTgt(Intention)
* @see edu.toronto.cs.se.modelepedia.istar.IStarPackage#getIntentionLink_Tgt()
* @see edu.toronto.cs.se.modelepedia.istar.Intention#getLinksAsTgt
* @model opposite="linksAsTgt" required="true"
* @generated
*/
Intention getTgt();
/**
* Sets the value of the '{@link edu.toronto.cs.se.modelepedia.istar.IntentionLink#getTgt <em>Tgt</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Tgt</em>' reference.
* @see #getTgt()
* @generated
*/
void setTgt(Intention value);
} // IntentionLink