Interface InformationFlow

    • Method Detail

      • getConveyed

        Classifier getConveyed​(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​(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()
      • getInformationSource

        NamedElement getInformationSource​(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()
      • getInformationTarget

        NamedElement getInformationTarget​(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()
      • getRealizingActivityEdge

        ActivityEdge getRealizingActivityEdge​(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()
      • getRealizingConnector

        Connector getRealizingConnector​(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​(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()
      • getRealizingMessage

        Message getRealizingMessage​(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​(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,
                                              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))