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 ActivityEdge
getContainedEdge(String name)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Contained Edge' reference list.ActivityEdge
getContainedEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Contained Edge' reference list.MDWEList<ActivityEdge>
getContainedEdges()
Returns the value of the 'Contained Edge' reference list.ActivityNode
getContainedNode(String name)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Contained Node' reference list.ActivityNode
getContainedNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Contained Node' reference list.MDWEList<ActivityNode>
getContainedNodes()
Returns the value of the 'Contained Node' reference list.Activity
getInActivity()
Returns the value of the 'In Activity' container reference.MDWEList<ActivityGroup>
getSubgroups()
Returns the value of the 'Subgroup' reference list.ActivityGroup
getSuperGroup()
Returns the value of the 'Super Group' reference.void
setInActivity(Activity value)
Sets the value of the 'In Activity
' container reference.boolean
validateGroupOwned(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
Groups may only be owned by activities or groups.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.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.-
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 firstActivityNode
with the specified 'Name' from the ' Contained Node' reference list.- Parameters:
name
- The 'Name' of theActivityNode
to retrieve, ornull
.- Returns:
- The first
ActivityNode
with the specified 'Name', ornull
. - See Also:
getContainedNodes()
-
getContainedNode
ActivityNode getContainedNode(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityNode
with the specified 'Name' from the ' Contained 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:
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 firstActivityEdge
with the specified 'Name' from the ' Contained Edge' reference list.- Parameters:
name
- The 'Name' of theActivityEdge
to retrieve, ornull
.- Returns:
- The first
ActivityEdge
with the specified 'Name', ornull
. - See Also:
getContainedEdges()
-
getContainedEdge
ActivityEdge getContainedEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Contained 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:
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
-
-