Package com.sodius.mdw.metamodel.uml21
Interface InterruptibleActivityRegion
-
- All Superinterfaces:
ActivityGroup
,Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
public interface InterruptibleActivityRegion extends ActivityGroup
A representation of the model object 'Interruptible Activity Region'. An interruptible activity region is an activity group that supports termination of tokens flowing in the portions of an activity.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityEdge
getInterruptingEdge(String name)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Interrupting Edge' reference list.ActivityEdge
getInterruptingEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Interrupting Edge' reference list.MDWEList<ActivityEdge>
getInterruptingEdges()
Returns the value of the 'Interrupting Edge' reference list.ActivityNode
getNode(String name)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Node' reference list.ActivityNode
getNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Node' reference list.MDWEList<ActivityNode>
getNodes()
Returns the value of the 'Node' reference list.boolean
validateInterruptingEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Interrupting edges of a region must have their source node in the region and their target node outside the region in the same activity containing the region.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ActivityGroup
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroups, getSuperGroup, setInActivity, validateGroupOwned, validateNodesAndEdges, validateNotContained
-
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
-
-
-
-
Method Detail
-
getNodes
MDWEList<ActivityNode> getNodes()
Returns the value of the 'Node' reference list. The list contents are of typeActivityNode
. It is bidirectional and its opposite is 'In Interruptible Region
'. Nodes immediately contained in the group.- Returns:
- the value of the 'Node' reference list.
- See Also:
UMLPackage.getInterruptibleActivityRegion_Node()
,ActivityNode.getInInterruptibleRegions()
-
getNode
ActivityNode getNode(String name)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Node' reference list.- Parameters:
name
- The 'Name' of theActivityNode
to retrieve, ornull
.- Returns:
- The first
ActivityNode
with the specified 'Name', ornull
. - See Also:
getNodes()
-
getNode
ActivityNode getNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Node' reference list.- Parameters:
name
- The 'Name' of theActivityNode
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theActivityNode
to retrieve, ornull
.- Returns:
- The first
ActivityNode
with the specified 'Name', ornull
. - See Also:
getNodes()
-
getInterruptingEdges
MDWEList<ActivityEdge> getInterruptingEdges()
Returns the value of the 'Interrupting Edge' reference list. The list contents are of typeActivityEdge
. It is bidirectional and its opposite is 'Interrupts
'. The edges leaving the region that will abort other tokens flowing in the region.- Returns:
- the value of the 'Interrupting Edge' reference list.
- See Also:
UMLPackage.getInterruptibleActivityRegion_InterruptingEdge()
,ActivityEdge.getInterrupts()
-
getInterruptingEdge
ActivityEdge getInterruptingEdge(String name)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Interrupting Edge' reference list.- Parameters:
name
- The 'Name' of theActivityEdge
to retrieve, ornull
.- Returns:
- The first
ActivityEdge
with the specified 'Name', ornull
. - See Also:
getInterruptingEdges()
-
getInterruptingEdge
ActivityEdge getInterruptingEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Interrupting Edge' reference list.- Parameters:
name
- The 'Name' of theActivityEdge
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theActivityEdge
to retrieve, ornull
.- Returns:
- The first
ActivityEdge
with the specified 'Name', ornull
. - See Also:
getInterruptingEdges()
-
validateInterruptingEdges
boolean validateInterruptingEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Interrupting edges of a region must have their source node in the region and their target node outside the region in the same activity containing the region. true
-
-