blob: ba46e8b8c1e061e7abfa6baf2870e9065945fb5d [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package statemachine;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Transition</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link statemachine.Transition#getSource <em>Source</em>}</li>
* <li>{@link statemachine.Transition#getTarget <em>Target</em>}</li>
* <li>{@link statemachine.Transition#getTrigger <em>Trigger</em>}</li>
* <li>{@link statemachine.Transition#getEffect <em>Effect</em>}</li>
* </ul>
* </p>
*
* @see statemachine.StatemachinePackage#getTransition()
* @model
* @generated
*/
public interface Transition extends EObject {
/**
* Returns the value of the '<em><b>Source</b></em>' container reference.
* It is bidirectional and its opposite is '{@link statemachine.State#getOutgoing <em>Outgoing</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Source</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>Source</em>' container reference.
* @see #setSource(State)
* @see statemachine.StatemachinePackage#getTransition_Source()
* @see statemachine.State#getOutgoing
* @model opposite="outgoing" required="true" transient="false"
* @generated
*/
State getSource();
/**
* Sets the value of the '{@link statemachine.Transition#getSource <em>Source</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Source</em>' container reference.
* @see #getSource()
* @generated
*/
void setSource(State value);
/**
* Returns the value of the '<em><b>Target</b></em>' reference.
* It is bidirectional and its opposite is '{@link statemachine.State#getIncoming <em>Incoming</em>}'.
* <!-- 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(State)
* @see statemachine.StatemachinePackage#getTransition_Target()
* @see statemachine.State#getIncoming
* @model opposite="incoming" required="true"
* @generated
*/
State getTarget();
/**
* Sets the value of the '{@link statemachine.Transition#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(State value);
/**
* Returns the value of the '<em><b>Trigger</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Trigger</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Trigger</em>' attribute.
* @see #setTrigger(String)
* @see statemachine.StatemachinePackage#getTransition_Trigger()
* @model
* @generated
*/
String getTrigger();
/**
* Sets the value of the '{@link statemachine.Transition#getTrigger <em>Trigger</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Trigger</em>' attribute.
* @see #getTrigger()
* @generated
*/
void setTrigger(String value);
/**
* Returns the value of the '<em><b>Effect</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Effect</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Effect</em>' attribute list.
* @see statemachine.StatemachinePackage#getTransition_Effect()
* @model
* @generated
*/
EList getEffect();
} // Transition