org.eclipse.etrice.core.room.impl
Class StateMachineImpl

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.StateGraphImpl
          extended by org.eclipse.etrice.core.room.impl.StateMachineImpl
All Implemented Interfaces:
StateGraph, StateMachine

public class StateMachineImpl
extends StateGraphImpl
implements StateMachine

An implementation of the model object 'State Machine'.

The following features are implemented:

EMF generated code

Field Summary
protected static boolean DATA_DRIVEN_EDEFAULT
          The default value of the 'Data Driven' attribute.
protected  boolean dataDriven
          The cached value of the 'Data Driven' attribute.
 
Fields inherited from class org.eclipse.etrice.core.room.impl.StateGraphImpl
chPoints, states, transitions, trPoints
 
Constructor Summary
protected StateMachineImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 boolean isDataDriven()
           
 void setDataDriven(boolean newDataDriven)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.etrice.core.room.impl.StateGraphImpl
eInverseRemove, getChPoints, getStates, getTransitions, getTrPoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.etrice.core.room.StateGraph
getChPoints, getStates, getTransitions, getTrPoints
 

Field Detail

DATA_DRIVEN_EDEFAULT

protected static final boolean DATA_DRIVEN_EDEFAULT
The default value of the 'Data Driven' attribute.

See Also:
isDataDriven(), Constant Field Values
EMF generated code
EMF ordered

dataDriven

protected boolean dataDriven
The cached value of the 'Data Driven' attribute.

See Also:
isDataDriven()
EMF generated code
EMF ordered
Constructor Detail

StateMachineImpl

protected StateMachineImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class StateGraphImpl
EMF generated code

isDataDriven

public boolean isDataDriven()

Specified by:
isDataDriven in interface StateMachine
Returns:
the value of the 'Data Driven' attribute.
See Also:
StateMachine.setDataDriven(boolean), RoomPackage.getStateMachine_DataDriven()
EMF generated code

setDataDriven

public void setDataDriven(boolean newDataDriven)

Specified by:
setDataDriven in interface StateMachine
Parameters:
newDataDriven - the new value of the 'Data Driven' attribute.
See Also:
StateMachine.isDataDriven()
EMF generated code

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class StateGraphImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class StateGraphImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class StateGraphImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class StateGraphImpl
EMF generated code

toString

public java.lang.String toString()

EMF generated code