Table of Contents

Interface IInformationFlow

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for InformationFlow

[DefaultImplementationType(typeof(InformationFlow))]
[XmlDefaultImplementationType(typeof(InformationFlow))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//InformationFlow")]
public interface IInformationFlow : IDirectedRelationship, IRelationship, IPackageableElement, IParameterableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Conveyed

Specifies the information items that may circulate on this information flow. <p>From package UML::InformationFlows.</p>

[LowerBound(1)]
[XmlElementName("conveyed")]
[XmlAttribute(true)]
ISetExpression<IClassifier> Conveyed { get; }

Property Value

ISetExpression<IClassifier>

InformationSource

Defines from which source the conveyed InformationItems are initiated. <p>From package UML::InformationFlows.</p>

[LowerBound(1)]
[XmlElementName("informationSource")]
[XmlAttribute(true)]
ISetExpression<INamedElement> InformationSource { get; }

Property Value

ISetExpression<INamedElement>

InformationTarget

Defines to which target the conveyed InformationItems are directed. <p>From package UML::InformationFlows.</p>

[LowerBound(1)]
[XmlElementName("informationTarget")]
[XmlAttribute(true)]
ISetExpression<INamedElement> InformationTarget { get; }

Property Value

ISetExpression<INamedElement>

Realization

Determines which Relationship will realize the specified flow. <p>From package UML::InformationFlows.</p>

[XmlElementName("realization")]
[XmlAttribute(true)]
ISetExpression<IRelationship> Realization { get; }

Property Value

ISetExpression<IRelationship>

RealizingActivityEdge

Determines which ActivityEdges will realize the specified flow. <p>From package UML::InformationFlows.</p>

[XmlElementName("realizingActivityEdge")]
[XmlAttribute(true)]
ISetExpression<IActivityEdge> RealizingActivityEdge { get; }

Property Value

ISetExpression<IActivityEdge>

RealizingConnector

Determines which Connectors will realize the specified flow. <p>From package UML::InformationFlows.</p>

[XmlElementName("realizingConnector")]
[XmlAttribute(true)]
ISetExpression<IConnector> RealizingConnector { get; }

Property Value

ISetExpression<IConnector>

RealizingMessage

Determines which Messages will realize the specified flow. <p>From package UML::InformationFlows.</p>

[XmlElementName("realizingMessage")]
[XmlAttribute(true)]
ISetExpression<IMessage> RealizingMessage { get; }

Property Value

ISetExpression<IMessage>

Methods

Convey_classifiers(object, object)

An information flow can only convey classifiers that are allowed to represent an information item. self.conveyed->forAll(oclIsKindOf(Class) or oclIsKindOf(Interface) or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component))

bool Convey_classifiers(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Must_conform(object, object)

The sources and targets of the information flow must conform to the sources and targets or conversely the targets and sources of the realization relationships.

bool Must_conform(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Sources_and_targets_kind(object, object)

The sources and targets of the information flow can only be one of the following kind: Actor, Node, UseCase, Artifact, Class, Component, Port, Property, Interface, Package, ActivityNode, ActivityPartition, Behavior and InstanceSpecification except when its classifier is a relationship (i.e. it represents a link). (self.informationSource->forAll( sis | oclIsKindOf(Actor) or oclIsKindOf(Node) or oclIsKindOf(UseCase) or oclIsKindOf(Artifact) or oclIsKindOf(Class) or oclIsKindOf(Component) or oclIsKindOf(Port) or oclIsKindOf(Property) or oclIsKindOf(Interface) or oclIsKindOf(Package) or oclIsKindOf(ActivityNode) or oclIsKindOf(ActivityPartition) or (oclIsKindOf(InstanceSpecification) and not sis.oclAsType(InstanceSpecification).classifier->exists(oclIsKindOf(Relationship)))))

and

(self.informationTarget->forAll( sit | oclIsKindOf(Actor) or oclIsKindOf(Node) or oclIsKindOf(UseCase) or oclIsKindOf(Artifact) or oclIsKindOf(Class) or oclIsKindOf(Component) or oclIsKindOf(Port) or oclIsKindOf(Property) or oclIsKindOf(Interface) or oclIsKindOf(Package) or oclIsKindOf(ActivityNode) or oclIsKindOf(ActivityPartition) or (oclIsKindOf(InstanceSpecification) and not sit.oclAsType(InstanceSpecification).classifier->exists(oclIsKindOf(Relationship)))))

bool Sources_and_targets_kind(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool