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 ActivityEdgegetInterruptingEdge(String name)Retrieves the firstActivityEdgewith the specified 'Name' from the ' Interrupting Edge' reference list.ActivityEdgegetInterruptingEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstActivityEdgewith the specified 'Name' from the ' Interrupting Edge' reference list.MDWEList<ActivityEdge>getInterruptingEdges()Returns the value of the 'Interrupting Edge' reference list.ActivityNodegetNode(String name)Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.ActivityNodegetNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.MDWEList<ActivityNode>getNodes()Returns the value of the 'Node' reference list.booleanvalidateInterruptingEdges(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 firstActivityNodewith the specified 'Name' from the ' Node' reference list.- Parameters:
name- The 'Name' of theActivityNodeto retrieve, ornull.- Returns:
- The first
ActivityNodewith the specified 'Name', ornull. - See Also:
getNodes()
-
getNode
ActivityNode getNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNodewith the specified 'Name' from the ' Node' reference list.- Parameters:
name- The 'Name' of theActivityNodeto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theActivityNodeto retrieve, ornull.- Returns:
- The first
ActivityNodewith 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 firstActivityEdgewith the specified 'Name' from the ' Interrupting Edge' reference list.- Parameters:
name- The 'Name' of theActivityEdgeto retrieve, ornull.- Returns:
- The first
ActivityEdgewith the specified 'Name', ornull. - See Also:
getInterruptingEdges()
-
getInterruptingEdge
ActivityEdge getInterruptingEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdgewith the specified 'Name' from the ' Interrupting Edge' reference list.- Parameters:
name- The 'Name' of theActivityEdgeto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theActivityEdgeto retrieve, ornull.- Returns:
- The first
ActivityEdgewith 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
-
-