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

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.StateGraphItemImpl
          extended by org.eclipse.etrice.core.room.impl.StateGraphNodeImpl
              extended by org.eclipse.etrice.core.room.impl.StateImpl
All Implemented Interfaces:
State, StateGraphItem, StateGraphNode
Direct Known Subclasses:
BaseStateImpl, RefinedStateImpl

public class StateImpl
extends StateGraphNodeImpl
implements State

An implementation of the model object 'State'.

The following features are implemented:

EMF generated code

Field Summary
protected  DetailCode doCode
          The cached value of the 'Do Code' containment reference.
protected  Documentation docu
          The cached value of the 'Docu' containment reference.
protected  DetailCode entryCode
          The cached value of the 'Entry Code' containment reference.
protected  DetailCode exitCode
          The cached value of the 'Exit Code' containment reference.
protected  StateGraph subgraph
          The cached value of the 'Subgraph' containment reference.
 
Constructor Summary
protected StateImpl()
           
 
Method Summary
 NotificationChain basicSetDoCode(DetailCode newDoCode, NotificationChain msgs)
           
 NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
           
 NotificationChain basicSetEntryCode(DetailCode newEntryCode, NotificationChain msgs)
           
 NotificationChain basicSetExitCode(DetailCode newExitCode, NotificationChain msgs)
           
 NotificationChain basicSetSubgraph(StateGraph newSubgraph, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 DetailCode getDoCode()
           
 Documentation getDocu()
           
 DetailCode getEntryCode()
           
 DetailCode getExitCode()
           
 java.lang.String getName()
           
 StateGraph getSubgraph()
           
 void setDoCode(DetailCode newDoCode)
           
 void setDocu(Documentation newDocu)
           
 void setEntryCode(DetailCode newEntryCode)
           
 void setExitCode(DetailCode newExitCode)
           
 void setSubgraph(StateGraph newSubgraph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docu

protected Documentation docu
The cached value of the 'Docu' containment reference.

See Also:
getDocu()
EMF generated code
EMF ordered

entryCode

protected DetailCode entryCode
The cached value of the 'Entry Code' containment reference.

See Also:
getEntryCode()
EMF generated code
EMF ordered

exitCode

protected DetailCode exitCode
The cached value of the 'Exit Code' containment reference.

See Also:
getExitCode()
EMF generated code
EMF ordered

doCode

protected DetailCode doCode
The cached value of the 'Do Code' containment reference.

See Also:
getDoCode()
EMF generated code
EMF ordered

subgraph

protected StateGraph subgraph
The cached value of the 'Subgraph' containment reference.

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

StateImpl

protected StateImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class StateGraphNodeImpl
EMF generated code

getDocu

public Documentation getDocu()

Specified by:
getDocu in interface State
Returns:
the value of the 'Docu' containment reference.
See Also:
State.setDocu(Documentation), RoomPackage.getState_Docu()
EMF generated code

basicSetDocu

public NotificationChain basicSetDocu(Documentation newDocu,
                                      NotificationChain msgs)

EMF generated code

setDocu

public void setDocu(Documentation newDocu)

Specified by:
setDocu in interface State
Parameters:
newDocu - the new value of the 'Docu' containment reference.
See Also:
State.getDocu()
EMF generated code

getEntryCode

public DetailCode getEntryCode()

Specified by:
getEntryCode in interface State
Returns:
the value of the 'Entry Code' containment reference.
See Also:
State.setEntryCode(DetailCode), RoomPackage.getState_EntryCode()
EMF generated code

basicSetEntryCode

public NotificationChain basicSetEntryCode(DetailCode newEntryCode,
                                           NotificationChain msgs)

EMF generated code

setEntryCode

public void setEntryCode(DetailCode newEntryCode)

Specified by:
setEntryCode in interface State
Parameters:
newEntryCode - the new value of the 'Entry Code' containment reference.
See Also:
State.getEntryCode()
EMF generated code

getExitCode

public DetailCode getExitCode()

Specified by:
getExitCode in interface State
Returns:
the value of the 'Exit Code' containment reference.
See Also:
State.setExitCode(DetailCode), RoomPackage.getState_ExitCode()
EMF generated code

basicSetExitCode

public NotificationChain basicSetExitCode(DetailCode newExitCode,
                                          NotificationChain msgs)

EMF generated code

setExitCode

public void setExitCode(DetailCode newExitCode)

Specified by:
setExitCode in interface State
Parameters:
newExitCode - the new value of the 'Exit Code' containment reference.
See Also:
State.getExitCode()
EMF generated code

getDoCode

public DetailCode getDoCode()

Specified by:
getDoCode in interface State
Returns:
the value of the 'Do Code' containment reference.
See Also:
State.setDoCode(DetailCode), RoomPackage.getState_DoCode()
EMF generated code

basicSetDoCode

public NotificationChain basicSetDoCode(DetailCode newDoCode,
                                        NotificationChain msgs)

EMF generated code

setDoCode

public void setDoCode(DetailCode newDoCode)

Specified by:
setDoCode in interface State
Parameters:
newDoCode - the new value of the 'Do Code' containment reference.
See Also:
State.getDoCode()
EMF generated code

getSubgraph

public StateGraph getSubgraph()

Specified by:
getSubgraph in interface State
Returns:
the value of the 'Subgraph' containment reference.
See Also:
State.setSubgraph(StateGraph), RoomPackage.getState_Subgraph()
EMF generated code

basicSetSubgraph

public NotificationChain basicSetSubgraph(StateGraph newSubgraph,
                                          NotificationChain msgs)

EMF generated code

setSubgraph

public void setSubgraph(StateGraph newSubgraph)

Specified by:
setSubgraph in interface State
Parameters:
newSubgraph - the new value of the 'Subgraph' containment reference.
See Also:
State.getSubgraph()
EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface State
Specified by:
getName in interface StateGraphItem
Overrides:
getName in class StateGraphItemImpl
EMF generated code

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

EMF generated code

eGet

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

EMF generated code

eSet

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

EMF generated code

eUnset

public void eUnset(int featureID)

EMF generated code

eIsSet

public boolean eIsSet(int featureID)

EMF generated code