Interface Extension

    • Method Detail

      • isRequired

        boolean isRequired()
        Returns the value of the 'Required' attribute. Indicates whether an instance of the extending stereotype must be created when an instance of the extended class is created. The attribute value is derived from the value of the lower property of the ExtensionEnd referenced by Extension::ownedEnd; a lower value of 1 means that isRequired is true, but otherwise it is false. Since the default value of ExtensionEnd::lower is 0, the default value of isRequired is false.
        Returns:
        the value of the 'Required' attribute.
        See Also:
        com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getExtension_Required()
        Model:
        dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
        Generated:
      • getMetaclass

        @CheckForNull
        Class getMetaclass()
        Returns the value of the 'Metaclass' reference. It is bidirectional and its opposite is 'Extension'. References the Class that is extended through an Extension. The property is derived from the type of the memberEnd that is not the ownedEnd.
        Returns:
        the value of the 'Metaclass' reference.
        See Also:
        UMLPackage.getExtension_Metaclass(), Class.getExtension()
        Model:
        opposite="extension" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
        Generated: