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.EPropertiesHolderImpl
org.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, outgoing
IS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT, ownedAnnotation
extension, ownedComment
eAdapters, 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, setContainer
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
allOwnedElements, create, createExtension, createOwnedComment, eInvoke, getExtension, getOwnedComment, getValue
getETarget, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainer, getIncoming, getOutgoing, setContainer
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, getOwnedComment, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected 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 DomainNamespace
getOwnedRule
in interface Namespace
PivotPackage.getNamespace_OwnedRule()
public Constraint createOwnedRule()
createOwnedRule
in interface Namespace
Constraint
.Namespace.getOwnedRule()
public boolean isComposite()
isComposite
in interface State
State.setIsComposite(boolean)
,
PivotPackage.getState_IsComposite()
public void setIsComposite(boolean newIsComposite)
setIsComposite
in interface State
newIsComposite
- the new value of the 'Is Composite' attribute.State.isComposite()
public boolean isOrthogonal()
isOrthogonal
in interface State
State.setIsOrthogonal(boolean)
,
PivotPackage.getState_IsOrthogonal()
public void setIsOrthogonal(boolean newIsOrthogonal)
setIsOrthogonal
in interface State
newIsOrthogonal
- the new value of the 'Is Orthogonal' attribute.State.isOrthogonal()
public boolean isSimple()
isSimple
in interface State
State.setIsSimple(boolean)
,
PivotPackage.getState_IsSimple()
public void setIsSimple(boolean newIsSimple)
setIsSimple
in interface State
newIsSimple
- the new value of the 'Is Simple' attribute.State.isSimple()
public boolean isSubmachineState()
isSubmachineState
in interface State
State.setIsSubmachineState(boolean)
,
PivotPackage.getState_IsSubmachineState()
public void setIsSubmachineState(boolean newIsSubmachineState)
setIsSubmachineState
in interface State
newIsSubmachineState
- the new value of the 'Is Submachine State' attribute.State.isSubmachineState()
public StateMachine getSubmachine()
getSubmachine
in interface State
State.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 State
newSubmachine
- the new value of the 'Submachine' reference.State.getSubmachine()
public java.util.List<ConnectionPointReference> getConnection()
getConnection
in interface State
PivotPackage.getState_Connection()
public ConnectionPointReference createConnection()
createConnection
in interface State
ConnectionPointReference
.State.getConnection()
public State getRedefinedState()
getRedefinedState
in interface State
State.setRedefinedState(State)
,
PivotPackage.getState_RedefinedState()
public State basicGetRedefinedState()
public void setRedefinedState(State newRedefinedState)
setRedefinedState
in interface State
newRedefinedState
- the new value of the 'Redefined State' reference.State.getRedefinedState()
public java.util.List<Region> getRegion()
getRegion
in interface State
PivotPackage.getState_Region()
public Region createRegion()
createRegion
in interface State
Region
.State.getRegion()
public Constraint getStateInvariant()
getStateInvariant
in interface State
State.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 State
newStateInvariant
- the new value of the 'State Invariant' containment reference.State.getStateInvariant()
public Constraint createStateInvariant()
createStateInvariant
in interface State
Constraint
.State.getStateInvariant()
public Behavior getEntry()
getEntry
in interface State
State.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 State
newEntry
- the new value of the 'Entry' containment reference.State.getEntry()
public Behavior createEntry(org.eclipse.emf.ecore.EClass eClass)
createEntry
in interface State
eClass
- The Ecore class of the Behavior
to create.Behavior
.State.getEntry()
public Behavior createEntry()
createEntry
in interface State
StateMachine
.State.getEntry()
public Behavior getExit()
getExit
in interface State
State.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 State
newExit
- the new value of the 'Exit' containment reference.State.getExit()
public Behavior createExit(org.eclipse.emf.ecore.EClass eClass)
createExit
in interface State
eClass
- The Ecore class of the Behavior
to create.Behavior
.State.getExit()
public Behavior createExit()
createExit
in interface State
StateMachine
.State.getExit()
public Behavior getDoActivity()
getDoActivity
in interface State
State.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 State
newDoActivity
- the new value of the 'Do Activity' containment reference.State.getDoActivity()
public Behavior createDoActivity(org.eclipse.emf.ecore.EClass eClass)
createDoActivity
in interface State
eClass
- The Ecore class of the Behavior
to create.Behavior
.State.getDoActivity()
public Behavior createDoActivity()
createDoActivity
in interface State
StateMachine
.State.getDoActivity()
public java.util.List<Pseudostate> getConnectionPoint()
getConnectionPoint
in interface State
PivotPackage.getState_ConnectionPoint()
public Pseudostate createConnectionPoint()
createConnectionPoint
in interface State
Pseudostate
.State.getConnectionPoint()
public java.util.List<Trigger> getDeferrableTrigger()
getDeferrableTrigger
in interface State
PivotPackage.getState_DeferrableTrigger()
public Trigger createDeferrableTrigger()
createDeferrableTrigger
in interface State
Trigger
.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 VertexImpl
public 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 VertexImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class VertexImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class VertexImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class VertexImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class VertexImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class NamedElementImpl
public <R> R accept(@NonNull Visitor<R> visitor)
Visitable
Implementations 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 Visitable
accept
in class VertexImpl