Package com.sodius.mdw.metamodel.uml21
Interface ActivityGroup
-
- All Superinterfaces:
Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
ActivityPartition,ConditionalNode,ExpansionRegion,InterruptibleActivityRegion,LoopNode,SequenceNode,StructuredActivityNode
public interface ActivityGroup extends Element
A representation of the model object 'Activity Group'. ActivityGroup is an abstract class for defining sets of nodes and edges in an activity.The following features are supported:
- See Also:
UMLPackage.getActivityGroup()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityEdgegetContainedEdge(String name)Retrieves the firstActivityEdgewith the specified 'Name' from the ' Contained Edge' reference list.ActivityEdgegetContainedEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstActivityEdgewith the specified 'Name' from the ' Contained Edge' reference list.MDWEList<ActivityEdge>getContainedEdges()Returns the value of the 'Contained Edge' reference list.ActivityNodegetContainedNode(String name)Retrieves the firstActivityNodewith the specified 'Name' from the ' Contained Node' reference list.ActivityNodegetContainedNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstActivityNodewith the specified 'Name' from the ' Contained Node' reference list.MDWEList<ActivityNode>getContainedNodes()Returns the value of the 'Contained Node' reference list.ActivitygetInActivity()Returns the value of the 'In Activity' container reference.MDWEList<ActivityGroup>getSubgroups()Returns the value of the 'Subgroup' reference list.ActivityGroupgetSuperGroup()Returns the value of the 'Super Group' reference.voidsetInActivity(Activity value)Sets the value of the 'In Activity' container reference.booleanvalidateGroupOwned(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Groups may only be owned by activities or groups.booleanvalidateNodesAndEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)All nodes and edges of the group must be in the same activity as the group.booleanvalidateNotContained(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)No node or edge in a group may be contained by its subgroups or its containing groups, transitively.-
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
-
getSubgroups
MDWEList<ActivityGroup> getSubgroups()
Returns the value of the 'Subgroup' reference list. The list contents are of typeActivityGroup. It is bidirectional and its opposite is 'Super Group'. Groups immediately contained in the group.- Returns:
- the value of the 'Subgroup' reference list.
- See Also:
UMLPackage.getActivityGroup_Subgroup(),getSuperGroup()
-
getSuperGroup
ActivityGroup getSuperGroup()
Returns the value of the 'Super Group' reference. It is bidirectional and its opposite is 'Subgroup'. Group immediately containing the group.- Returns:
- the value of the 'Super Group' reference.
- See Also:
UMLPackage.getActivityGroup_SuperGroup(),getSubgroups()
-
getContainedNodes
MDWEList<ActivityNode> getContainedNodes()
Returns the value of the 'Contained Node' reference list. The list contents are of typeActivityNode. It is bidirectional and its opposite is 'In Group'. Nodes immediately contained in the group.- Returns:
- the value of the 'Contained Node' reference list.
- See Also:
UMLPackage.getActivityGroup_ContainedNode(),ActivityNode.getInGroups()
-
getContainedNode
ActivityNode getContainedNode(String name)
Retrieves the firstActivityNodewith the specified 'Name' from the ' Contained Node' reference list.- Parameters:
name- The 'Name' of theActivityNodeto retrieve, ornull.- Returns:
- The first
ActivityNodewith the specified 'Name', ornull. - See Also:
getContainedNodes()
-
getContainedNode
ActivityNode getContainedNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNodewith the specified 'Name' from the ' Contained 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:
getContainedNodes()
-
getInActivity
Activity getInActivity()
Returns the value of the 'In Activity' container reference. It is bidirectional and its opposite is 'Group'. Activity containing the group.- Returns:
- the value of the 'In Activity' container reference.
- See Also:
setInActivity(Activity),UMLPackage.getActivityGroup_InActivity(),Activity.getGroups()
-
setInActivity
void setInActivity(Activity value)
Sets the value of the 'In Activity' container reference.- Parameters:
value- the new value of the 'In Activity' container reference.- See Also:
getInActivity()
-
getContainedEdges
MDWEList<ActivityEdge> getContainedEdges()
Returns the value of the 'Contained Edge' reference list. The list contents are of typeActivityEdge. It is bidirectional and its opposite is 'In Group'. Edges immediately contained in the group.- Returns:
- the value of the 'Contained Edge' reference list.
- See Also:
UMLPackage.getActivityGroup_ContainedEdge(),ActivityEdge.getInGroups()
-
getContainedEdge
ActivityEdge getContainedEdge(String name)
Retrieves the firstActivityEdgewith the specified 'Name' from the ' Contained Edge' reference list.- Parameters:
name- The 'Name' of theActivityEdgeto retrieve, ornull.- Returns:
- The first
ActivityEdgewith the specified 'Name', ornull. - See Also:
getContainedEdges()
-
getContainedEdge
ActivityEdge getContainedEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdgewith the specified 'Name' from the ' Contained 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:
getContainedEdges()
-
validateNodesAndEdges
boolean validateNodesAndEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)All nodes and edges of the group must be in the same activity as the group. true
-
validateNotContained
boolean validateNotContained(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)No node or edge in a group may be contained by its subgroups or its containing groups, transitively. true
-
validateGroupOwned
boolean validateGroupOwned(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Groups may only be owned by activities or groups. true
-
-