Package com.sodius.mdw.metamodel.uml21
Interface Vertex
-
- All Superinterfaces:
Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ConnectionPointReference,FinalState,Pseudostate,State
public interface Vertex extends NamedElement
A representation of the model object 'Vertex'. A vertex is an abstraction of a node in a state machine graph. In general, it can be the source or destination of any number of transitions.The following features are supported:
- See Also:
UMLPackage.getVertex()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateMachinecontainingStateMachine()The operation containingStateMachine() returns the state machine in which this Vertex is defined result = if not container->isEmpty() then -- the container is a region container.containingStateMachine() else if (oclIsKindOf(Pseudostate)) then -- entry or exit point? if (kind = #entryPoint) or (kind = #exitPoint) then stateMachine else if (oclIsKindOf(ConnectionPointReference)) then state.containingStateMachine() -- no other valid cases possible endifRegiongetContainer()Returns the value of the 'Container' container reference.TransitiongetIncoming(String name)Retrieves the firstTransitionwith the specified 'Name' from the ' Incoming' reference list.TransitiongetIncoming(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstTransitionwith the specified 'Name' from the ' Incoming' reference list.MDWEList<Transition>getIncomings()Returns the value of the 'Incoming' reference list.TransitiongetOutgoing(String name)Retrieves the firstTransitionwith the specified 'Name' from the ' Outgoing' reference list.TransitiongetOutgoing(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstTransitionwith the specified 'Name' from the ' Outgoing' reference list.MDWEList<Transition>getOutgoings()Returns the value of the 'Outgoing' reference list.voidsetContainer(Region value)Sets the value of the 'Container' container reference.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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 com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
-
-
-
Method Detail
-
getOutgoings
MDWEList<Transition> getOutgoings()
Returns the value of the 'Outgoing' reference list. The list contents are of typeTransition. It is bidirectional and its opposite is 'Source'. Specifies the transitions departing from this vertex.- Returns:
- the value of the 'Outgoing' reference list.
- See Also:
UMLPackage.getVertex_Outgoing(),Transition.getSource()
-
getOutgoing
Transition getOutgoing(String name)
Retrieves the firstTransitionwith the specified 'Name' from the ' Outgoing' reference list.- Parameters:
name- The 'Name' of theTransitionto retrieve, ornull.- Returns:
- The first
Transitionwith the specified 'Name', ornull. - See Also:
getOutgoings()
-
getOutgoing
Transition getOutgoing(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstTransitionwith the specified 'Name' from the ' Outgoing' reference list.- Parameters:
name- The 'Name' of theTransitionto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theTransitionto retrieve, ornull.- Returns:
- The first
Transitionwith the specified 'Name', ornull. - See Also:
getOutgoings()
-
getIncomings
MDWEList<Transition> getIncomings()
Returns the value of the 'Incoming' reference list. The list contents are of typeTransition. It is bidirectional and its opposite is 'Target'. Specifies the transitions entering this vertex.- Returns:
- the value of the 'Incoming' reference list.
- See Also:
UMLPackage.getVertex_Incoming(),Transition.getTarget()
-
getIncoming
Transition getIncoming(String name)
Retrieves the firstTransitionwith the specified 'Name' from the ' Incoming' reference list.- Parameters:
name- The 'Name' of theTransitionto retrieve, ornull.- Returns:
- The first
Transitionwith the specified 'Name', ornull. - See Also:
getIncomings()
-
getIncoming
Transition getIncoming(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstTransitionwith the specified 'Name' from the ' Incoming' reference list.- Parameters:
name- The 'Name' of theTransitionto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theTransitionto retrieve, ornull.- Returns:
- The first
Transitionwith the specified 'Name', ornull. - See Also:
getIncomings()
-
getContainer
Region getContainer()
Returns the value of the 'Container' container reference. It is bidirectional and its opposite is 'Subvertex'. The region that contains this vertex.- Returns:
- the value of the 'Container' container reference.
- See Also:
setContainer(Region),UMLPackage.getVertex_Container(),Region.getSubvertices()
-
setContainer
void setContainer(Region value)
Sets the value of the 'Container' container reference.- Parameters:
value- the new value of the 'Container' container reference.- See Also:
getContainer()
-
containingStateMachine
StateMachine containingStateMachine()
The operation containingStateMachine() returns the state machine in which this Vertex is defined result = if not container->isEmpty() then -- the container is a region container.containingStateMachine() else if (oclIsKindOf(Pseudostate)) then -- entry or exit point? if (kind = #entryPoint) or (kind = #exitPoint) then stateMachine else if (oclIsKindOf(ConnectionPointReference)) then state.containingStateMachine() -- no other valid cases possible endif
-
-