simulink

edu.tum.cs.simulink.model.stateflow
Class StateflowTransition

java.lang.Object
  extended by edu.tum.cs.simulink.model.ParameterizedElement
      extended by edu.tum.cs.simulink.model.stateflow.StateflowTransition

public class StateflowTransition
extends ParameterizedElement

A Stateflow transition.

Version:
$Rev: 26285 $
Author:
deissenb, $Author: juergens $
Rating:
GREEN Hash: 86F9B984B1E2B5D1C3582C094915E554

Constructor Summary
StateflowTransition(StateflowNodeBase dst)
          Create new default transition.
StateflowTransition(StateflowNodeBase src, StateflowNodeBase dst)
          Create new transition.
 
Method Summary
 StateflowNodeBase getDst()
          Get destination node.
 java.lang.String getLabel()
          Get label.
 StateflowNodeBase getSrc()
          Get source node.
 void remove()
          Remove this transition from the model.
 java.lang.String toString()
          toString() includes source and destination.
 
Methods inherited from class edu.tum.cs.simulink.model.ParameterizedElement
getDeclaredParameter, getDeclaredParameterNames, getParameter, getParameterNames, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateflowTransition

public StateflowTransition(StateflowNodeBase dst)
Create new default transition.


StateflowTransition

public StateflowTransition(StateflowNodeBase src,
                           StateflowNodeBase dst)
Create new transition.

Method Detail

getDst

public StateflowNodeBase getDst()
Get destination node.


getLabel

public java.lang.String getLabel()
Get label.


getSrc

public StateflowNodeBase getSrc()
Get source node. This may be null to indicate default transitions.


remove

public void remove()
Remove this transition from the model.


toString

public java.lang.String toString()
toString() includes source and destination.

Overrides:
toString in class java.lang.Object

simulink

simulink - 2.7