org.eclipse.uml2.uml
Interface InformationFlow

All Superinterfaces:
DirectedRelationship, Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, Relationship

public interface InformationFlow
extends PackageableElement, DirectedRelationship

A representation of the model object 'Information Flow'. InformationFlows describe circulation of information through a system in a general manner. They do not specify the nature of the information, mechanisms by which it is conveyed, sequences of exchange or any control conditions. During more detailed modeling, representation and realization links may be added to specify which model elements implement an InformationFlow and to show how information is conveyed. InformationFlows require some kind of “information channel” for unidirectional transmission of information items from sources to targets.  They specify the information channel’s realizations, if any, and identify the information that flows along them.  Information moving along the information channel may be represented by abstract InformationItems and by concrete Classifiers.

From package UML::InformationFlows.

The following features are supported:

See Also:
UMLPackage.getInformationFlow()

Field Summary
 
Fields inherited from interface org.eclipse.uml2.uml.NamedElement
SEPARATOR
 
Method Summary
 Classifier getConveyed(java.lang.String name)
          Retrieves the first Classifier with the specified 'Name' from the 'Conveyed' reference list
 Classifier getConveyed(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
          Retrieves the first Classifier with the specified 'Name' from the 'Conveyed' reference list
 org.eclipse.emf.common.util.EList<Classifier> getConveyeds()
          Returns the value of the 'Conveyed' reference list.
 NamedElement getInformationSource(java.lang.String name)
          Retrieves the first NamedElement with the specified 'Name' from the 'Information Source' reference list
 NamedElement getInformationSource(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
          Retrieves the first NamedElement with the specified 'Name' from the 'Information Source' reference list
 org.eclipse.emf.common.util.EList<NamedElement> getInformationSources()
          Returns the value of the 'Information Source' reference list.
 NamedElement getInformationTarget(java.lang.String name)
          Retrieves the first NamedElement with the specified 'Name' from the 'Information Target' reference list
 NamedElement getInformationTarget(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
          Retrieves the first NamedElement with the specified 'Name' from the 'Information Target' reference list
 org.eclipse.emf.common.util.EList<NamedElement> getInformationTargets()
          Returns the value of the 'Information Target' reference list.
 org.eclipse.emf.common.util.EList<Relationship> getRealizations()
          Returns the value of the 'Realization' reference list.
 ActivityEdge getRealizingActivityEdge(java.lang.String name)
          Retrieves the first ActivityEdge with the specified 'Name' from the 'Realizing Activity Edge' reference list
 ActivityEdge getRealizingActivityEdge(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
          Retrieves the first ActivityEdge with the specified 'Name' from the 'Realizing Activity Edge' reference list
 org.eclipse.emf.common.util.EList<ActivityEdge> getRealizingActivityEdges()
          Returns the value of the 'Realizing Activity Edge' reference list.
 Connector getRealizingConnector(java.lang.String name)
          Retrieves the first Connector with the specified 'Name' from the 'Realizing Connector' reference list
 Connector getRealizingConnector(java.lang.String name, boolean ignoreCase)
          Retrieves the first Connector with the specified 'Name' from the 'Realizing Connector' reference list
 org.eclipse.emf.common.util.EList<Connector> getRealizingConnectors()
          Returns the value of the 'Realizing Connector' reference list.
 Message getRealizingMessage(java.lang.String name)
          Retrieves the first Message with the specified 'Name' from the 'Realizing Message' reference list
 Message getRealizingMessage(java.lang.String name, boolean ignoreCase)
          Retrieves the first Message with the specified 'Name' from the 'Realizing Message' reference list
 org.eclipse.emf.common.util.EList<Message> getRealizingMessages()
          Returns the value of the 'Realizing Message' reference list.
 boolean validateConveyClassifiers(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          An information flow can only convey classifiers that are allowed to represent an information item.
 boolean validateMustConform(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          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.
 boolean validateSourcesAndTargetsKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          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).
 
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement
validateNamespaceNeedsVisibility
 
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.uml2.uml.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.uml.DirectedRelationship
getSources, getTargets
 
Methods inherited from interface org.eclipse.uml2.uml.Relationship
getRelatedElements
 
Methods inherited from interface org.eclipse.uml2.uml.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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getRealizations

org.eclipse.emf.common.util.EList<Relationship> getRealizations()
Returns the value of the 'Realization' reference list. The list contents are of type Relationship. Determines which Relationship will realize the specified flow.

From package UML::InformationFlows.

Returns:
the value of the 'Realization' reference list.
See Also:
UMLPackage.getInformationFlow_Realization()

getConveyeds

org.eclipse.emf.common.util.EList<Classifier> getConveyeds()
Returns the value of the 'Conveyed' reference list. The list contents are of type Classifier. Specifies the information items that may circulate on this information flow.

From package UML::InformationFlows.

Returns:
the value of the 'Conveyed' reference list.
See Also:
UMLPackage.getInformationFlow_Conveyed()

getConveyed

Classifier getConveyed(java.lang.String name)
Retrieves the first Classifier with the specified 'Name' from the 'Conveyed' reference list.

Parameters:
name - The 'Name' of the Classifier to retrieve, or null.
Returns:
The first Classifier with the specified 'Name', or null.
See Also:
getConveyeds()

getConveyed

Classifier getConveyed(java.lang.String name,
                       boolean ignoreCase,
                       org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Classifier with the specified 'Name' from the 'Conveyed' reference list.

Parameters:
name - The 'Name' of the Classifier to retrieve, or null.
ignoreCase - Whether to ignore case in String comparisons.
eClass - The Ecore class of the Classifier to retrieve, or null.
Returns:
The first Classifier with the specified 'Name', or null.
See Also:
getConveyeds()

getInformationSources

org.eclipse.emf.common.util.EList<NamedElement> getInformationSources()
Returns the value of the 'Information Source' reference list. The list contents are of type NamedElement.

This feature subsets the following features:

Defines from which source the conveyed InformationItems are initiated.

From package UML::InformationFlows.

Returns:
the value of the 'Information Source' reference list.
See Also:
UMLPackage.getInformationFlow_InformationSource()

getInformationSource

NamedElement getInformationSource(java.lang.String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Source' reference list.

Parameters:
name - The 'Name' of the NamedElement to retrieve, or null.
Returns:
The first NamedElement with the specified 'Name', or null.
See Also:
getInformationSources()

getInformationSource

NamedElement getInformationSource(java.lang.String name,
                                  boolean ignoreCase,
                                  org.eclipse.emf.ecore.EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Source' reference list.

Parameters:
name - The 'Name' of the NamedElement to retrieve, or null.
ignoreCase - Whether to ignore case in String comparisons.
eClass - The Ecore class of the NamedElement to retrieve, or null.
Returns:
The first NamedElement with the specified 'Name', or null.
See Also:
getInformationSources()

getInformationTargets

org.eclipse.emf.common.util.EList<NamedElement> getInformationTargets()
Returns the value of the 'Information Target' reference list. The list contents are of type NamedElement.

This feature subsets the following features:

Defines to which target the conveyed InformationItems are directed.

From package UML::InformationFlows.

Returns:
the value of the 'Information Target' reference list.
See Also:
UMLPackage.getInformationFlow_InformationTarget()

getInformationTarget

NamedElement getInformationTarget(java.lang.String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Target' reference list.

Parameters:
name - The 'Name' of the NamedElement to retrieve, or null.
Returns:
The first NamedElement with the specified 'Name', or null.
See Also:
getInformationTargets()

getInformationTarget

NamedElement getInformationTarget(java.lang.String name,
                                  boolean ignoreCase,
                                  org.eclipse.emf.ecore.EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Target' reference list.

Parameters:
name - The 'Name' of the NamedElement to retrieve, or null.
ignoreCase - Whether to ignore case in String comparisons.
eClass - The Ecore class of the NamedElement to retrieve, or null.
Returns:
The first NamedElement with the specified 'Name', or null.
See Also:
getInformationTargets()

getRealizingActivityEdges

org.eclipse.emf.common.util.EList<ActivityEdge> getRealizingActivityEdges()
Returns the value of the 'Realizing Activity Edge' reference list. The list contents are of type ActivityEdge. Determines which ActivityEdges will realize the specified flow.

From package UML::InformationFlows.

Returns:
the value of the 'Realizing Activity Edge' reference list.
See Also:
UMLPackage.getInformationFlow_RealizingActivityEdge()

getRealizingActivityEdge

ActivityEdge getRealizingActivityEdge(java.lang.String name)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Realizing Activity Edge' reference list.

Parameters:
name - The 'Name' of the ActivityEdge to retrieve, or null.
Returns:
The first ActivityEdge with the specified 'Name', or null.
See Also:
getRealizingActivityEdges()

getRealizingActivityEdge

ActivityEdge getRealizingActivityEdge(java.lang.String name,
                                      boolean ignoreCase,
                                      org.eclipse.emf.ecore.EClass eClass)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Realizing Activity Edge' reference list.

Parameters:
name - The 'Name' of the ActivityEdge to retrieve, or null.
ignoreCase - Whether to ignore case in String comparisons.
eClass - The Ecore class of the ActivityEdge to retrieve, or null.
Returns:
The first ActivityEdge with the specified 'Name', or null.
See Also:
getRealizingActivityEdges()

getRealizingConnectors

org.eclipse.emf.common.util.EList<Connector> getRealizingConnectors()
Returns the value of the 'Realizing Connector' reference list. The list contents are of type Connector. Determines which Connectors will realize the specified flow.

From package UML::InformationFlows.

Returns:
the value of the 'Realizing Connector' reference list.
See Also:
UMLPackage.getInformationFlow_RealizingConnector()

getRealizingConnector

Connector getRealizingConnector(java.lang.String name)
Retrieves the first Connector with the specified 'Name' from the 'Realizing Connector' reference list.

Parameters:
name - The 'Name' of the Connector to retrieve, or null.
Returns:
The first Connector with the specified 'Name', or null.
See Also:
getRealizingConnectors()

getRealizingConnector

Connector getRealizingConnector(java.lang.String name,
                                boolean ignoreCase)
Retrieves the first Connector with the specified 'Name' from the 'Realizing Connector' reference list.

Parameters:
name - The 'Name' of the Connector to retrieve, or null.
ignoreCase - Whether to ignore case in String comparisons.
Returns:
The first Connector with the specified 'Name', or null.
See Also:
getRealizingConnectors()

getRealizingMessages

org.eclipse.emf.common.util.EList<Message> getRealizingMessages()
Returns the value of the 'Realizing Message' reference list. The list contents are of type Message. Determines which Messages will realize the specified flow.

From package UML::InformationFlows.

Returns:
the value of the 'Realizing Message' reference list.
See Also:
UMLPackage.getInformationFlow_RealizingMessage()

getRealizingMessage

Message getRealizingMessage(java.lang.String name)
Retrieves the first Message with the specified 'Name' from the 'Realizing Message' reference list.

Parameters:
name - The 'Name' of the Message to retrieve, or null.
Returns:
The first Message with the specified 'Name', or null.
See Also:
getRealizingMessages()

getRealizingMessage

Message getRealizingMessage(java.lang.String name,
                            boolean ignoreCase)
Retrieves the first Message with the specified 'Name' from the 'Realizing Message' reference list.

Parameters:
name - The 'Name' of the Message to retrieve, or null.
ignoreCase - Whether to ignore case in String comparisons.
Returns:
The first Message with the specified 'Name', or null.
See Also:
getRealizingMessages()

validateSourcesAndTargetsKind

boolean validateSourcesAndTargetsKind(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      java.util.Map<java.lang.Object,java.lang.Object> context)
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)))))

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

validateMustConform

boolean validateMustConform(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                            java.util.Map<java.lang.Object,java.lang.Object> context)
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.

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

validateConveyClassifiers

boolean validateConveyClassifiers(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                  java.util.Map<java.lang.Object,java.lang.Object> context)
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))

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.