|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Information Flow'. An information flow specifies that one or more information items circulates from its sources to its targets. Information flows require some kind of information channel for transmitting information items from the source to the destination. An information channel is represented in various ways depending on the nature of its sources and targets. It may be represented by connectors, links, associations, or even dependencies. For example, if the source and destination are parts in some composite structure such as a collaboration, then the information channel is likely to be represented by a connector between them. Or, if the source and target are objects (which are a kind of instance specification), they may be represented by a link that joins the two, and so on.
The following features are supported:
Realization
Conveyed
Information Source
Information Target
Realizing Activity Edge
Realizing Connector
Realizing Message
UMLPackage.getInformationFlow()
Field Summary |
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
Method Summary | |
Classifier |
getConveyed(String name)
Retrieves the first Classifier with the specified 'Name' from the 'Conveyed' reference list |
Classifier |
getConveyed(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first Classifier with the specified 'Name' from the 'Conveyed' reference list |
EList |
getConveyeds()
Returns the value of the 'Conveyed' reference list. |
NamedElement |
getInformationSource(String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Source' reference list |
NamedElement |
getInformationSource(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Source' reference list |
EList |
getInformationSources()
Returns the value of the 'Information Source' reference list. |
NamedElement |
getInformationTarget(String name)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Target' reference list |
NamedElement |
getInformationTarget(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first NamedElement with the specified 'Name' from the 'Information Target' reference list |
EList |
getInformationTargets()
Returns the value of the 'Information Target' reference list. |
EList |
getRealizations()
Returns the value of the 'Realization' reference list. |
ActivityEdge |
getRealizingActivityEdge(String name)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Realizing Activity Edge' reference list |
ActivityEdge |
getRealizingActivityEdge(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first ActivityEdge with the specified 'Name' from the 'Realizing Activity Edge' reference list |
EList |
getRealizingActivityEdges()
Returns the value of the 'Realizing Activity Edge' reference list. |
Connector |
getRealizingConnector(String name)
Retrieves the first Connector with the specified 'Name' from the 'Realizing Connector' reference list |
Connector |
getRealizingConnector(String name,
boolean ignoreCase)
Retrieves the first Connector with the specified 'Name' from the 'Realizing Connector' reference list |
EList |
getRealizingConnectors()
Returns the value of the 'Realizing Connector' reference list. |
Message |
getRealizingMessage(String name)
Retrieves the first Message with the specified 'Name' from the 'Realizing Message' reference list |
Message |
getRealizingMessage(String name,
boolean ignoreCase)
Retrieves the first Message with the specified 'Name' from the 'Realizing Message' reference list |
EList |
getRealizingMessages()
Returns the value of the 'Realizing Message' reference list. |
boolean |
validateConveyClassifiers(DiagnosticChain diagnostics,
Map context)
An information flow can only convey classifiers that are allowed to represent an information item. |
boolean |
validateMustConform(DiagnosticChain diagnostics,
Map context)
The sources and targets of the information flow must conform with the sources and targets or conversely the targets and sources of the realization relationships. |
boolean |
validateSourcesAndTargetsKind(DiagnosticChain diagnostics,
Map 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 and InstanceSpecification except when its classifier is a relationship (i.e. it represents a link). |
Methods inherited from interface org.eclipse.uml2.uml.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.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
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 |
Method Detail |
public EList getRealizations()
Relationship
.
Determines which Relationship will realize the specified flow
UMLPackage.getInformationFlow_Realization()
public EList getConveyeds()
Classifier
.
Specifies the information items that may circulate on this information flow.
UMLPackage.getInformationFlow_Conveyed()
public Classifier getConveyed(String name)
Classifier
with the specified 'Name' from the 'Conveyed' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.
Classifier
with the specified 'Name', or null
.InformationFlow.getConveyeds()
public Classifier getConveyed(String name, boolean ignoreCase, EClass eClass)
Classifier
with the specified 'Name' from the 'Conveyed' reference list.
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
.
Classifier
with the specified 'Name', or null
.InformationFlow.getConveyeds()
public EList getInformationSources()
NamedElement
.
Defines from which source the conveyed InformationItems are initiated.
UMLPackage.getInformationFlow_InformationSource()
public NamedElement getInformationSource(String name)
NamedElement
with the specified 'Name' from the 'Information Source' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.InformationFlow.getInformationSources()
public NamedElement getInformationSource(String name, boolean ignoreCase, EClass eClass)
NamedElement
with the specified 'Name' from the 'Information Source' reference list.
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
.
NamedElement
with the specified 'Name', or null
.InformationFlow.getInformationSources()
public EList getInformationTargets()
NamedElement
.
Defines to which target the conveyed InformationItems are directed.
UMLPackage.getInformationFlow_InformationTarget()
public NamedElement getInformationTarget(String name)
NamedElement
with the specified 'Name' from the 'Information Target' reference list.
name
- The 'Name' of the NamedElement
to retrieve, or null
.
NamedElement
with the specified 'Name', or null
.InformationFlow.getInformationTargets()
public NamedElement getInformationTarget(String name, boolean ignoreCase, EClass eClass)
NamedElement
with the specified 'Name' from the 'Information Target' reference list.
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
.
NamedElement
with the specified 'Name', or null
.InformationFlow.getInformationTargets()
public EList getRealizingActivityEdges()
ActivityEdge
.
Determines which ActivityEdges will realize the specified flow.
UMLPackage.getInformationFlow_RealizingActivityEdge()
public ActivityEdge getRealizingActivityEdge(String name)
ActivityEdge
with the specified 'Name' from the 'Realizing Activity Edge' reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.
ActivityEdge
with the specified 'Name', or null
.InformationFlow.getRealizingActivityEdges()
public ActivityEdge getRealizingActivityEdge(String name, boolean ignoreCase, EClass eClass)
ActivityEdge
with the specified 'Name' from the 'Realizing Activity Edge' reference list.
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
.
ActivityEdge
with the specified 'Name', or null
.InformationFlow.getRealizingActivityEdges()
public EList getRealizingConnectors()
Connector
.
Determines which Connectors will realize the specified flow.
UMLPackage.getInformationFlow_RealizingConnector()
public Connector getRealizingConnector(String name)
Connector
with the specified 'Name' from the 'Realizing Connector' reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.
Connector
with the specified 'Name', or null
.InformationFlow.getRealizingConnectors()
public Connector getRealizingConnector(String name, boolean ignoreCase)
Connector
with the specified 'Name' from the 'Realizing Connector' reference list.
name
- The 'Name' of the Connector
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.
Connector
with the specified 'Name', or null
.InformationFlow.getRealizingConnectors()
public EList getRealizingMessages()
Message
.
Determines which Messages will realize the specified flow.
UMLPackage.getInformationFlow_RealizingMessage()
public Message getRealizingMessage(String name)
Message
with the specified 'Name' from the 'Realizing Message' reference list.
name
- The 'Name' of the Message
to retrieve, or null
.
Message
with the specified 'Name', or null
.InformationFlow.getRealizingMessages()
public Message getRealizingMessage(String name, boolean ignoreCase)
Message
with the specified 'Name' from the 'Realizing Message' reference list.
name
- The 'Name' of the Message
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.
Message
with the specified 'Name', or null
.InformationFlow.getRealizingMessages()
public boolean validateSourcesAndTargetsKind(DiagnosticChain diagnostics, Map context)
public boolean validateMustConform(DiagnosticChain diagnostics, Map context)
public boolean validateConveyClassifiers(DiagnosticChain diagnostics, Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |