Interface BehavioredClassifier

    • Method Detail

      • createOwnedBehavior

        Behavior createOwnedBehavior​(String name,
                                     org.eclipse.emf.ecore.EClass eClass)
        Creates a new Behavior, with the specified 'Name', and appends it to the ' Owned Behavior' containment reference list.
        Parameters:
        name - The 'Name' for the new Behavior, or null.
        eClass - The Ecore class of the Behavior to create.
        Returns:
        The new Behavior.
        See Also:
        getOwnedBehaviors()
      • getOwnedBehavior

        Behavior getOwnedBehavior​(String name)
        Retrieves the first Behavior with the specified 'Name' from the ' Owned Behavior' containment reference list.
        Parameters:
        name - The 'Name' of the Behavior to retrieve, or null.
        Returns:
        The first Behavior with the specified 'Name', or null.
        See Also:
        getOwnedBehaviors()
      • getOwnedBehavior

        Behavior getOwnedBehavior​(String name,
                                  boolean ignoreCase,
                                  org.eclipse.emf.ecore.EClass eClass,
                                  boolean createOnDemand)
        Retrieves the first Behavior with the specified 'Name' from the ' Owned Behavior' containment reference list.
        Parameters:
        name - The 'Name' of the Behavior to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Behavior to retrieve, or null.
        createOnDemand - Whether to create a Behavior on demand if not found.
        Returns:
        The first Behavior with the specified 'Name', or null.
        See Also:
        getOwnedBehaviors()
      • createClassifierBehavior

        Behavior createClassifierBehavior​(String name,
                                          org.eclipse.emf.ecore.EClass eClass)
        Creates a new Behavior, with the specified 'Name', and sets the ' Classifier Behavior' reference.
        Parameters:
        name - The 'Name' for the new Behavior, or null.
        eClass - The Ecore class of the Behavior to create.
        Returns:
        The new Behavior.
        See Also:
        getClassifierBehavior()
      • createOwnedTrigger

        Trigger createOwnedTrigger​(String name)
        Creates a new Trigger, with the specified 'Name', and appends it to the ' Owned Trigger' containment reference list.
        Parameters:
        name - The 'Name' for the new Trigger, or null.
        Returns:
        The new Trigger.
        See Also:
        getOwnedTriggers()
      • getOwnedTrigger

        Trigger getOwnedTrigger​(String name)
        Retrieves the first Trigger with the specified 'Name' from the ' Owned Trigger' containment reference list.
        Parameters:
        name - The 'Name' of the Trigger to retrieve, or null.
        Returns:
        The first Trigger with the specified 'Name', or null.
        See Also:
        getOwnedTriggers()
      • getOwnedTrigger

        Trigger getOwnedTrigger​(String name,
                                boolean ignoreCase,
                                boolean createOnDemand)
        Retrieves the first Trigger with the specified 'Name' from the ' Owned Trigger' containment reference list.
        Parameters:
        name - The 'Name' of the Trigger to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Trigger on demand if not found.
        Returns:
        The first Trigger with the specified 'Name', or null.
        See Also:
        getOwnedTriggers()
      • validateClassBehavior

        boolean validateClassBehavior​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map context)
        If a behavior is classifier behavior, it does not have a specification. self.classifierBehavior.notEmpty() implies self.specification.isEmpty()
      • getImplementedInterfaces

        MDWEList<Interface> getImplementedInterfaces()
        Retrieves the interfaces on which this behaviored classifier has an interface realization dependency.
      • getAllImplementedInterfaces

        MDWEList<Interface> getAllImplementedInterfaces()
        Retrieves all the interfaces on which this behaviored classifier or any of its parents has an interface realization dependency.