Interface IObjectFlow
The public interface for ObjectFlow
[DefaultImplementationType(typeof(ObjectFlow))]
[XmlDefaultImplementationType(typeof(ObjectFlow))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//ObjectFlow")]
public interface IObjectFlow : IActivityEdge, IRedefinableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
IsMulticast
Indicates whether the objects in the ObjectFlow are passed by multicasting. <p>From package UML::Activities.</p>
[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isMulticast")]
[XmlAttribute(true)]
bool IsMulticast { get; set; }
Property Value
IsMultireceive
Indicates whether the objects in the ObjectFlow are gathered from respondents to multicasting. <p>From package UML::Activities.</p>
[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isMultireceive")]
[XmlAttribute(true)]
bool IsMultireceive { get; set; }
Property Value
Selection
A Behavior used to select tokens from a source ObjectNode. <p>From package UML::Activities.</p>
[XmlElementName("selection")]
[XmlAttribute(true)]
IBehavior Selection { get; set; }
Property Value
Transformation
A Behavior used to change or replace object tokens flowing along the ObjectFlow. <p>From package UML::Activities.</p>
[XmlElementName("transformation")]
[XmlAttribute(true)]
IBehavior Transformation { get; set; }
Property Value
Methods
Compatible_types(object, object)
ObjectNodes connected by an ObjectFlow, with optionally intervening ControlNodes, must have compatible types. In particular, the downstream ObjectNode type must be the same or a supertype of the upstream ObjectNode type.
bool Compatible_types(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Input_and_output_parameter(object, object)
A selection Behavior has one input Parameter and one output Parameter. The input Parameter must have the same as or a supertype of the type of the source ObjectNode, be non-unique and have multiplicity 0... The output Parameter must be the same or a subtype of the type of source ObjectNode. The Behavior cannot have side effects. selection<>null implies selection.inputParameters()->size()=1 and selection.inputParameters()->forAll(not isUnique and is(0,)) and selection.outputParameters()->size()=1
bool Input_and_output_parameter(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Is_multicast_or_is_multireceive(object, object)
isMulticast and isMultireceive cannot both be true. not (isMulticast and isMultireceive)
bool Is_multicast_or_is_multireceive(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
No_executable_nodes(object, object)
ObjectFlows may not have ExecutableNodes at either end. not (source.oclIsKindOf(ExecutableNode) or target.oclIsKindOf(ExecutableNode))
bool No_executable_nodes(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Same_upper_bounds(object, object)
ObjectNodes connected by an ObjectFlow, with optionally intervening ControlNodes, must have the same upperBounds.
bool Same_upper_bounds(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Selection_behavior(object, object)
An ObjectFlow may have a selection Behavior only if it has an ObjectNode as its source. selection<>null implies source.oclIsKindOf(ObjectNode)
bool Selection_behavior(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Transformation_behavior(object, object)
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. transformation<>null implies transformation.inputParameters()->size()=1 and transformation.outputParameters()->size()=1
bool Transformation_behavior(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.