Package com.sodius.mdw.metamodel.uml21
Interface InformationFlow
-
- All Superinterfaces:
Comparable<Object>
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,Relationship
public interface InformationFlow extends PackageableElement, DirectedRelationship
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:
- See Also:
UMLPackage.getInformationFlow()
-
-
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 Classifier
getConveyed(String name)
Retrieves the firstClassifier
with the specified 'Name' from the ' Conveyed' reference list.Classifier
getConveyed(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstClassifier
with the specified 'Name' from the ' Conveyed' reference list.MDWEList<Classifier>
getConveyeds()
Returns the value of the 'Conveyed' reference list.NamedElement
getInformationSource(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Source' reference list.NamedElement
getInformationSource(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Source' reference list.MDWEList<NamedElement>
getInformationSources()
Returns the value of the 'Information Source' reference list.NamedElement
getInformationTarget(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Target' reference list.NamedElement
getInformationTarget(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Target' reference list.MDWEList<NamedElement>
getInformationTargets()
Returns the value of the 'Information Target' reference list.MDWEList<Relationship>
getRealizations()
Returns the value of the 'Realization' reference list.ActivityEdge
getRealizingActivityEdge(String name)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Realizing Activity Edge' reference list.ActivityEdge
getRealizingActivityEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Realizing Activity Edge' reference list.MDWEList<ActivityEdge>
getRealizingActivityEdges()
Returns the value of the 'Realizing Activity Edge' reference list.Connector
getRealizingConnector(String name)
Retrieves the firstConnector
with the specified 'Name' from the ' Realizing Connector' reference list.Connector
getRealizingConnector(String name, boolean ignoreCase)
Retrieves the firstConnector
with the specified 'Name' from the ' Realizing Connector' reference list.MDWEList<Connector>
getRealizingConnectors()
Returns the value of the 'Realizing Connector' reference list.Message
getRealizingMessage(String name)
Retrieves the firstMessage
with the specified 'Name' from the ' Realizing Message' reference list.Message
getRealizingMessage(String name, boolean ignoreCase)
Retrieves the firstMessage
with the specified 'Name' from the ' Realizing Message' reference list.MDWEList<Message>
getRealizingMessages()
Returns the value of the 'Realizing Message' reference list.boolean
validateConveyClassifiers(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map 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, 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(org.eclipse.emf.common.util.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.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.DirectedRelationship
getSources, getTargets
-
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.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Relationship
getRelatedElements
-
-
-
-
Method Detail
-
getRealizations
MDWEList<Relationship> getRealizations()
Returns the value of the 'Realization' reference list. The list contents are of typeRelationship
. Determines which Relationship will realize the specified flow- Returns:
- the value of the 'Realization' reference list.
- See Also:
UMLPackage.getInformationFlow_Realization()
-
getConveyeds
MDWEList<Classifier> getConveyeds()
Returns the value of the 'Conveyed' reference list. The list contents are of typeClassifier
. Specifies the information items that may circulate on this information flow.- Returns:
- the value of the 'Conveyed' reference list.
- See Also:
UMLPackage.getInformationFlow_Conveyed()
-
getConveyed
Classifier getConveyed(String name)
Retrieves the firstClassifier
with the specified 'Name' from the ' Conveyed' reference list.- Parameters:
name
- The 'Name' of theClassifier
to retrieve, ornull
.- Returns:
- The first
Classifier
with the specified 'Name', ornull
. - See Also:
getConveyeds()
-
getConveyed
Classifier getConveyed(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstClassifier
with the specified 'Name' from the ' Conveyed' reference list.- Parameters:
name
- The 'Name' of theClassifier
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theClassifier
to retrieve, ornull
.- Returns:
- The first
Classifier
with the specified 'Name', ornull
. - See Also:
getConveyeds()
-
getInformationSources
MDWEList<NamedElement> getInformationSources()
Returns the value of the 'Information Source' reference list. The list contents are of typeNamedElement
. Defines from which source the conveyed InformationItems are initiated.- Returns:
- the value of the 'Information Source' reference list.
- See Also:
UMLPackage.getInformationFlow_InformationSource()
-
getInformationSource
NamedElement getInformationSource(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Source' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getInformationSources()
-
getInformationSource
NamedElement getInformationSource(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Source' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getInformationSources()
-
getInformationTargets
MDWEList<NamedElement> getInformationTargets()
Returns the value of the 'Information Target' reference list. The list contents are of typeNamedElement
. Defines to which target the conveyed InformationItems are directed.- Returns:
- the value of the 'Information Target' reference list.
- See Also:
UMLPackage.getInformationFlow_InformationTarget()
-
getInformationTarget
NamedElement getInformationTarget(String name)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Target' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getInformationTargets()
-
getInformationTarget
NamedElement getInformationTarget(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstNamedElement
with the specified 'Name' from the ' Information Target' reference list.- Parameters:
name
- The 'Name' of theNamedElement
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theNamedElement
to retrieve, ornull
.- Returns:
- The first
NamedElement
with the specified 'Name', ornull
. - See Also:
getInformationTargets()
-
getRealizingActivityEdges
MDWEList<ActivityEdge> getRealizingActivityEdges()
Returns the value of the 'Realizing Activity Edge' reference list. The list contents are of typeActivityEdge
. Determines which ActivityEdges will realize the specified flow.- Returns:
- the value of the 'Realizing Activity Edge' reference list.
- See Also:
UMLPackage.getInformationFlow_RealizingActivityEdge()
-
getRealizingActivityEdge
ActivityEdge getRealizingActivityEdge(String name)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Realizing Activity Edge' reference list.- Parameters:
name
- The 'Name' of theActivityEdge
to retrieve, ornull
.- Returns:
- The first
ActivityEdge
with the specified 'Name', ornull
. - See Also:
getRealizingActivityEdges()
-
getRealizingActivityEdge
ActivityEdge getRealizingActivityEdge(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstActivityEdge
with the specified 'Name' from the ' Realizing Activity Edge' reference list.- Parameters:
name
- The 'Name' of theActivityEdge
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theActivityEdge
to retrieve, ornull
.- Returns:
- The first
ActivityEdge
with the specified 'Name', ornull
. - See Also:
getRealizingActivityEdges()
-
getRealizingConnectors
MDWEList<Connector> getRealizingConnectors()
Returns the value of the 'Realizing Connector' reference list. The list contents are of typeConnector
. Determines which Connectors will realize the specified flow.- Returns:
- the value of the 'Realizing Connector' reference list.
- See Also:
UMLPackage.getInformationFlow_RealizingConnector()
-
getRealizingConnector
Connector getRealizingConnector(String name)
Retrieves the firstConnector
with the specified 'Name' from the ' Realizing Connector' reference list.- Parameters:
name
- The 'Name' of theConnector
to retrieve, ornull
.- Returns:
- The first
Connector
with the specified 'Name', ornull
. - See Also:
getRealizingConnectors()
-
getRealizingConnector
Connector getRealizingConnector(String name, boolean ignoreCase)
Retrieves the firstConnector
with the specified 'Name' from the ' Realizing Connector' reference list.- Parameters:
name
- The 'Name' of theConnector
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.- Returns:
- The first
Connector
with the specified 'Name', ornull
. - See Also:
getRealizingConnectors()
-
getRealizingMessages
MDWEList<Message> getRealizingMessages()
Returns the value of the 'Realizing Message' reference list. The list contents are of typeMessage
. Determines which Messages will realize the specified flow.- Returns:
- the value of the 'Realizing Message' reference list.
- See Also:
UMLPackage.getInformationFlow_RealizingMessage()
-
getRealizingMessage
Message getRealizingMessage(String name)
Retrieves the firstMessage
with the specified 'Name' from the ' Realizing Message' reference list.- Parameters:
name
- The 'Name' of theMessage
to retrieve, ornull
.- Returns:
- The first
Message
with the specified 'Name', ornull
. - See Also:
getRealizingMessages()
-
getRealizingMessage
Message getRealizingMessage(String name, boolean ignoreCase)
Retrieves the firstMessage
with the specified 'Name' from the ' Realizing Message' reference list.- Parameters:
name
- The 'Name' of theMessage
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.- Returns:
- The first
Message
with the specified 'Name', ornull
. - See Also:
getRealizingMessages()
-
validateSourcesAndTargetsKind
boolean validateSourcesAndTargetsKind(org.eclipse.emf.common.util.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). (self.source->forAll(p | p->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 (self.target->forAll(p | p->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)))
-
validateMustConform
boolean validateMustConform(org.eclipse.emf.common.util.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. true
-
validateConveyClassifiers
boolean validateConveyClassifiers(org.eclipse.emf.common.util.DiagnosticChain diagnostics, Map context)
An information flow can only convey classifiers that are allowed to represent an information item. self.conveyed.represented->forAll(p | p->oclIsKindOf(Class) or oclIsKindOf(Interface) or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component))
-
-