|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Object Flow'. An object flow is an activity edge that can have objects or data passing along it. Object flows have support for multicast/receive, token selection from object nodes, and transformation of tokens.
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(DiagnosticChain diagnostics,
Map context)
Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. |
boolean |
validateInputAndOutputParameter(DiagnosticChain diagnostics,
Map context)
A selection behavior has one input parameter and one output parameter. |
boolean |
validateIsMulticastOrIsMultireceive(DiagnosticChain diagnostics,
Map context)
isMulticast and isMultireceive cannot both be true. |
boolean |
validateNoActions(DiagnosticChain diagnostics,
Map context)
Object flows may not have actions at either end. |
boolean |
validateSameUpperBounds(DiagnosticChain diagnostics,
Map context)
Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds. |
boolean |
validateSelectionBehaviour(DiagnosticChain diagnostics,
Map context)
An object flow may have a selection behavior only if has an object node as a source. |
boolean |
validateTarget(DiagnosticChain diagnostics,
Map context)
An edge with constant weight may not target an object node, or lead to an object node downstream with no intervening actions, that has an upper bound less than the weight. |
boolean |
validateTransformationBehaviour(DiagnosticChain diagnostics,
Map 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, getInGroups, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getInterrupts, getRedefinedEdge, getRedefinedEdge, getRedefinedEdges, getSource, getTarget, getWeight, setActivity, setGuard, setInStructuredNode, setInterrupts, setSource, setTarget, setWeight, validateOwned, validateSourceAndTarget, validateStructuredNode |
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 boolean isMulticast()
"false"
.
Tells whether the objects in the flow are passed by multicasting.
ObjectFlow.setIsMulticast(boolean)
,
UMLPackage.getObjectFlow_IsMulticast()
public void setIsMulticast(boolean value)
Is Multicast
' attribute.
value
- the new value of the 'Is Multicast' attribute.ObjectFlow.isMulticast()
public boolean isMultireceive()
"false"
.
Tells whether the objects in the flow are gathered from respondents to multicasting.
ObjectFlow.setIsMultireceive(boolean)
,
UMLPackage.getObjectFlow_IsMultireceive()
public void setIsMultireceive(boolean value)
Is Multireceive
' attribute.
value
- the new value of the 'Is Multireceive' attribute.ObjectFlow.isMultireceive()
public Behavior getTransformation()
ObjectFlow.setTransformation(Behavior)
,
UMLPackage.getObjectFlow_Transformation()
public void setTransformation(Behavior value)
Transformation
' reference.
value
- the new value of the 'Transformation' reference.ObjectFlow.getTransformation()
public Behavior getSelection()
ObjectFlow.setSelection(Behavior)
,
UMLPackage.getObjectFlow_Selection()
public void setSelection(Behavior value)
Selection
' reference.
value
- the new value of the 'Selection' reference.ObjectFlow.getSelection()
public boolean validateNoActions(DiagnosticChain diagnostics, Map context)
public boolean validateCompatibleTypes(DiagnosticChain diagnostics, Map context)
public boolean validateSameUpperBounds(DiagnosticChain diagnostics, Map context)
public boolean validateTarget(DiagnosticChain diagnostics, Map context)
public boolean validateTransformationBehaviour(DiagnosticChain diagnostics, Map context)
public boolean validateSelectionBehaviour(DiagnosticChain diagnostics, Map context)
public boolean validateInputAndOutputParameter(DiagnosticChain diagnostics, Map context)
public boolean validateIsMulticastOrIsMultireceive(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 |