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.
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final int |
| m_value | back to summary |
|---|---|
| private final int m_value | |
| Enum | back to summary |
|---|---|
| protected Enum(int value) Constructs an enum value.
| |
| getValue | back to summary |
|---|---|
| public final int getValue() Get the integer value of an enum value.
| |