|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectFlow
A representation of the model object 'Object Flow'. An ObjectFlow is an ActivityEdge that is traversed by object tokens that may hold values. Object flows also support multicast/receive, token selection from object nodes, and transformation of tokens.
From package UML::Activities.
The following features are supported:
UMLPackage.getObjectFlow()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
Behavior |
getSelection()
Returns the value of the 'Selection' reference |
Behavior |
getTransformation()
Returns the value of the 'Transformation' reference |
boolean |
isMulticast()
Returns the value of the 'Is Multicast' attribute. |
boolean |
isMultireceive()
Returns the value of the 'Is Multireceive' attribute. |
void |
setIsMulticast(boolean value)
Sets the value of the ' Is Multicast ' attribute |
void |
setIsMultireceive(boolean value)
Sets the value of the ' Is Multireceive ' attribute |
void |
setSelection(Behavior value)
Sets the value of the ' Selection ' reference |
void |
setTransformation(Behavior value)
Sets the value of the ' Transformation ' reference |
boolean |
validateCompatibleTypes(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
ObjectNodes connected by an ObjectFlow, with optionally intervening ControlNodes, must have compatible types. |
boolean |
validateInputAndOutputParameter(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A selection Behavior has one input Parameter and one output Parameter. |
boolean |
validateIsMulticastOrIsMultireceive(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
isMulticast and isMultireceive cannot both be true. |
boolean |
validateNoExecutableNodes(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
ObjectFlows may not have ExecutableNodes at either end. |
boolean |
validateSameUpperBounds(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
ObjectNodes connected by an ObjectFlow, with optionally intervening ControlNodes, must have the same upperBounds. |
boolean |
validateSelectionBehavior(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An ObjectFlow may have a selection Behavior only if it has an ObjectNode as its source. |
boolean |
validateTarget(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An ObjectFlow with a constant weight may not target an ObjectNode, with optionally intervening ControlNodes, that has an upper bound less than the weight. |
boolean |
validateTransformationBehavior(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
A transformation Behavior has one input Parameter and one output Parameter. |
Methods inherited from interface org.eclipse.uml2.uml.ActivityEdge |
---|
createGuard, createWeight, getActivity, getGuard, getInGroup, getInGroup, getInGroups, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getInterrupts, getRedefinedEdge, getRedefinedEdge, getRedefinedEdges, getSource, getTarget, getWeight, setActivity, setGuard, setInStructuredNode, setInterrupts, setSource, setTarget, setWeight, validateSourceAndTarget |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
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 |
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 org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean isMulticast()
"false"
.
Indicates whether the objects in the ObjectFlow are passed by multicasting.
From package UML::Activities.
setIsMulticast(boolean)
,
UMLPackage.getObjectFlow_IsMulticast()
void setIsMulticast(boolean value)
Is Multicast
' attribute.
value
- the new value of the 'Is Multicast' attribute.isMulticast()
boolean isMultireceive()
"false"
.
Indicates whether the objects in the ObjectFlow are gathered from respondents to multicasting.
From package UML::Activities.
setIsMultireceive(boolean)
,
UMLPackage.getObjectFlow_IsMultireceive()
void setIsMultireceive(boolean value)
Is Multireceive
' attribute.
value
- the new value of the 'Is Multireceive' attribute.isMultireceive()
Behavior getTransformation()
From package UML::Activities.
setTransformation(Behavior)
,
UMLPackage.getObjectFlow_Transformation()
void setTransformation(Behavior value)
Transformation
' reference.
value
- the new value of the 'Transformation' reference.getTransformation()
Behavior getSelection()
From package UML::Activities.
setSelection(Behavior)
,
UMLPackage.getObjectFlow_Selection()
void setSelection(Behavior value)
Selection
' reference.
value
- the new value of the 'Selection' reference.getSelection()
boolean validateCompatibleTypes(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.
boolean validateSameUpperBounds(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.
boolean validateTarget(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.
boolean validateInputAndOutputParameter(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.
boolean validateNoExecutableNodes(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.
boolean validateTransformationBehavior(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.
boolean validateSelectionBehavior(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.
boolean validateIsMulticastOrIsMultireceive(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.
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |