Class Enum


  • public abstract class Enum
    extends Object
    The Enum class is the base class for all classes generated as java binding for the IDL type enum.

    Each java mapped enum class provides static member of this class which represents the enum values. You cannot create an object of this class or subclass direct, to avoid enum values with integer values outside the defined range.

    • Constructor Detail

      • Enum

        protected Enum​(int value)
        Constructs an enum value.
        Parameters:
        value - the integer value of this enum value.
    • Method Detail

      • getValue

        public final int getValue()
        Get the integer value of an enum value.
        Returns:
        the integer value.