org.eclipse.ocl.examples.pivot.internal.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 org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl
                  extended by org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl
                      extended by org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl
                          extended by org.eclipse.ocl.examples.pivot.internal.impl.VertexImpl
                              extended by org.eclipse.ocl.examples.pivot.internal.impl.StateImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, DomainElement, DomainNamedElement, DomainNamespace, Labelable, Nameable, Element, NamedElement, Namespace, State, Visitable, PivotObject, Vertex
Direct Known Subclasses:
FinalStateImpl

public class StateImpl
extends VertexImpl
implements State

An implementation of the model object 'State'.

The following features are implemented:

Generated

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
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.
 
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.VertexImpl
incoming, outgoing
 
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl
IS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl
extension, ownedAnnotation, ownedComment
 
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
<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)
           
 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 setIsSubmachineState(boolean newIsSubmachineState)
           
 void setRedefinedState(State newRedefinedState)
           
 void setStateInvariant(Constraint newStateInvariant)
           
 void setSubmachine(StateMachine newSubmachine)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.VertexImpl
basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, getIncoming, getOutgoing, setContainer
 
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl
getName, isStatic, setIsStatic, setName
 
Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl
allOwnedElements, eInvoke, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
Methods inherited from class org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl
eBasicSetContainer, eBasicSetContainer, getETarget, getImage, getTarget, getText, isAdapterForType, notifyChanged, setTarget, unsetTarget
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, 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
 
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.ocl.examples.pivot.Vertex
getContainer, getIncoming, getOutgoing, setContainer
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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.ocl.examples.pivot.util.Visitable
eClass
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

ownedRule

protected org.eclipse.emf.common.util.EList<Constraint> ownedRule
The cached value of the 'Owned Rule' containment reference list.

See Also:
getOwnedRule()
Generated
Ordered

connection

protected org.eclipse.emf.common.util.EList<ConnectionPointReference> connection
The cached value of the 'Connection' containment reference list.

See Also:
getConnection()
Generated
Ordered

connectionPoint

protected org.eclipse.emf.common.util.EList<Pseudostate> connectionPoint
The cached value of the 'Connection Point' containment reference list.

See Also:
getConnectionPoint()
Generated
Ordered

deferrableTrigger

protected org.eclipse.emf.common.util.EList<Trigger> deferrableTrigger
The cached value of the 'Deferrable Trigger' containment reference list.

See Also:
getDeferrableTrigger()
Generated
Ordered

doActivity

protected Behavior doActivity
The cached value of the 'Do Activity' containment reference.

See Also:
getDoActivity()
Generated
Ordered

entry

protected Behavior entry
The cached value of the 'Entry' containment reference.

See Also:
getEntry()
Generated
Ordered

exit

protected Behavior exit
The cached value of the 'Exit' containment reference.

See Also:
getExit()
Generated
Ordered

IS_COMPOSITE_EDEFAULT

protected static final boolean IS_COMPOSITE_EDEFAULT
The default value of the 'Is Composite' attribute.

See Also:
isComposite(), Constant Field Values
Generated
Ordered

IS_ORTHOGONAL_EDEFAULT

protected static final boolean IS_ORTHOGONAL_EDEFAULT
The default value of the 'Is Orthogonal' attribute.

See Also:
isOrthogonal(), Constant Field Values
Generated
Ordered

IS_SIMPLE_EDEFAULT

protected static final boolean IS_SIMPLE_EDEFAULT
The default value of the 'Is Simple' attribute.

See Also:
isSimple(), Constant Field Values
Generated
Ordered

IS_SUBMACHINE_STATE_EDEFAULT

protected static final boolean IS_SUBMACHINE_STATE_EDEFAULT
The default value of the 'Is Submachine State' attribute.

See Also:
isSubmachineState(), Constant Field Values
Generated
Ordered

IS_SUBMACHINE_STATE_EFLAG

