|
||||||||||
| 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 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(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Object nodes connected by an object flow, with optionally intervening control nodes, 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 |
validateNoActions(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Object flows may not have actions at either end. |
boolean |
validateSameUpperBounds(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds. |
boolean |
validateSelectionBehaviour(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An object flow may have a selection behavior only if has an object node as a source. |
boolean |
validateTarget(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> 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(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, 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, 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".
Tells whether the objects in the flow are passed by multicasting.
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".
Tells whether the objects in the flow are gathered from respondents to multicasting.
setIsMultireceive(boolean),
UMLPackage.getObjectFlow_IsMultireceive()void setIsMultireceive(boolean value)
Is Multireceive' attribute.
value - the new value of the 'Is Multireceive' attribute.isMultireceive()Behavior getTransformation()
setTransformation(Behavior),
UMLPackage.getObjectFlow_Transformation()void setTransformation(Behavior value)
Transformation' reference.
value - the new value of the 'Transformation' reference.getTransformation()Behavior getSelection()
setSelection(Behavior),
UMLPackage.getObjectFlow_Selection()void setSelection(Behavior value)
Selection' reference.
value - the new value of the 'Selection' reference.getSelection()
boolean validateNoActions(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 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 validateTransformationBehaviour(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 validateSelectionBehaviour(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 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, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||