(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4
UNO Java Runtime

com.sun.star.uno
Class Enum

java.lang.Object
  |
  +--com.sun.star.uno.Enum
Direct Known Subclasses:
TypeClass

public abstract class Enum
extends java.lang.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.

Since:
UDK1.0

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

Enum

protected Enum(int value)
Constructs a 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.

UNO Java Runtime

Apache Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.