|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Activity Node'. ActivityNode is an abstract class for points in the flow of an activity connected by edges.
The following features are supported:
In Structured Node
Activity
Outgoing
Incoming
In Partition
In Interruptible Region
In Group
Redefined Node
UMLPackage.getActivityNode()
Field Summary |
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
Method Summary | |
Activity |
getActivity()
Returns the value of the 'Activity' container reference. |
ActivityEdge |
getIncoming(String name)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Incoming' reference list |
ActivityEdge |
getIncoming(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Incoming' reference list |
EList |
getIncomings()
Returns the value of the 'Incoming' reference list. |
EList |
getInGroups()
Returns the value of the 'In Group' reference list. |
EList |
getInInterruptibleRegions()
Returns the value of the 'In Interruptible Region' reference list. |
ActivityPartition |
getInPartition(String name)
Retrieves the first ActivityPartition with the specified 'Name' from the 'In Partition' reference list |
ActivityPartition |
getInPartition(String name,
boolean ignoreCase)
Retrieves the first ActivityPartition with the specified 'Name' from the 'In Partition' reference list |
EList |
getInPartitions()
Returns the value of the 'In Partition' reference list. |
StructuredActivityNode |
getInStructuredNode()
Returns the value of the 'In Structured Node' container reference. |
ActivityEdge |
getOutgoing(String name)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Outgoing' reference list |
ActivityEdge |
getOutgoing(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Outgoing' reference list |
EList |
getOutgoings()
Returns the value of the 'Outgoing' reference list. |
ActivityNode |
getRedefinedNode(String name)
Retrieves the first ActivityNode with the specified 'Name' from the 'Redefined Node' reference list |
ActivityNode |
getRedefinedNode(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first ActivityNode with the specified 'Name' from the 'Redefined Node' reference list |
EList |
getRedefinedNodes()
Returns the value of the 'Redefined Node' reference list. |
void |
setActivity(Activity value)
Sets the value of the ' Activity ' container reference |
void |
setInStructuredNode(StructuredActivityNode value)
Sets the value of the ' In Structured Node ' container reference |
boolean |
validateOwned(DiagnosticChain diagnostics,
Map context)
Activity nodes can only be owned by activities or groups. |
boolean |
validateOwnedStructuredNode(DiagnosticChain diagnostics,
Map context)
Activity nodes may be owned by at most one structured node. |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
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 getOutgoings()
ActivityEdge
.
It is bidirectional and its opposite is 'Source
'.
Edges that have the node as source.
UMLPackage.getActivityNode_Outgoing()
,
ActivityEdge.getSource()
public ActivityEdge getOutgoing(String name)
ActivityEdge
with the specified 'Name' from the 'Outgoing' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.
ActivityEdge
with the specified 'Name', or null
.ActivityNode.getOutgoings()
public ActivityEdge getOutgoing(String name, boolean ignoreCase, EClass eClass)
ActivityEdge
with the specified 'Name' from the 'Outgoing' 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
.ActivityNode.getOutgoings()
public EList getInGroups()
ActivityGroup
.
It is bidirectional and its opposite is 'Contained Node
'.
Groups containing the node.
UMLPackage.getActivityNode_InGroup()
,
ActivityGroup.getContainedNodes()
public EList getInPartitions()
ActivityPartition
.
It is bidirectional and its opposite is 'Node
'.
Partitions containing the node.
UMLPackage.getActivityNode_InPartition()
,
ActivityPartition.getNodes()
public ActivityPartition getInPartition(String name)
ActivityPartition
with the specified 'Name' from the 'In Partition' reference list.
name
- The 'Name' of the ActivityPartition
to retrieve, or null
.
ActivityPartition
with the specified 'Name', or null
.ActivityNode.getInPartitions()
public ActivityPartition getInPartition(String name, boolean ignoreCase)
ActivityPartition
with the specified 'Name' from the 'In Partition' reference list.
name
- The 'Name' of the ActivityPartition
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.
ActivityPartition
with the specified 'Name', or null
.ActivityNode.getInPartitions()
public StructuredActivityNode getInStructuredNode()
Node
'.
Structured activity node containing the node.
ActivityNode.setInStructuredNode(StructuredActivityNode)
,
UMLPackage.getActivityNode_InStructuredNode()
,
StructuredActivityNode.getNodes()
public void setInStructuredNode(StructuredActivityNode value)
In Structured Node
' container reference.
value
- the new value of the 'In Structured Node' container reference.ActivityNode.getInStructuredNode()
public Activity getActivity()
Node
'.
Activity containing the node.
ActivityNode.setActivity(Activity)
,
UMLPackage.getActivityNode_Activity()
,
Activity.getNodes()
public void setActivity(Activity value)
Activity
' container reference.
value
- the new value of the 'Activity' container reference.ActivityNode.getActivity()
public EList getIncomings()
ActivityEdge
.
It is bidirectional and its opposite is 'Target
'.
Edges that have the node as target.
UMLPackage.getActivityNode_Incoming()
,
ActivityEdge.getTarget()
public ActivityEdge getIncoming(String name)
ActivityEdge
with the specified 'Name' from the 'Incoming' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.
ActivityEdge
with the specified 'Name', or null
.ActivityNode.getIncomings()
public ActivityEdge getIncoming(String name, boolean ignoreCase, EClass eClass)
ActivityEdge
with the specified 'Name' from the 'Incoming' 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
.ActivityNode.getIncomings()
public EList getInInterruptibleRegions()
InterruptibleActivityRegion
.
It is bidirectional and its opposite is 'Node
'.
Interruptible regions containing the node.
UMLPackage.getActivityNode_InInterruptibleRegion()
,
InterruptibleActivityRegion.getNodes()
public EList getRedefinedNodes()
ActivityNode
.
Inherited nodes replaced by this node in a specialization of the activity.
UMLPackage.getActivityNode_RedefinedNode()
public ActivityNode getRedefinedNode(String name)
ActivityNode
with the specified 'Name' from the 'Redefined Node' reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.
ActivityNode
with the specified 'Name', or null
.ActivityNode.getRedefinedNodes()
public ActivityNode getRedefinedNode(String name, boolean ignoreCase, EClass eClass)
ActivityNode
with the specified 'Name' from the 'Redefined 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
.ActivityNode.getRedefinedNodes()
public boolean validateOwned(DiagnosticChain diagnostics, Map context)
public boolean validateOwnedStructuredNode(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 |