protected static final int IS_SUBMACHINE_STATE_EFLAG
The flag representing the value of the 'Is Submachine State' attribute.

See Also:
isSubmachineState(), Constant Field Values
Generated
Ordered

redefinedState

protected State redefinedState
The cached value of the 'Redefined State' reference.

See Also:
getRedefinedState()
Generated
Ordered

region

protected org.eclipse.emf.common.util.EList<Region> region
The cached value of the 'Region' containment reference list.

See Also:
getRegion()
Generated
Ordered

stateInvariant

protected Constraint stateInvariant
The cached value of the 'State Invariant' containment reference.

See Also:
getStateInvariant()
Generated
Ordered

submachine

protected StateMachine submachine
The cached value of the 'Submachine' reference.

See Also:
getSubmachine()
Generated
Ordered
Constructor Detail

StateImpl

protected StateImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class VertexImpl
Generated

getOwnedRule

@NonNull
public java.util.List<Constraint> getOwnedRule()

Specified by:
getOwnedRule in interface DomainNamespace
Specified by:
getOwnedRule in interface Namespace
Returns:
the value of the 'Owned Rule' containment reference list.
See Also:
PivotPackage.getNamespace_OwnedRule()
Generated

isComposite

public boolean isComposite()

Specified by:
isComposite in interface State
Returns:
the value of the 'Is Composite' attribute.
See Also:
PivotPackage.getState_IsComposite()
Generated
NOT

isOrthogonal

public boolean isOrthogonal()

Specified by:
isOrthogonal in interface State
Returns:
the value of the 'Is Orthogonal' attribute.
See Also:
PivotPackage.getState_IsOrthogonal()
Generated
NOT

isSimple

public boolean isSimple()

Specified by:
isSimple in interface State
Returns:
the value of the 'Is Simple' attribute.
See Also:
PivotPackage.getState_IsSimple()
Generated
NOT

isSubmachineState

public boolean isSubmachineState()

Specified by:
isSubmachineState in interface State
Returns:
the value of the 'Is Submachine State' attribute.
See Also:
State.setIsSubmachineState(boolean), PivotPackage.getState_IsSubmachineState()
Generated
NOT

setIsSubmachineState

public void setIsSubmachineState(boolean newIsSubmachineState)

Specified by:
setIsSubmachineState in interface State
Parameters:
newIsSubmachineState - the new value of the 'Is Submachine State' attribute.
See Also:
State.isSubmachineState()
Generated

getSubmachine

public StateMachine getSubmachine()

Specified by:
getSubmachine in interface State
Returns:
the value of the 'Submachine' reference.
See Also:
State.setSubmachine(StateMachine), PivotPackage.getState_Submachine(), StateMachine.getSubmachineState()
Generated

basicGetSubmachine

public StateMachine basicGetSubmachine()

Generated

basicSetSubmachine

