Class ActivityGroup
ActivityGroup is an abstract class for defining sets of ActivityNodes and ActivityEdges in an Activity. <p>From package UML::Activities.</p>
[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//ActivityGroup")]
public abstract class ActivityGroup : NamedElement, IActivityGroup, IActivityContent, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
ActivityGroup
- Implements
- Derived
- Inherited Members
Properties
Children
Gets the child model elements of this model element
public override IEnumerableExpression<IModelElement> Children { get; }
Property Value
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
Methods
ContainingActivity()
public IActivity ContainingActivity()
Returns
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
Nodes_and_edges(object, object)
All containedNodes and containeEdges of an ActivityGroup must be in the same Activity as the group. containedNode->forAll(activity = self.containingActivity()) and containedEdge->forAll(activity = self.containingActivity())
public bool Nodes_and_edges(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Not_contained(object, object)
No containedNode or containedEdge of an ActivityGroup may be contained by its subgroups or its superGroups, transitively. subgroup->closure(subgroup).containedNode->excludesAll(containedNode) and superGroup->closure(superGroup).containedNode->excludesAll(containedNode) and subgroup->closure(subgroup).containedEdge->excludesAll(containedEdge) and superGroup->closure(superGroup).containedEdge->excludesAll(containedEdge)
public bool Not_contained(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.