public class StateImpl extends VertexImpl implements State
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<ConnectionPointReference> |
connection
The cached value of the '
Connection' containment reference list. |
protected org.eclipse.emf.common.util.EList<Pseudostate> |
connectionPoint
The cached value of the '
Connection Point' containment reference list. |
protected org.eclipse.emf.common.util.EList<Trigger> |
deferrableTrigger
The cached value of the '
Deferrable Trigger' containment reference list. |
protected Behavior |
doActivity
The cached value of the '
Do Activity' containment reference. |
protected Behavior |
entry
The cached value of the '
Entry' containment reference. |
protected Behavior |
exit
The cached value of the '
Exit' containment reference. |
protected static boolean |
IS_COMPOSITE_EDEFAULT
The default value of the '
Is Composite' attribute. |
protected static boolean |
IS_ORTHOGONAL_EDEFAULT
The default value of the '
Is Orthogonal' attribute. |
protected static boolean |
IS_SIMPLE_EDEFAULT
The default value of the '
Is Simple' attribute. |
protected static boolean |
IS_SUBMACHINE_STATE_EDEFAULT
The default value of the '
Is Submachine State' attribute. |
protected static int |
IS_SUBMACHINE_STATE_EFLAG
The flag representing the value of the '
Is Submachine State' attribute. |
protected org.eclipse.emf.common.util.EList<Constraint> |
ownedRule
The cached value of the '
Owned Rule' containment reference list. |
protected State |
redefinedState
The cached value of the '
Redefined State' reference. |
protected org.eclipse.emf.common.util.EList<Region> |
region
The cached value of the '
Region' containment reference list. |
protected Constraint |
stateInvariant
The cached value of the '
State Invariant' containment reference. |
protected StateMachine |
submachine
The cached value of the '
Submachine' reference. |
incoming, outgoingIS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT, ownedAnnotationextension, ownedCommenteAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
StateImpl() |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> visitor)
Returns the result of accepting a visit from a visitor.
|
State |
basicGetRedefinedState() |
StateMachine |
basicGetSubmachine() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetDoActivity(Behavior newDoActivity,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetEntry(Behavior newEntry,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetExit(Behavior newExit,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetStateInvariant(Constraint newStateInvariant,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetSubmachine(StateMachine newSubmachine,
org.eclipse.emf.common.notify.NotificationChain msgs) |
ConnectionPointReference |
createConnection() |
Pseudostate |
createConnectionPoint() |
Trigger |
createDeferrableTrigger() |
Behavior |
createDoActivity() |
Behavior |
createDoActivity(org.eclipse.emf.ecore.EClass eClass) |
Behavior |
createEntry() |
Behavior |
createEntry(org.eclipse.emf.ecore.EClass eClass) |
Behavior |
createExit() |
Behavior |
createExit(org.eclipse.emf.ecore.EClass eClass) |
Constraint |
createOwnedRule() |
Region |
createRegion() |
Constraint |
createStateInvariant() |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.util.List<ConnectionPointReference> |
getConnection() |
java.util.List<Pseudostate> |
getConnectionPoint() |
java.util.List<Trigger> |
getDeferrableTrigger() |
Behavior |
getDoActivity() |
Behavior |
getEntry() |
Behavior |
getExit() |
java.util.List<Constraint> |
getOwnedRule() |
State |
getRedefinedState() |
java.util.List<Region> |
getRegion() |
Constraint |
getStateInvariant() |
StateMachine |
getSubmachine() |
boolean |
isComposite() |
boolean |
isOrthogonal() |
boolean |
isSimple() |
boolean |
isSubmachineState() |
void |
setDoActivity(Behavior newDoActivity) |
void |
setEntry(Behavior newEntry) |
void |
setExit(Behavior newExit) |
void |
setIsComposite(boolean newIsComposite) |
void |
setIsOrthogonal(boolean newIsOrthogonal) |
void |
setIsSimple(boolean newIsSimple) |
void |
setIsSubmachineState(boolean newIsSubmachineState) |
void |
setRedefinedState(State newRedefinedState) |
void |
setStateInvariant(Constraint newStateInvariant) |
void |
setSubmachine(StateMachine newSubmachine) |
java.lang.String |
toString() |
basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, getIncoming, getOutgoing, setContainercreateOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setNameallOwnedElements, create, createExtension, createOwnedComment, eInvoke, getExtension, getOwnedComment, getValuegetETarget, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTargeteAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainer, getIncoming, getOutgoing, setContainercreateOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setNameallOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, getOwnedComment, getValueeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected org.eclipse.emf.common.util.EList<Constraint> ownedRule
Owned Rule' containment reference list.
getOwnedRule()protected static final boolean IS_COMPOSITE_EDEFAULT
Is Composite' attribute.
isComposite(),
Constant Field Valuesprotected static final boolean IS_ORTHOGONAL_EDEFAULT
Is Orthogonal' attribute.
isOrthogonal(),
Constant Field Valuesprotected static final boolean IS_SIMPLE_EDEFAULT
Is Simple' attribute.
isSimple(),
Constant Field Valuesprotected static final boolean IS_SUBMACHINE_STATE_EDEFAULT
Is Submachine State' attribute.
isSubmachineState(),
Constant Field Valuesprotected static final int IS_SUBMACHINE_STATE_EFLAG
Is Submachine State' attribute.
isSubmachineState(),
Constant Field Valuesprotected StateMachine submachine
Submachine' reference.
getSubmachine()protected org.eclipse.emf.common.util.EList<ConnectionPointReference> connection
Connection' containment reference list.
getConnection()protected State redefinedState
Redefined State' reference.
getRedefinedState()protected org.eclipse.emf.common.util.EList<Region> region
Region' containment reference list.
getRegion()protected Constraint stateInvariant
State Invariant' containment reference.
getStateInvariant()protected Behavior entry
Entry' containment reference.
getEntry()protected Behavior exit
Exit' containment reference.
getExit()protected Behavior doActivity
Do Activity' containment reference.
getDoActivity()protected org.eclipse.emf.common.util.EList<Pseudostate> connectionPoint
Connection Point' containment reference list.
getConnectionPoint()protected org.eclipse.emf.common.util.EList<Trigger> deferrableTrigger
Deferrable Trigger' containment reference list.
getDeferrableTrigger()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class VertexImpl@NonNull public java.util.List<Constraint> getOwnedRule()
getOwnedRule in interface DomainNamespacegetOwnedRule in interface NamespacePivotPackage.getNamespace_OwnedRule()public Constraint createOwnedRule()
createOwnedRule in interface NamespaceConstraint.Namespace.getOwnedRule()public boolean isComposite()
isComposite in interface StateState.setIsComposite(boolean),
PivotPackage.getState_IsComposite()public void setIsComposite(boolean newIsComposite)
setIsComposite in interface StatenewIsComposite - the new value of the 'Is Composite' attribute.State.isComposite()public boolean isOrthogonal()
isOrthogonal in interface StateState.setIsOrthogonal(boolean),
PivotPackage.getState_IsOrthogonal()public void setIsOrthogonal(boolean newIsOrthogonal)
setIsOrthogonal in interface StatenewIsOrthogonal - the new value of the 'Is Orthogonal' attribute.State.isOrthogonal()public boolean isSimple()
isSimple in interface StateState.setIsSimple(boolean),
PivotPackage.getState_IsSimple()public void setIsSimple(boolean newIsSimple)
setIsSimple in interface StatenewIsSimple - the new value of the 'Is Simple' attribute.State.isSimple()public boolean isSubmachineState()
isSubmachineState in interface StateState.setIsSubmachineState(boolean),
PivotPackage.getState_IsSubmachineState()public void setIsSubmachineState(boolean newIsSubmachineState)
setIsSubmachineState in interface StatenewIsSubmachineState - the new value of the 'Is Submachine State' attribute.State.isSubmachineState()public StateMachine getSubmachine()
getSubmachine in interface StateState.setSubmachine(StateMachine),
PivotPackage.getState_Submachine(),
StateMachine.getSubmachineState()public StateMachine basicGetSubmachine()
public org.eclipse.emf.common.notify.NotificationChain basicSetSubmachine(StateMachine newSubmachine, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSubmachine(StateMachine newSubmachine)
setSubmachine in interface StatenewSubmachine - the new value of the 'Submachine' reference.State.getSubmachine()public java.util.List<ConnectionPointReference> getConnection()
getConnection in interface StatePivotPackage.getState_Connection()public ConnectionPointReference createConnection()
createConnection in interface StateConnectionPointReference.State.getConnection()public State getRedefinedState()
getRedefinedState in interface StateState.setRedefinedState(State),
PivotPackage.getState_RedefinedState()public State basicGetRedefinedState()
public void setRedefinedState(State newRedefinedState)
setRedefinedState in interface StatenewRedefinedState - the new value of the 'Redefined State' reference.State.getRedefinedState()public java.util.List<Region> getRegion()
getRegion in interface StatePivotPackage.getState_Region()public Region createRegion()
createRegion in interface StateRegion.State.getRegion()public Constraint getStateInvariant()
getStateInvariant in interface StateState.setStateInvariant(Constraint),
PivotPackage.getState_StateInvariant()public org.eclipse.emf.common.notify.NotificationChain basicSetStateInvariant(Constraint newStateInvariant, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setStateInvariant(Constraint newStateInvariant)
setStateInvariant in interface StatenewStateInvariant - the new value of the 'State Invariant' containment reference.State.getStateInvariant()public Constraint createStateInvariant()
createStateInvariant in interface StateConstraint.State.getStateInvariant()public Behavior getEntry()
getEntry in interface StateState.setEntry(Behavior),
PivotPackage.getState_Entry()public org.eclipse.emf.common.notify.NotificationChain basicSetEntry(Behavior newEntry, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setEntry(Behavior newEntry)
setEntry in interface StatenewEntry - the new value of the 'Entry' containment reference.State.getEntry()public Behavior createEntry(org.eclipse.emf.ecore.EClass eClass)
createEntry in interface StateeClass - The Ecore class of the Behavior to create.Behavior.State.getEntry()public Behavior createEntry()
createEntry in interface StateStateMachine.State.getEntry()public Behavior getExit()
getExit in interface StateState.setExit(Behavior),
PivotPackage.getState_Exit()public org.eclipse.emf.common.notify.NotificationChain basicSetExit(Behavior newExit, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setExit(Behavior newExit)
setExit in interface StatenewExit - the new value of the 'Exit' containment reference.State.getExit()public Behavior createExit(org.eclipse.emf.ecore.EClass eClass)
createExit in interface StateeClass - The Ecore class of the Behavior to create.Behavior.State.getExit()public Behavior createExit()
createExit in interface StateStateMachine.State.getExit()public Behavior getDoActivity()
getDoActivity in interface StateState.setDoActivity(Behavior),
PivotPackage.getState_DoActivity()public org.eclipse.emf.common.notify.NotificationChain basicSetDoActivity(Behavior newDoActivity, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setDoActivity(Behavior newDoActivity)
setDoActivity in interface StatenewDoActivity - the new value of the 'Do Activity' containment reference.State.getDoActivity()public Behavior createDoActivity(org.eclipse.emf.ecore.EClass eClass)
createDoActivity in interface StateeClass - The Ecore class of the Behavior to create.Behavior.State.getDoActivity()public Behavior createDoActivity()
createDoActivity in interface StateStateMachine.State.getDoActivity()public java.util.List<Pseudostate> getConnectionPoint()
getConnectionPoint in interface StatePivotPackage.getState_ConnectionPoint()public Pseudostate createConnectionPoint()
createConnectionPoint in interface StatePseudostate.State.getConnectionPoint()public java.util.List<Trigger> getDeferrableTrigger()
getDeferrableTrigger in interface StatePivotPackage.getState_DeferrableTrigger()public Trigger createDeferrableTrigger()
createDeferrableTrigger in interface StateTrigger.State.getDeferrableTrigger()public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class VertexImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class VertexImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class VertexImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class VertexImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class VertexImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class VertexImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class NamedElementImplpublic <R> R accept(@NonNull
Visitor<R> visitor)
VisitableImplementations of visit() may use the EcoreSwitch to perform derived-class-specific processing.
Derived implementations of accept() may use getAdapter() to obtain richer visitor interfaces.
accept in interface Visitableaccept in class VertexImpl