Interface Class

    • Method Detail

      • createOwnedOperation

        Operation createOwnedOperation​(String name,
                                       MDWEList<String> ownedParameterNames,
                                       MDWEList<? extends Type> ownedParameterTypes)
        Creates a new Operation, with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Operation' containment reference list.
        Parameters:
        name - The 'Name' for the new Operation, or null.
        ownedParameterNames - The 'Owned Parameter Names' for the new Operation, or null.
        ownedParameterTypes - The 'Owned Parameter Types' for the new Operation, or null.
        Returns:
        The new Operation.
        See Also:
        getOwnedOperations()
      • getOwnedOperation

        Operation getOwnedOperation​(String name,
                                    MDWEList<String> ownedParameterNames,
                                    MDWEList<? extends Type> ownedParameterTypes)
        Retrieves the first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
        Parameters:
        name - The 'Name' of the Operation to retrieve, or null.
        ownedParameterNames - The 'Owned Parameter Names' of the Operation to retrieve, or null.
        ownedParameterTypes - The 'Owned Parameter Types' of the Operation to retrieve, or null.
        Returns:
        The first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', or null.
        See Also:
        getOwnedOperations()
      • getOwnedOperation

        Operation getOwnedOperation​(String name,
                                    MDWEList<String> ownedParameterNames,
                                    MDWEList<? extends Type> ownedParameterTypes,
                                    boolean ignoreCase,
                                    boolean createOnDemand)
        Retrieves the first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
        Parameters:
        name - The 'Name' of the Operation to retrieve, or null.
        ownedParameterNames - The 'Owned Parameter Names' of the Operation to retrieve, or null.
        ownedParameterTypes - The 'Owned Parameter Types' of the Operation to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Operation on demand if not found.
        Returns:
        The first Operation with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', or null.
        See Also:
        getOwnedOperations()
      • getNestedClassifiers

        MDWEList<Classifier> getNestedClassifiers()
        Returns the value of the 'Nested Classifier' containment reference list. The list contents are of type Classifier. References all the Classifiers that are defined (nested) within the Class.
        Returns:
        the value of the 'Nested Classifier' containment reference list.
        See Also:
        UMLPackage.getClass_NestedClassifier()
      • createNestedClassifier

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

        Classifier getNestedClassifier​(String name)
        Retrieves the first Classifier with the specified 'Name' from the ' Nested Classifier' containment 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:
        getNestedClassifiers()
      • getNestedClassifier

        Classifier getNestedClassifier​(String name,
                                       boolean ignoreCase,
                                       org.eclipse.emf.ecore.EClass eClass,
                                       boolean createOnDemand)
        Retrieves the first Classifier with the specified 'Name' from the ' Nested Classifier' containment 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.
        createOnDemand - Whether to create a Classifier on demand if not found.
        Returns:
        The first Classifier with the specified 'Name', or null.
        See Also:
        getNestedClassifiers()
      • getSuperClasses

        MDWEList<Class> getSuperClasses()
        Returns the value of the 'Super Class' reference list. The list contents are of type Class. This gives the superclasses of a class.
        Returns:
        the value of the 'Super Class' reference list.
        See Also:
        UMLPackage.getClass_SuperClass()
      • getSuperClass

        Class getSuperClass​(String name)
        Retrieves the first Class with the specified 'Name' from the ' Super Class' reference list.
        Parameters:
        name - The 'Name' of the Class to retrieve, or null.
        Returns:
        The first Class with the specified 'Name', or null.
        See Also:
        getSuperClasses()
      • getSuperClass

        Class getSuperClass​(String name,
                            boolean ignoreCase,
                            org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first Class with the specified 'Name' from the ' Super Class' reference list.
        Parameters:
        name - The 'Name' of the Class to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Class to retrieve, or null.
        Returns:
        The first Class with the specified 'Name', or null.
        See Also:
        getSuperClasses()
      • isActive

        boolean isActive()
        Returns the value of the 'Is Active' attribute. The default value is "false". Determines whether an object specified by this class is active or not. If true, then the owning class is referred to as an active class. If false, then such a class is referred to as a passive class.
        Returns:
        the value of the 'Is Active' attribute.
        See Also:
        setIsActive(boolean), UMLPackage.getClass_IsActive()
      • setIsActive

        void setIsActive​(boolean value)
        Sets the value of the 'Is Active' attribute.
        Parameters:
        value - the new value of the 'Is Active' attribute.
        See Also:
        isActive()
      • getOwnedReceptions

        MDWEList<Reception> getOwnedReceptions()
        Returns the value of the 'Owned Reception' containment reference list. The list contents are of type Reception. Receptions that objects of this class are willing to accept.
        Returns:
        the value of the 'Owned Reception' containment reference list.
        See Also:
        UMLPackage.getClass_OwnedReception()
      • createOwnedReception

        Reception createOwnedReception​(String name,
                                       MDWEList<String> ownedParameterNames,
                                       MDWEList<? extends Type> ownedParameterTypes)
        Creates a new Reception, with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Reception' containment reference list.
        Parameters:
        name - The 'Name' for the new Reception, or null.
        ownedParameterNames - The 'Owned Parameter Names' for the new Reception, or null.
        ownedParameterTypes - The 'Owned Parameter Types' for the new Reception, or null.
        Returns:
        The new Reception.
        See Also:
        getOwnedReceptions()
      • getOwnedReception

        Reception getOwnedReception​(String name,
                                    MDWEList<String> ownedParameterNames,
                                    MDWEList<? extends Type> ownedParameterTypes)
        Retrieves the first Reception with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Reception' containment reference list.
        Parameters:
        name - The 'Name' of the Reception to retrieve, or null.
        ownedParameterNames - The 'Owned Parameter Names' of the Reception to retrieve, or null.
        ownedParameterTypes - The 'Owned Parameter Types' of the Reception to retrieve, or null.
        Returns:
        The first Reception with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', or null.
        See Also:
        getOwnedReceptions()
      • getOwnedReception

        Reception getOwnedReception​(String name,
                                    MDWEList<String> ownedParameterNames,
                                    MDWEList<? extends Type> ownedParameterTypes,
                                    boolean ignoreCase,
                                    boolean createOnDemand)
        Retrieves the first Reception with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Reception' containment reference list.
        Parameters:
        name - The 'Name' of the Reception to retrieve, or null.
        ownedParameterNames - The 'Owned Parameter Names' of the Reception to retrieve, or null.
        ownedParameterTypes - The 'Owned Parameter Types' of the Reception to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Reception on demand if not found.
        Returns:
        The first Reception with the specified 'Name', ' Owned Parameter Names', and 'Owned Parameter Types', or null.
        See Also:
        getOwnedReceptions()
      • getExtensions

        MDWEList<Extension> getExtensions()
        Returns the value of the 'Extension' reference list. The list contents are of type Extension. It is bidirectional and its opposite is 'Metaclass'. References the Extensions that specify additional properties of the metaclass. The property is derived from the extensions whose memberEnds are typed by the Class.
        Returns:
        the value of the 'Extension' reference list.
        See Also:
        UMLPackage.getClass_Extension(), Extension.getMetaclass()
      • getExtension

        Extension getExtension​(String name)
        Retrieves the first Extension with the specified 'Name' from the ' Extension' reference list.
        Parameters:
        name - The 'Name' of the Extension to retrieve, or null.
        Returns:
        The first Extension with the specified 'Name', or null.
        See Also:
        getExtensions()
      • getExtension

        Extension getExtension​(String name,
                               boolean ignoreCase)
        Retrieves the first Extension with the specified 'Name' from the ' Extension' reference list.
        Parameters:
        name - The 'Name' of the Extension to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        Returns:
        The first Extension with the specified 'Name', or null.
        See Also:
        getExtensions()
      • validatePassiveClass

        boolean validatePassiveClass​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        A passive class may not own receptions. not self.isActive implies self.ownedReception.isEmpty()
      • createOwnedOperation

        Operation createOwnedOperation​(String name,
                                       MDWEList<String> parameterNames,
                                       MDWEList<? extends Type> parameterTypes,
                                       Type returnType)
        Creates an operation with the specified name, parameter names, parameter types, and return type (or null) as an owned operation of this class.
      • isMetaclass

        boolean isMetaclass()
        Determines whether this class is a metaclass.