public org.eclipse.emf.common.notify.NotificationChain basicSetSubmachine(StateMachine newSubmachine,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setSubmachine

public void setSubmachine(StateMachine newSubmachine)

Specified by:
setSubmachine in interface State
Parameters:
newSubmachine - the new value of the 'Submachine' reference.
See Also:
State.getSubmachine()
Generated

getConnection

public java.util.List<ConnectionPointReference> getConnection()

Specified by:
getConnection in interface State
Returns:
the value of the 'Connection' containment reference list.
See Also:
PivotPackage.getState_Connection(), ConnectionPointReference.getState()
Generated

getRedefinedState

public State getRedefinedState()

Specified by:
getRedefinedState in interface State
Returns:
the value of the 'Redefined State' reference.
See Also:
State.setRedefinedState(State), PivotPackage.getState_RedefinedState()
Generated

basicGetRedefinedState

public State basicGetRedefinedState()

Generated

setRedefinedState

public void setRedefinedState(State newRedefinedState)

Specified by:
setRedefinedState in interface State
Parameters:
newRedefinedState - the new value of the 'Redefined State' reference.
See Also:
State.getRedefinedState()
Generated

getRegion

public java.util.List<Region> getRegion()

Specified by:
getRegion in interface State
Returns:
the value of the 'Region' containment reference list.
See Also:
PivotPackage.getState_Region(), Region.getState()
Generated

getStateInvariant

public Constraint getStateInvariant()

Specified by:
getStateInvariant in interface State
Returns:
the value of the 'State Invariant' containment reference.
See Also:
State.setStateInvariant(Constraint), PivotPackage.getState_StateInvariant(), Constraint.getOwningState()
Generated

basicSetStateInvariant

public org.eclipse.emf.common.notify.NotificationChain basicSetStateInvariant(Constraint newStateInvariant,
                                                                              org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setStateInvariant

public void setStateInvariant(Constraint newStateInvariant)

Specified by:
setStateInvariant in interface State
Parameters:
newStateInvariant - the new value of the 'State Invariant' containment reference.
See Also:
State.getStateInvariant()
Generated

getEntry

public Behavior getEntry()

Specified by:
getEntry in interface State
Returns:
the value of the 'Entry' containment reference.
See Also:
State.setEntry(Behavior), PivotPackage.getState_Entry()
Generated

basicSetEntry

public org.eclipse.emf.common.notify.NotificationChain basicSetEntry(Behavior newEntry,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setEntry

public void setEntry(Behavior newEntry)

Specified by:
setEntry in interface State
Parameters:
newEntry - the new value of the 'Entry' containment reference.
See Also:
State.getEntry()
Generated

getExit

public Behavior getExit()

Specified by:
getExit in interface State
Returns:
the value of the 'Exit' containment reference.
See Also:
State.setExit(Behavior), PivotPackage.getState_Exit()
Generated

basicSetExit

public org.eclipse.emf.common.notify.NotificationChain basicSetExit(Behavior newExit,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setExit

public void setExit(Behavior newExit)

Specified by:
setExit in interface State
Parameters:
newExit - the new value of the 'Exit' containment reference.
See Also:
State.getExit()
Generated

getDoActivity

public Behavior getDoActivity()

Specified by:
getDoActivity in interface State
Returns:
the value of the 'Do Activity' containment reference.
See Also:
State.setDoActivity(Behavior), PivotPackage.getState_DoActivity()
Generated

basicSetDoActivity

public org.eclipse.emf.common.notify.NotificationChain basicSetDoActivity(Behavior newDoActivity,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setDoActivity

public void setDoActivity(Behavior newDoActivity)

Specified by:
setDoActivity in interface State
Parameters:
newDoActivity - the new value of the 'Do Activity' containment reference.
See Also:
State.getDoActivity()
Generated

getConnectionPoint

public java.util.List<Pseudostate> getConnectionPoint()

Specified by:
getConnectionPoint in interface State
Returns:
the value of the 'Connection Point' containment reference list.
See Also:
PivotPackage.getState_ConnectionPoint(), Pseudostate.getState()
Generated

getDeferrableTrigger

public java.util.List<Trigger> getDeferrableTrigger()

Specified by:
getDeferrableTrigger in interface State
Returns:
the value of the 'Deferrable Trigger' containment reference list.
See Also:
PivotPackage.getState_DeferrableTrigger(), Trigger.getState()
Generated

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class VertexImpl
Generated

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class VertexImpl
Generated

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class VertexImpl
Generated

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class VertexImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class VertexImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class VertexImpl
Generated

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

toString

public java.lang.String toString()

Overrides:
toString in class NamedElementImpl
Generated

accept

public <R> R accept(@NonNull
                    Visitor<R> visitor)
Description copied from interface: Visitable
Returns the result of accepting a visit from a visitor. Implementations typically invoke a derived-class-specific variant of visitXXX() to facilitate derived-class-specific processing or just visit() when no such method is available.

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.

Specified by:
accept in interface Visitable
Overrides:
accept in class VertexImpl
Returns:
the result of the visit.