Package com.sodius.mdw.metamodel.uml21
Interface ObjectFlow
-
- All Superinterfaces:
ActivityEdge,Comparable<Object>,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier,RedefinableElement
public interface ObjectFlow extends ActivityEdge
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:
- See Also:
UMLPackage.getObjectFlow()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BehaviorgetSelection()Returns the value of the 'Selection' reference.BehaviorgetTransformation()Returns the value of the 'Transformation' reference.booleanisMulticast()Returns the value of the 'Is Multicast' attribute.booleanisMultireceive()Returns the value of the 'Is Multireceive' attribute.voidsetIsMulticast(boolean value)Sets the value of the 'Is Multicast' attribute.voidsetIsMultireceive(boolean value)Sets the value of the 'Is Multireceive' attribute.voidsetSelection(Behavior value)Sets the value of the 'Selection' reference.voidsetTransformation(Behavior value)Sets the value of the 'Transformation' reference.booleanvalidateCompatibleTypes(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types.booleanvalidateInputAndOutputParameter(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)A selection behavior has one input parameter and one output parameter.booleanvalidateIsMulticastOrIsMultireceive(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)isMulticast and isMultireceive cannot both be true.booleanvalidateNoActions(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Object flows may not have actions at either end.booleanvalidateSameUpperBounds(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds.booleanvalidateSelectionBehaviour(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)An object flow may have a selection behavior only if has an object node as a source.booleanvalidateTarget(org.eclipse.emf.common.util.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.booleanvalidateTransformationBehaviour(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)A transformation behavior has one input parameter and one output parameter.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.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 com.sodius.mdw.metamodel.uml21.Element
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
-
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 com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
-
-
-
-
Method Detail
-
isMulticast
boolean isMulticast()
Returns the value of the 'Is Multicast' attribute. The default value is"false". Tells whether the objects in the flow are passed by multicasting.- Returns:
- the value of the 'Is Multicast' attribute.
- See Also:
setIsMulticast(boolean),UMLPackage.getObjectFlow_IsMulticast()
-
setIsMulticast
void setIsMulticast(boolean value)
Sets the value of the 'Is Multicast' attribute.- Parameters:
value- the new value of the 'Is Multicast' attribute.- See Also:
isMulticast()
-
isMultireceive
boolean isMultireceive()
Returns the value of the 'Is Multireceive' attribute. The default value is"false". Tells whether the objects in the flow are gathered from respondents to multicasting.- Returns:
- the value of the 'Is Multireceive' attribute.
- See Also:
setIsMultireceive(boolean),UMLPackage.getObjectFlow_IsMultireceive()
-
setIsMultireceive
void setIsMultireceive(boolean value)
Sets the value of the 'Is Multireceive' attribute.- Parameters:
value- the new value of the 'Is Multireceive' attribute.- See Also:
isMultireceive()
-
getTransformation
Behavior getTransformation()
Returns the value of the 'Transformation' reference. Changes or replaces data tokens flowing along edge.- Returns:
- the value of the 'Transformation' reference.
- See Also:
setTransformation(Behavior),UMLPackage.getObjectFlow_Transformation()
-
setTransformation
void setTransformation(Behavior value)
Sets the value of the 'Transformation' reference.- Parameters:
value- the new value of the 'Transformation' reference.- See Also:
getTransformation()
-
getSelection
Behavior getSelection()
Returns the value of the 'Selection' reference. Selects tokens from a source object node.- Returns:
- the value of the 'Selection' reference.
- See Also:
setSelection(Behavior),UMLPackage.getObjectFlow_Selection()
-
setSelection
void setSelection(Behavior value)
Sets the value of the 'Selection' reference.- Parameters:
value- the new value of the 'Selection' reference.- See Also:
getSelection()
-
validateNoActions
boolean validateNoActions(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Object flows may not have actions at either end. true
-
validateCompatibleTypes
boolean validateCompatibleTypes(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. In particular, the downstream object node type must be the same or a supertype of the upstream object node type. true
-
validateSameUpperBounds
boolean validateSameUpperBounds(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds. true
-
validateTarget
boolean validateTarget(org.eclipse.emf.common.util.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. true
-
validateTransformationBehaviour
boolean validateTransformationBehaviour(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects. true
-
validateSelectionBehaviour
boolean validateSelectionBehaviour(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)An object flow may have a selection behavior only if has an object node as a source. true
-
validateInputAndOutputParameter
boolean validateInputAndOutputParameter(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects. true
-
validateIsMulticastOrIsMultireceive
boolean validateIsMulticastOrIsMultireceive(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)isMulticast and isMultireceive cannot both be true. true
-
-