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.core.annotations.impl.AnnotatableImpl
                  extended by de.cau.cs.kieler.synccharts.impl.ScopeImpl
                      extended by de.cau.cs.kieler.synccharts.impl.StateImpl
All Implemented Interfaces:
Annotatable, Scope, State, Notifier, EObject, InternalEObject

public class StateImpl
extends ScopeImpl
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>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
static String copyright
           
protected  EList<Transition> incomingTransitions
          The cached value of the 'Incoming Transitions' 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  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  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 de.cau.cs.kieler.synccharts.impl.ScopeImpl
bodyContents, bodyReference, bodyText, entryActions, exitActions, id, ID_EDEFAULT, innerActions, INTERFACE_DECLARATION_EDEFAULT, interfaceDeclaration, label, LABEL_EDEFAULT, renamings, signals, suspensionTrigger, variables
 
Fields inherited from class de.cau.cs.kieler.core.annotations.impl.AnnotatableImpl
annotations
 
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
 NotificationChain basicSetParentRegion(Region newParentRegion, 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)
           
 EList<Transition> getIncomingTransitions()
           
 EList<Transition> getOutgoingTransitions()
           
 Region getParentRegion()
           
 EList<Region> getRegions()
           
 StateType getType()
           
 boolean isIsFinal()
           
 boolean isIsInitial()
           
 void setIsFinal(boolean newIsFinal)
           
 void setIsInitial(boolean newIsInitial)
           
 void setParentRegion(Region newParentRegion)
           
 void setType(StateType newType)
           
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.synccharts.impl.ScopeImpl
basicGetBodyReference, basicSetBodyContents, basicSetSuspensionTrigger, getBodyContents, getBodyReference, getBodyText, getEntryActions, getExitActions, getId, getInnerActions, getInterfaceDeclaration, getLabel, getRenamings, getSignals, getSuspensionTrigger, getVariables, setBodyContents, setBodyReference, setId, setInterfaceDeclaration, setLabel, setSuspensionTrigger
 
Methods inherited from class de.cau.cs.kieler.core.annotations.impl.AnnotatableImpl
getAllAnnotations, getAnnotation, getAnnotations, removeAllAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, 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, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, 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 de.cau.cs.kieler.synccharts.Scope
getBodyContents, getBodyReference, getBodyText, getEntryActions, getExitActions, getId, getInnerActions, getInterfaceDeclaration, getLabel, getRenamings, getSignals, getSuspensionTrigger, getVariables, setBodyContents, setBodyReference, setId, setInterfaceDeclaration, setLabel, setSuspensionTrigger
 
Methods inherited from interface de.cau.cs.kieler.core.annotations.Annotatable
getAllAnnotations, getAnnotation, getAnnotations, removeAllAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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

copyright

public static final String copyright

See Also:
Constant Field Values
Generated:
This code was automatically generated.

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

regions

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

See Also:
getRegions()
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

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

incomingTransitions

protected EList<Transition> incomingTransitions
The cached value of the 'Incoming Transitions' reference list.

See Also:
getIncomingTransitions()
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 ScopeImpl
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.

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.

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.getStates()
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.

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.

getIncomingTransitions

public EList<Transition> getIncomingTransitions()

Specified by:
getIncomingTransitions in interface State
Returns:
the value of the 'Incoming Transitions' reference list.
See Also:
SyncchartsPackage.getState_IncomingTransitions(), Transition.getTargetState()
Generated:
This code was automatically generated.

eInverseAdd

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

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

eInverseRemove

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

Overrides:
eInverseRemove in class ScopeImpl
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 ScopeImpl
Generated:
This code was automatically generated.

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public String toString()

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