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

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.StateGraphItemImpl
          extended by org.eclipse.etrice.core.room.impl.TransitionImpl
All Implemented Interfaces:
StateGraphItem, Transition
Direct Known Subclasses:
InitialTransitionImpl, NonInitialTransitionImpl

public class TransitionImpl
extends StateGraphItemImpl
implements Transition

An implementation of the model object 'Transition'.

The following features are implemented:

EMF generated code

Field Summary
protected  DetailCode action
          The cached value of the 'Action' containment reference.
protected  Documentation docu
          The cached value of the 'Docu' containment reference.
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  TransitionTerminal to
          The cached value of the 'To' containment reference.
 
Constructor Summary
protected TransitionImpl()
           
 
Method Summary
 NotificationChain basicSetAction(DetailCode newAction, NotificationChain msgs)
           
 NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
           
 NotificationChain basicSetTo(TransitionTerminal newTo, 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 getAction()
           
 Documentation getDocu()
           
 java.lang.String getName()
           
 TransitionTerminal getTo()
           
 void setAction(DetailCode newAction)
           
 void setDocu(Documentation newDocu)
           
 void setName(java.lang.String newName)
           
 void setTo(TransitionTerminal newTo)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

to

protected TransitionTerminal to
The cached value of the 'To' containment reference.

See Also:
getTo()
EMF generated code
EMF ordered

docu

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

See Also:
getDocu()
EMF generated code
EMF ordered

action

protected DetailCode action
The cached value of the 'Action' containment reference.

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

TransitionImpl

protected TransitionImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class StateGraphItemImpl
EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface StateGraphItem
Specified by:
getName in interface Transition
Overrides:
getName in class StateGraphItemImpl
Returns:
the value of the 'Name' attribute.
See Also:
Transition.setName(String), RoomPackage.getTransition_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface Transition
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Transition.getName()
EMF generated code

getTo

public TransitionTerminal getTo()

Specified by:
getTo in interface Transition
Returns:
the value of the 'To' containment reference.
See Also:
Transition.setTo(TransitionTerminal), RoomPackage.getTransition_To()
EMF generated code

basicSetTo

public NotificationChain basicSetTo(TransitionTerminal newTo,
                                    NotificationChain msgs)

EMF generated code

setTo

public void setTo(TransitionTerminal newTo)

Specified by:
setTo in interface Transition
Parameters:
newTo - the new value of the 'To' containment reference.
See Also:
Transition.getTo()
EMF generated code

getDocu

public Documentation getDocu()

Specified by:
getDocu in interface Transition
Returns:
the value of the 'Docu' containment reference.
See Also:
Transition.setDocu(Documentation), RoomPackage.getTransition_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 Transition
Parameters:
newDocu - the new value of the 'Docu' containment reference.
See Also:
Transition.getDocu()
EMF generated code

getAction

public DetailCode getAction()

Specified by:
getAction in interface Transition
Returns:
the value of the 'Action' containment reference.
See Also:
Transition.setAction(DetailCode), RoomPackage.getTransition_Action()
EMF generated code

basicSetAction

public NotificationChain basicSetAction(DetailCode newAction,
                                        NotificationChain msgs)

EMF generated code

setAction

public void setAction(DetailCode newAction)

Specified by:
setAction in interface Transition
Parameters:
newAction - the new value of the 'Action' containment reference.
See Also:
Transition.getAction()
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

toString

public java.lang.String toString()

EMF generated code