public interface ActivityEdge extends RedefinableElement
From package UML::Activities.
The following features are supported:
UMLPackage.getActivityEdge()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ValueSpecification |
createGuard(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type', and sets the 'Guard' containment reference |
ValueSpecification |
createWeight(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type', and sets the 'Weight' containment reference |
Activity |
getActivity()
Returns the value of the 'Activity' container reference.
|
ValueSpecification |
getGuard()
Returns the value of the 'Guard' containment reference.
|
ActivityGroup |
getInGroup(java.lang.String name)
Retrieves the first
ActivityGroup with the specified 'Name' from the 'In Group' reference list |
ActivityGroup |
getInGroup(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
ActivityGroup with the specified 'Name' from the 'In Group' reference list |
org.eclipse.emf.common.util.EList<ActivityGroup> |
getInGroups()
Returns the value of the 'In Group' reference list.
|
ActivityPartition |
getInPartition(java.lang.String name)
Retrieves the first
ActivityPartition with the specified 'Name' from the 'In Partition' reference list |
ActivityPartition |
getInPartition(java.lang.String name,
boolean ignoreCase)
Retrieves the first
ActivityPartition with the specified 'Name' from the 'In Partition' reference list |
org.eclipse.emf.common.util.EList<ActivityPartition> |
getInPartitions()
Returns the value of the 'In Partition' reference list.
|
StructuredActivityNode |
getInStructuredNode()
Returns the value of the 'In Structured Node' container reference.
|
InterruptibleActivityRegion |
getInterrupts()
Returns the value of the 'Interrupts' reference.
|
ActivityEdge |
getRedefinedEdge(java.lang.String name)
Retrieves the first
ActivityEdge with the specified 'Name' from the 'Redefined Edge' reference list |
ActivityEdge |
getRedefinedEdge(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
ActivityEdge with the specified 'Name' from the 'Redefined Edge' reference list |
org.eclipse.emf.common.util.EList<ActivityEdge> |
getRedefinedEdges()
Returns the value of the 'Redefined Edge' reference list.
|
ActivityNode |
getSource()
Returns the value of the 'Source' reference.
|
ActivityNode |
getTarget()
Returns the value of the 'Target' reference.
|
ValueSpecification |
getWeight()
Returns the value of the 'Weight' containment reference.
|
void |
setActivity(Activity value)
Sets the value of the '
Activity ' container reference |
void |
setGuard(ValueSpecification value)
Sets the value of the '
Guard ' containment reference |
void |
setInStructuredNode(StructuredActivityNode value)
Sets the value of the '
In Structured Node ' container reference |
void |
setInterrupts(InterruptibleActivityRegion value)
Sets the value of the '
Interrupts ' reference |
void |
setSource(ActivityNode value)
Sets the value of the '
Source ' reference |
void |
setTarget(ActivityNode value)
Sets the value of the '
Target ' reference |
void |
setWeight(ValueSpecification value)
Sets the value of the '
Weight ' containment reference |
boolean |
validateSourceAndTarget(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If an ActivityEdge is directly owned by an Activity, then its source and target must be directly or indirectly contained in the same Activity.
|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
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
getEAnnotation, getEAnnotations
Activity getActivity()
Edge
'.
This feature subsets the following features:
Owner
'From package UML::Activities.
setActivity(Activity)
,
UMLPackage.getActivityEdge_Activity()
,
Activity.getEdges()
void setActivity(Activity value)
Activity
' container reference.
value
- the new value of the 'Activity' container reference.getActivity()
org.eclipse.emf.common.util.EList<ActivityGroup> getInGroups()
ActivityGroup
.
It is bidirectional and its opposite is 'Contained Edge
'.
This feature is a derived union.
ActivityGroups containing the ActivityEdge.
From package UML::Activities.
UMLPackage.getActivityEdge_InGroup()
,
ActivityGroup.getContainedEdges()
ActivityGroup getInGroup(java.lang.String name)
ActivityGroup
with the specified 'Name' from the 'In Group' reference list.
name
- The 'Name' of the ActivityGroup
to retrieve, or null
.ActivityGroup
with the specified 'Name', or null
.getInGroups()
ActivityGroup getInGroup(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
ActivityGroup
with the specified 'Name' from the 'In Group' reference list.
name
- The 'Name' of the ActivityGroup
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityGroup
to retrieve, or null
.ActivityGroup
with the specified 'Name', or null
.getInGroups()
org.eclipse.emf.common.util.EList<ActivityPartition> getInPartitions()
ActivityPartition
.
It is bidirectional and its opposite is 'Edge
'.
This feature subsets the following features:
In Group
'From package UML::Activities.
UMLPackage.getActivityEdge_InPartition()
,
ActivityPartition.getEdges()
ActivityPartition getInPartition(java.lang.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
.getInPartitions()
ActivityPartition getInPartition(java.lang.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
.getInPartitions()
StructuredActivityNode getInStructuredNode()
Edge
'.
This feature subsets the following features:
The StructuredActivityNode containing the ActivityEdge, if it is owned by a StructuredActivityNode.From package UML::Activities.
setInStructuredNode(StructuredActivityNode)
,
UMLPackage.getActivityEdge_InStructuredNode()
,
StructuredActivityNode.getEdges()
void setInStructuredNode(StructuredActivityNode value)
In Structured Node
' container reference.
value
- the new value of the 'In Structured Node' container reference.getInStructuredNode()
ActivityNode getTarget()
Incoming
'.
The ActivityNode to which tokens are put when they traverse the ActivityEdge.
From package UML::Activities.
setTarget(ActivityNode)
,
UMLPackage.getActivityEdge_Target()
,
ActivityNode.getIncomings()
void setTarget(ActivityNode value)
Target
' reference.
value
- the new value of the 'Target' reference.getTarget()
org.eclipse.emf.common.util.EList<ActivityEdge> getRedefinedEdges()
ActivityEdge
.
This feature subsets the following features:
ActivityEdges from a generalization of the Activity containing this ActivityEdge that are redefined by this ActivityEdge.From package UML::Activities.
UMLPackage.getActivityEdge_RedefinedEdge()
ActivityEdge getRedefinedEdge(java.lang.String name)
ActivityEdge
with the specified 'Name' from the 'Redefined Edge' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.ActivityEdge
with the specified 'Name', or null
.getRedefinedEdges()
ActivityEdge getRedefinedEdge(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
ActivityEdge
with the specified 'Name' from the 'Redefined 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
.getRedefinedEdges()
ValueSpecification getGuard()
This feature subsets the following features:
A ValueSpecification that is evaluated to determine if a token can traverse the ActivityEdge. If an ActivityEdge has no guard, then there is no restriction on tokens traversing the edge.From package UML::Activities.
setGuard(ValueSpecification)
,
UMLPackage.getActivityEdge_Guard()
void setGuard(ValueSpecification value)
Guard
' containment reference.
value
- the new value of the 'Guard' containment reference.getGuard()
ValueSpecification createGuard(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and sets the 'Guard' containment reference.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.ValueSpecification
.getGuard()
ValueSpecification getWeight()
This feature subsets the following features:
The minimum number of tokens that must traverse the ActivityEdge at the same time. If no weight is specified, this is equivalent to specifying a constant value of 1.From package UML::Activities.
setWeight(ValueSpecification)
,
UMLPackage.getActivityEdge_Weight()
void setWeight(ValueSpecification value)
Weight
' containment reference.
value
- the new value of the 'Weight' containment reference.getWeight()
ValueSpecification createWeight(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and sets the 'Weight' containment reference.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.ValueSpecification
.getWeight()
InterruptibleActivityRegion getInterrupts()
Interrupting Edge
'.
The InterruptibleActivityRegion for which this ActivityEdge is an interruptingEdge.
From package UML::Activities.
setInterrupts(InterruptibleActivityRegion)
,
UMLPackage.getActivityEdge_Interrupts()
,
InterruptibleActivityRegion.getInterruptingEdges()
void setInterrupts(InterruptibleActivityRegion value)
Interrupts
' reference.
value
- the new value of the 'Interrupts' reference.getInterrupts()
ActivityNode getSource()
Outgoing
'.
The ActivityNode from which tokens are taken when they traverse the ActivityEdge.
From package UML::Activities.
setSource(ActivityNode)
,
UMLPackage.getActivityEdge_Source()
,
ActivityNode.getOutgoings()
void setSource(ActivityNode value)
Source
' reference.
value
- the new value of the 'Source' reference.getSource()
boolean validateSourceAndTarget(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.