:py:mod:`ontouml_py.model.enumerations.ontouml_enum` ==================================================== .. py:module:: ontouml_py.model.enumerations.ontouml_enum .. autoapi-nested-parse:: This module defines a base class for creating enumerations in OntoUML. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: ontouml_py.model.enumerations.ontouml_enum.EnumABCMeta ontouml_py.model.enumerations.ontouml_enum.OntoumlEnum .. py:class:: EnumABCMeta Bases: :py:obj:`enum.EnumMeta`, :py:obj:`abc.ABCMeta` A metaclass that combines the functionalities of EnumMeta and ABCMeta. This metaclass is used to create abstract base classes that are also enums, allowing for the creation of enums with abstract methods. .. py:class:: OntoumlEnum(*args, **kwds) Bases: :py:obj:`enum.Enum` An abstract base class for OntoUML enumerations. This class provides a framework for creating enumerations in OntoUML. It allows for the definition of enum members in subclasses, which can be used to represent various categorizations and types within the OntoUML model. .. py:method:: get_members() :classmethod: Return the keys of the enum members. This method retrieves the keys (names) of all members of the enum class. :return: The keys of the enum members. :rtype: KeysView[str]