The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15



Tips ‘n’ Tricks


Enum (Java UNO Runtime Reference)
UDK 3.2.7 Java API Reference
Class Enum

  extended by

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 a object of this class or subclass direct, to avoid enum values with integer values outside the defined range.

Constructor Summary
protected Enum(int value)
          Constructs a enum value.
Method Summary
 int getValue()
          Get the integer value of an enum value.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


protected Enum(int value)
Constructs a enum value.

value - the integer value of this enum value.
Method Detail


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

the integer value.

UDK 3.2.7 Java API Reference

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.