|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
UMLPackage.getActivityGroup()
Method Summary | |
ActivityEdge |
getContainedEdge(String name)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Contained Edge' reference list |
ActivityEdge |
getContainedEdge(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Contained Edge' reference list |
EList |
getContainedEdges()
Returns the value of the 'Contained Edge' reference list. |
ActivityNode |
getContainedNode(String name)
Retrieves the first ActivityNode with the specified 'Name' from the 'Contained Node' reference list |
ActivityNode |
getContainedNode(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first ActivityNode with the specified 'Name' from the 'Contained Node' reference list |
EList |
getContainedNodes()
Returns the value of the 'Contained Node' reference list. |
Activity |
getInActivity()
Returns the value of the 'In Activity' container reference. |
EList |
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(DiagnosticChain diagnostics,
Map context)
Groups may only be owned by activities or groups. |
boolean |
validateNodesAndEdges(DiagnosticChain diagnostics,
Map context)
All nodes and edges of the group must be in the same activity as the group. |
boolean |
validateNotContained(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 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public EList getSubgroups()
ActivityGroup
.
It is bidirectional and its opposite is 'Super Group
'.
Groups immediately contained in the group.
UMLPackage.getActivityGroup_Subgroup()
,
ActivityGroup.getSuperGroup()
public ActivityGroup getSuperGroup()
Subgroup
'.
Group immediately containing the group.
UMLPackage.getActivityGroup_SuperGroup()
,
ActivityGroup.getSubgroups()
public EList getContainedNodes()
ActivityNode
.
It is bidirectional and its opposite is 'In Group
'.
Nodes immediately contained in the group.
UMLPackage.getActivityGroup_ContainedNode()
,
ActivityNode.getInGroups()
public ActivityNode getContainedNode(String name)
ActivityNode
with the specified 'Name' from the 'Contained Node' reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.
ActivityNode
with the specified 'Name', or null
.ActivityGroup.getContainedNodes()
public ActivityNode getContainedNode(String name, boolean ignoreCase, EClass eClass)
ActivityNode
with the specified 'Name' from the 'Contained Node' reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityNode
to retrieve, or null
.
ActivityNode
with the specified 'Name', or null
.ActivityGroup.getContainedNodes()
public Activity getInActivity()
Group
'.
Activity containing the group.
ActivityGroup.setInActivity(Activity)
,
UMLPackage.getActivityGroup_InActivity()
,
Activity.getGroups()
public void setInActivity(Activity value)
In Activity
' container reference.
value
- the new value of the 'In Activity' container reference.ActivityGroup.getInActivity()
public EList getContainedEdges()
ActivityEdge
.
It is bidirectional and its opposite is 'In Group
'.
Edges immediately contained in the group.
UMLPackage.getActivityGroup_ContainedEdge()
,
ActivityEdge.getInGroups()
public ActivityEdge getContainedEdge(String name)
ActivityEdge
with the specified 'Name' from the 'Contained Edge' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.
ActivityEdge
with the specified 'Name', or null
.ActivityGroup.getContainedEdges()
public ActivityEdge getContainedEdge(String name, boolean ignoreCase, EClass eClass)
ActivityEdge
with the specified 'Name' from the 'Contained Edge' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityEdge
to retrieve, or null
.
ActivityEdge
with the specified 'Name', or null
.ActivityGroup.getContainedEdges()
public boolean validateNodesAndEdges(DiagnosticChain diagnostics, Map context)
public boolean validateNotContained(DiagnosticChain diagnostics, Map context)
public boolean validateGroupOwned(DiagnosticChain diagnostics, Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |