public class TransitionImpl extends NamespaceImpl implements Transition
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 Behavior |
effect
The cached value of the '
Effect ' containment reference. |
protected Constraint |
guard
The cached value of the '
Guard ' containment reference. |
protected static TransitionKind |
KIND_EDEFAULT
The default value of the '
Kind ' attribute. |
protected static int |
KIND_EFLAG
The flags representing the value of the '
Kind ' attribute. |
protected static int |
KIND_EFLAG_DEFAULT
The flags representing the default value of the '
Kind ' attribute. |
protected static int |
KIND_EFLAG_OFFSET
The offset of the flags representing the value of the '
Kind ' attribute. |
protected Vertex |
source
The cached value of the '
Source ' reference. |
protected Vertex |
target
The cached value of the '
Target ' reference. |
protected org.eclipse.emf.common.util.EList<Trigger> |
trigger
The cached value of the '
Trigger ' containment reference list. |
ownedRule
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 |
TransitionImpl() |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Returns the result of accepting a visit from a visitor.
|
Vertex |
basicGetSource() |
Vertex |
basicGetTarget() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetContainer(Region newContainer,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetEffect(Behavior newEffect,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetGuard(Constraint newGuard,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetSource(Vertex newSource,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetTarget(Vertex newTarget,
org.eclipse.emf.common.notify.NotificationChain msgs) |
Behavior |
createEffect() |
Behavior |
createEffect(org.eclipse.emf.ecore.EClass eClass) |
Constraint |
createGuard() |
Trigger |
createTrigger() |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
Region |
getContainer() |
Behavior |
getEffect() |
Constraint |
getGuard() |
TransitionKind |
getKind() |
Vertex |
getSource() |
Vertex |
getTarget() |
java.util.List<Trigger> |
getTrigger() |
void |
setContainer(Region newContainer) |
void |
setEffect(Behavior newEffect) |
void |
setGuard(Constraint newGuard) |
void |
setKind(TransitionKind newKind) |
void |
setSource(Vertex newSource) |
void |
setTarget(Vertex newTarget) |
java.lang.String |
toString() |
createOwnedRule, getOwnedRule
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
allOwnedElements, create, createExtension, createOwnedComment, eInvoke, getExtension, getOwnedComment, getValue
getETarget, isAdapterForType, notifyChanged, setTarget, unsetTarget
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createOwnedRule, getOwnedRule
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 static final TransitionKind KIND_EDEFAULT
Kind
' attribute.
getKind()
protected static final int KIND_EFLAG_OFFSET
Kind
' attribute.
protected static final int KIND_EFLAG_DEFAULT
Kind
' attribute.
protected static final int KIND_EFLAG
Kind
' attribute.
getKind()
,
Constant Field Valuesprotected Vertex source
Source
' reference.
getSource()
protected Vertex target
Target
' reference.
getTarget()
protected Constraint guard
Guard
' containment reference.
getGuard()
protected Behavior effect
Effect
' containment reference.
getEffect()
protected org.eclipse.emf.common.util.EList<Trigger> trigger
Trigger
' containment reference list.
getTrigger()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NamespaceImpl
public TransitionKind getKind()
getKind
in interface Transition
TransitionKind
,
Transition.setKind(TransitionKind)
,
PivotPackage.getTransition_Kind()
public void setKind(TransitionKind newKind)
setKind
in interface Transition
newKind
- the new value of the 'Kind' attribute.TransitionKind
,
Transition.getKind()
public Region getContainer()
getContainer
in interface Transition
Transition.setContainer(Region)
,
PivotPackage.getTransition_Container()
,
Region.getTransition()
public org.eclipse.emf.common.notify.NotificationChain basicSetContainer(Region newContainer, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setContainer(Region newContainer)
setContainer
in interface Transition
newContainer
- the new value of the 'Container' container reference.Transition.getContainer()
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 ElementImpl
public Vertex getSource()
getSource
in interface Transition
Transition.setSource(Vertex)
,
PivotPackage.getTransition_Source()
,
Vertex.getOutgoing()
public Vertex basicGetSource()
public org.eclipse.emf.common.notify.NotificationChain basicSetSource(Vertex newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSource(Vertex newSource)
setSource
in interface Transition
newSource
- the new value of the 'Source' reference.Transition.getSource()
public Vertex getTarget()
getTarget
in interface org.eclipse.emf.common.notify.Adapter
getTarget
in interface Transition
getTarget
in class PivotObjectImpl
Transition.setTarget(Vertex)
,
PivotPackage.getTransition_Target()
,
Vertex.getIncoming()
public Vertex basicGetTarget()
public org.eclipse.emf.common.notify.NotificationChain basicSetTarget(Vertex newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setTarget(Vertex newTarget)
setTarget
in interface Transition
newTarget
- the new value of the 'Target' reference.Transition.getTarget()
public Constraint getGuard()
getGuard
in interface Transition
Transition.setGuard(Constraint)
,
PivotPackage.getTransition_Guard()
public org.eclipse.emf.common.notify.NotificationChain basicSetGuard(Constraint newGuard, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setGuard(Constraint newGuard)
setGuard
in interface Transition
newGuard
- the new value of the 'Guard' containment reference.Transition.getGuard()
public Constraint createGuard()
createGuard
in interface Transition
Constraint
.Transition.getGuard()
public Behavior getEffect()
getEffect
in interface Transition
Transition.setEffect(Behavior)
,
PivotPackage.getTransition_Effect()
public org.eclipse.emf.common.notify.NotificationChain basicSetEffect(Behavior newEffect, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setEffect(Behavior newEffect)
setEffect
in interface Transition
newEffect
- the new value of the 'Effect' containment reference.Transition.getEffect()
public Behavior createEffect(org.eclipse.emf.ecore.EClass eClass)
createEffect
in interface Transition
eClass
- The Ecore class of the Behavior
to create.Behavior
.Transition.getEffect()
public Behavior createEffect()
createEffect
in interface Transition
StateMachine
.Transition.getEffect()
public java.util.List<Trigger> getTrigger()
getTrigger
in interface Transition
PivotPackage.getTransition_Trigger()
public Trigger createTrigger()
createTrigger
in interface Transition
Trigger
.Transition.getTrigger()
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 NamespaceImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NamespaceImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamespaceImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamespaceImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NamespaceImpl
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 NamespaceImpl