simulink

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

java.lang.Object
  extended by edu.tum.cs.simulink.model.ParameterizedElement
      extended by edu.tum.cs.simulink.model.stateflow.StateflowElementBase<P>
          extended by edu.tum.cs.simulink.model.stateflow.StateflowDeclContainerBase<IStateflowNodeContainer<?>>
              extended by edu.tum.cs.simulink.model.stateflow.StateflowNodeBase
                  extended by edu.tum.cs.simulink.model.stateflow.StateflowState
All Implemented Interfaces:
IStateflowElement<IStateflowNodeContainer<?>>, IStateflowNodeContainer<IStateflowNodeContainer<?>>

public class StateflowState
extends StateflowNodeBase
implements IStateflowNodeContainer<IStateflowNodeContainer<?>>

This class represents Stateflow states.

Version:
$Rev: 26285 $
Author:
deissenb, $Author: juergens $
Rating:
GREEN Hash: 14862BB26963EB0EF15900847B6EE878

Constructor Summary
StateflowState()
          Create state.
 
Method Summary
 void addNode(StateflowNodeBase node)
          Add a node to this state.
 StateflowState deepClone()
          Deep clone this state.
 java.lang.String getLabel()
          Get state label.
  getNodes()
          Get child nodes.
 java.lang.String toString()
          Returns label and id.
 
Methods inherited from class edu.tum.cs.simulink.model.stateflow.StateflowNodeBase
getInTransitions, getOutTransitions, remove
 
Methods inherited from class edu.tum.cs.simulink.model.stateflow.StateflowDeclContainerBase
addData, addEvent, getData, getEvents
 
Methods inherited from class edu.tum.cs.simulink.model.stateflow.StateflowElementBase
getParent, getStateflowId
 
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
 
Methods inherited from interface edu.tum.cs.simulink.model.stateflow.IStateflowElement
getParent, getStateflowId, remove
 

Constructor Detail

StateflowState

public StateflowState()
Create state.

Method Detail

addNode

public void addNode(StateflowNodeBase node)
Add a node to this state.

Specified by:
addNode in interface IStateflowNodeContainer<IStateflowNodeContainer<?>>

getLabel

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


getNodes

public  getNodes()
Get child nodes.

Specified by:
getNodes in interface IStateflowNodeContainer<IStateflowNodeContainer<?>>

toString

public java.lang.String toString()
Returns label and id.

Overrides:
toString in class StateflowElementBase<IStateflowNodeContainer<?>>

deepClone

public StateflowState deepClone()
Deep clone this state.

Specified by:
deepClone in class StateflowNodeBase

simulink

simulink - 2.7