de.cau.cs.kieler.synccharts.impl
Class StateImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by de.cau.cs.kieler.synccharts.impl.StateImpl
All Implemented Interfaces:
State, Notifier, EObject, InternalEObject

public class StateImpl
extends EObjectImpl
implements State

An implementation of the model object 'State'.

The following features are implemented:

Rating red
Generated:
This code was automatically generated.

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected static String BODY_TEXT_EDEFAULT
          The default value of the 'Body Text' attribute.
protected  EObject bodyContents
          The cached value of the 'Body Contents' containment reference.
protected  EObject bodyReference
          The cached value of the 'Body Reference' reference.
protected  String bodyText
          The cached value of the 'Body Text' attribute.
protected  EList<Action> entryActions
          The cached value of the 'Entry Actions' containment reference list.
protected  EList<Action> exitActions
          The cached value of the 'Exit Actions' containment reference list.
protected  String id
          The cached value of the 'Id' attribute.
protected static String ID_EDEFAULT
          The default value of the 'Id' attribute.
protected  EList<Action> innerActions
          The cached value of the 'Inner Actions' containment reference list.
protected static boolean IS_FINAL_EDEFAULT
          The default value of the 'Is Final' attribute.
protected static boolean IS_INITIAL_EDEFAULT
          The default value of the 'Is Initial' attribute.
protected  boolean isFinal
          The cached value of the 'Is Final' attribute.
protected  boolean isInitial
          The cached value of the 'Is Initial' attribute.
protected  String label
          The cached value of the 'Label' attribute.
protected static String LABEL_EDEFAULT
          The default value of the 'Label' attribute.
protected  EList<Transition> outgoingTransitions
          The cached value of the 'Outgoing Transitions' containment reference list.
protected  EList<Region> regions
          The cached value of the 'Regions' containment reference list.
protected  EList<Renaming> renamings
          The cached value of the 'Renamings' containment reference list.
protected  EList<Signal> signals
          The cached value of the 'Signals' containment reference list.
protected  Action suspensionTrigger
          The cached value of the 'Suspension Trigger' containment reference.
protected  StateType type
          The cached value of the 'Type' attribute.
