Interface InformationItem

    • Method Detail

      • getRepresenteds

        MDWEList<Classifier> getRepresenteds()
        Returns the value of the 'Represented' reference list. The list contents are of type Classifier. Determines the classifiers that will specify the structure and nature of the information. An information item represents all its represented classifiers.
        Returns:
        the value of the 'Represented' reference list.
        See Also:
        UMLPackage.getInformationItem_Represented()
      • getRepresented

        Classifier getRepresented​(String name)
        Retrieves the first Classifier with the specified 'Name' from the ' Represented' 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:
        getRepresenteds()
      • getRepresented

        Classifier getRepresented​(String name,
                                  boolean ignoreCase,
                                  org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first Classifier with the specified 'Name' from the ' Represented' 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:
        getRepresenteds()
      • validateSourcesAndTargets

        boolean validateSourcesAndTargets​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        The sources and targets of an information item (its related information flows) must designate subsets of the sources and targets of the representation information item, if any.The Classifiers that can realize an information item can only be of the following kind: Class, Interface, InformationItem, Signal, Component. (self.represented->select(p | p->oclIsKindOf(InformationItem))->forAll(p | p.informationFlow.source->forAll(q | self.informationFlow.source->include(q)) and p.informationFlow.target->forAll(q | self.informationFlow.target->include(q)))) and (self.represented->forAll(p | p->oclIsKindOf(Class) or oclIsKindOf(Interface) or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component)))
      • validateHasNo

        boolean validateHasNo​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                              Map context)
        An informationItem has no feature, no generalization, and no associations. self.generalization->isEmpty() and self.feature->isEmpty()
      • validateNotInstantiable

        boolean validateNotInstantiable​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        It is not instantiable. isAbstract