protected static StateType TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected StateImpl()
           
 
Method Summary
 EObject basicGetBodyReference()
           
 NotificationChain basicSetBodyContents(EObject newBodyContents, NotificationChain msgs)
           
 NotificationChain basicSetParentRegion(Region newParentRegion, NotificationChain msgs)
           
 NotificationChain basicSetSuspensionTrigger(Action newSuspensionTrigger, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 EObject getBodyContents()
           
 EObject getBodyReference()
           
 String getBodyText()
           
 EList<Action> getEntryActions()
           
 EList<Action> getExitActions()
           
 String getId()
           
 EList<Action> getInnerActions()
           
 String getLabel()
           
 EList<Transition> getOutgoingTransitions()
           
 Region getParentRegion()
           
 EList<Region> getRegions()
           
 EList<Renaming> getRenamings()
           
 EList<Signal> getSignals()
           
 Action getSuspensionTrigger()
           
 StateType getType()
           
 boolean isIsFinal()
           
 boolean isIsInitial()
           
 void setBodyContents(EObject newBodyContents)
           
 void setBodyReference(EObject newBodyReference)
           
 void setBodyText(String newBodyText)
           
 void setId(String newId)
           
 void setIsFinal(boolean newIsFinal)
           
 void setIsInitial(boolean newIsInitial)
           
 void setLabel(String newLabel)
           
 void setParentRegion(Region newParentRegion)
           
 void setSuspensionTrigger(Action newSuspensionTrigger)
           
 void setType(StateType newType)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

ID_EDEFAULT

protected static final String ID_EDEFAULT
The default value of the 'Id' attribute.

See Also:
getId()
Generated:
This code was automatically generated.
Ordered

id

protected String id
The cached value of the 'Id' attribute.

See Also:
getId()
Generated:
This code was automatically generated.
Ordered

LABEL_EDEFAULT

protected static final String LABEL_EDEFAULT
The default value of the 'Label' attribute.

See Also:
getLabel()
Generated:
This code was automatically generated.
Ordered

label

protected String label
The cached value of the 'Label' attribute.

See Also:
getLabel()
Generated:
This code was automatically generated.
Ordered

TYPE_EDEFAULT

protected static final StateType TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()
Generated:
This code was automatically generated.
Ordered

type

protected StateType type
The cached value of the 'Type' attribute.

See Also:
getType()
Generated:
This code was automatically generated.
Ordered

signals

protected EList<Signal> signals
The cached value of the 'Signals' containment reference list.

See Also:
getSignals()
Generated:
This code was automatically generated.
Ordered

regions

protected EList<Region> regions
The cached value of the 'Regions' containment reference list.

See Also:
getRegions()
Generated:
This code was automatically generated.
Ordered

entryActions

protected EList<Action> entryActions
The cached value of the 'Entry Actions' containment reference list.

See Also:
getEntryActions()
Generated:
This code was automatically generated.
Ordered

innerActions

protected EList<Action> innerActions
The cached value of the 'Inner Actions' containment reference list.

See Also:
getInnerActions()
Generated:
This code was automatically generated.
Ordered

exitActions

protected EList<Action> exitActions
The cached value of the 'Exit Actions' containment reference list.

See Also:
getExitActions()
Generated:
This code was automatically generated.
Ordered

renamings

protected EList<Renaming> renamings
The cached value of the 'Renamings' containment reference list.

See Also:
getRenamings()
Generated:
This code was automatically generated.
Ordered

suspensionTrigger

protected Action suspensionTrigger
The cached value of the 'Suspension Trigger' containment reference.

See Also:
getSuspensionTrigger()
Generated:
This code was automatically generated.
Ordered

outgoingTransitions

protected EList<Transition> outgoingTransitions
The cached value of the 'Outgoing Transitions' containment reference list.

See Also:
getOutgoingTransitions()
Generated:
This code was automatically generated.
Ordered

IS_INITIAL_EDEFAULT

protected static final boolean IS_INITIAL_EDEFAULT
The default value of the 'Is Initial' attribute.

See Also:
isIsInitial(), Constant Field Values
Generated:
This code was automatically generated.
Ordered

isInitial

protected boolean isInitial
The cached value of the 'Is Initial' attribute.

See Also:
isIsInitial()
Generated:
This code was automatically generated.
Ordered

IS_FINAL_EDEFAULT

protected static final boolean IS_FINAL_EDEFAULT
The default value of the 'Is Final' attribute.

See Also:
isIsFinal(), Constant Field Values
Generated:
This code was automatically generated.
Ordered

isFinal

protected boolean isFinal
The cached value of the 'Is Final' attribute.

See Also:
isIsFinal()
Generated:
This code was automatically generated.
Ordered

BODY_TEXT_EDEFAULT

protected static final String BODY_TEXT_EDEFAULT
The default value of the 'Body Text' attribute.

See Also:
getBodyText()
Generated:
This code was automatically generated.
Ordered

bodyText

protected String bodyText
The cached value of the 'Body Text' attribute.

See Also:
getBodyText()
Generated:
This code was automatically generated.
Ordered

bodyReference

protected EObject bodyReference
The cached value of the 'Body Reference' reference.

See Also:
getBodyReference()
Generated:
This code was automatically generated.
Ordered

bodyContents

protected EObject bodyContents
The cached value of the 'Body Contents' containment reference.

See Also:
getBodyContents()
Generated:
This code was automatically generated.
Ordered
Constructor Detail

StateImpl

protected StateImpl()

Generated:
This code was automatically generated.
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl
Generated:
This code was automatically generated.

getId

public String getId()

Specified by:
getId in interface State
Returns:
the value of the 'Id' attribute.
See Also:
State.setId(String), SyncchartsPackage.getState_Id()
Generated:
This code was automatically generated.

setId

public void setId(String newId)

Specified by:
setId in interface State
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
State.getId()
Generated:
This code was automatically generated.

getLabel

public String getLabel()

Specified by:
getLabel in interface State
Returns:
the value of the 'Label' attribute.
See Also:
State.setLabel(String), SyncchartsPackage.getState_Label()
Generated:
This code was automatically generated.

setLabel

public void setLabel(String newLabel)

Specified by:
setLabel in interface State
Parameters:
newLabel - the new value of the 'Label' attribute.
See Also:
State.getLabel()
Generated:
This code was automatically generated.

getType

public StateType getType()

Specified by:
getType in interface State
Returns:
the value of the 'Type' attribute.
See Also:
StateType, State.setType(StateType), SyncchartsPackage.getState_Type()
Generated:
This code was automatically generated.

setType

public void setType(StateType newType)

Specified by:
setType in interface State
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
StateType, State.getType()
Generated:
This code was automatically generated.

getSignals

public EList<Signal> getSignals()

Specified by:
getSignals in interface State
Returns:
the value of the 'Signals' containment reference list.
See Also:
SyncchartsPackage.getState_Signals(), Signal.getParentState()
Generated:
This code was automatically generated.

getRegions

public EList<Region> getRegions()

Specified by:
getRegions in interface State
Returns:
the value of the 'Regions' containment reference list.
See Also:
SyncchartsPackage.getState_Regions(), Region.getParentState()
Generated:
This code was automatically generated.

getEntryActions

public EList<Action> getEntryActions()

Specified by:
getEntryActions in interface State
Returns:
the value of the 'Entry Actions' containment reference list.
See Also:
SyncchartsPackage.getState_EntryActions(), Action.getParentStateEntryAction()
Generated:
This code was automatically generated.

getInnerActions

public EList<Action> getInnerActions()

Specified by:
getInnerActions in interface State
Returns:
the value of the 'Inner Actions' containment reference list.
See Also:
SyncchartsPackage.getState_InnerActions(), Action.getParentStateInnerAction()
Generated:
This code was automatically generated.

getExitActions

public EList<Action> getExitActions()

Specified by:
getExitActions in interface State
Returns:
the value of the 'Exit Actions' containment reference list.
See Also:
SyncchartsPackage.getState_ExitActions(), Action.getParentStateExitAction()
Generated:
This code was automatically generated.

getRenamings

public EList<Renaming> getRenamings()

Specified by:
getRenamings in interface State
Returns:
the value of the 'Renamings' containment reference list.
See Also:
SyncchartsPackage.getState_Renamings(), Renaming.getParentState()
Generated:
This code was automatically generated.

getSuspensionTrigger

public Action getSuspensionTrigger()

Specified by:
getSuspensionTrigger in interface State
Returns:
the value of the 'Suspension Trigger' containment reference.
See Also:
State.setSuspensionTrigger(Action), SyncchartsPackage.getState_SuspensionTrigger(), Action.getParentStateSuspension()
Generated:
This code was automatically generated.

basicSetSuspensionTrigger

public NotificationChain basicSetSuspensionTrigger(Action newSuspensionTrigger,
                                                   NotificationChain msgs)

Generated:
This code was automatically generated.

setSuspensionTrigger

public void setSuspensionTrigger(Action newSuspensionTrigger)

Specified by:
setSuspensionTrigger in interface State
Parameters:
newSuspensionTrigger - the new value of the 'Suspension Trigger' containment reference.
See Also:
State.getSuspensionTrigger()
Generated:
This code was automatically generated.

getOutgoingTransitions

public EList<Transition> getOutgoingTransitions()

Specified by:
getOutgoingTransitions in interface State
Returns:
the value of the 'Outgoing Transitions' containment reference list.
See Also:
SyncchartsPackage.getState_OutgoingTransitions(), Transition.getSourceState()
Generated:
This code was automatically generated.

getParentRegion

public Region getParentRegion()

Specified by:
getParentRegion in interface State
Returns:
the value of the 'Parent Region' container reference.
See Also:
State.setParentRegion(Region), SyncchartsPackage.getState_ParentRegion(), Region.getInnerStates()
Generated:
This code was automatically generated.

basicSetParentRegion

public NotificationChain basicSetParentRegion(Region newParentRegion,
                                              NotificationChain msgs)

Generated:
This code was automatically generated.

setParentRegion

public void setParentRegion(Region newParentRegion)

Specified by:
setParentRegion in interface State
Parameters:
newParentRegion - the new value of the 'Parent Region' container reference.
See Also:
State.getParentRegion()
Generated:
This code was automatically generated.

isIsInitial

public boolean isIsInitial()

Specified by:
isIsInitial in interface State
Returns:
the value of the 'Is Initial' attribute.
See Also:
State.setIsInitial(boolean), SyncchartsPackage.getState_IsInitial()
Generated:
This code was automatically generated.

setIsInitial

public void setIsInitial(boolean newIsInitial)

Specified by:
setIsInitial in interface State
Parameters:
newIsInitial - the new value of the 'Is Initial' attribute.
See Also:
State.isIsInitial()
Generated:
This code was automatically generated.

isIsFinal

public boolean isIsFinal()

Specified by:
isIsFinal in interface State
Returns:
the value of the 'Is Final' attribute.
See Also:
State.setIsFinal(boolean), SyncchartsPackage.getState_IsFinal()
Generated:
This code was automatically generated.

setIsFinal

public void setIsFinal(boolean newIsFinal)

Specified by:
setIsFinal in interface State
Parameters:
newIsFinal - the new value of the 'Is Final' attribute.
See Also:
State.isIsFinal()
Generated:
This code was automatically generated.

getBodyText

public String getBodyText()

Specified by:
getBodyText in interface State
Returns:
the value of the 'Body Text' attribute.
See Also:
State.setBodyText(String), SyncchartsPackage.getState_BodyText()
Generated:
This code was automatically generated.

setBodyText

public void setBodyText(String newBodyText)

Specified by:
setBodyText in interface State
Parameters:
newBodyText - the new value of the 'Body Text' attribute.
See Also:
State.getBodyText()
Generated:
This code was automatically generated.

getBodyReference

public EObject getBodyReference()

Specified by:
getBodyReference in interface State
Returns:
the value of the 'Body Reference' reference.
See Also:
State.setBodyReference(EObject), SyncchartsPackage.getState_BodyReference()
Generated:
This code was automatically generated.

basicGetBodyReference

public EObject basicGetBodyReference()

Generated:
This code was automatically generated.

setBodyReference

public void setBodyReference(EObject newBodyReference)

Specified by:
setBodyReference in interface State
Parameters:
newBodyReference - the new value of the 'Body Reference' reference.
See Also:
State.getBodyReference()
Generated:
This code was automatically generated.

getBodyContents

public EObject getBodyContents()

Specified by:
getBodyContents in interface State
Returns:
the value of the 'Body Contents' containment reference.
See Also:
State.setBodyContents(EObject), SyncchartsPackage.getState_BodyContents()
Generated:
This code was automatically generated.

basicSetBodyContents

public NotificationChain basicSetBodyContents(EObject newBodyContents,
                                              NotificationChain msgs)

Generated:
This code was automatically generated.

setBodyContents

public void setBodyContents(EObject newBodyContents)

Specified by:
setBodyContents in interface State
Parameters:
newBodyContents - the new value of the 'Body Contents' containment reference.
See Also:
State.getBodyContents()
Generated:
This code was automatically generated.

eInverseAdd

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

Overrides:
eInverseAdd in class BasicEObjectImpl
Generated:
This code was automatically generated.

eInverseRemove

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

Overrides:
eInverseRemove in class BasicEObjectImpl
Generated:
This code was automatically generated.

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl
Generated:
This code was automatically generated.

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
Generated:
This code was automatically generated.

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
Generated:
This code was automatically generated.

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
Generated:
This code was automatically generated.

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
Generated:
This code was automatically generated.

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl
Generated:
This code was automatically generated.