com.businessobjects.rebean.wi
Class FormatNumberType

java.lang.Object
  extended by com.businessobjects.rebean.wi.FormatNumberType
All Implemented Interfaces:
EnumItem, java.io.Serializable

public final class FormatNumberType
extends java.lang.Object
implements java.io.Serializable, EnumItem

The FormatNumberType class contains all categories of object formats.

See Also:
Serialized Form

Field Summary
static int _BOOLEAN
          int value of BOOLEAN.value()
static int _CURRENCY
          int value of CURRENCY.value()
static int _CUSTOM
          int value of CUSTOM.value()
static int _DATE_TIME
          int value of DATE_TIME.value()
static int _NUMBER
          int value of NUMBER.value()
static FormatNumberType BOOLEAN
          Defines format for boolean.
static FormatNumberType CURRENCY
          Defines format for currency.
static FormatNumberType CUSTOM
          Defines custom, user-specified format numbers.
static FormatNumberType DATE_TIME
          Defines format for date and/or time.
static FormatNumberType NUMBER
          Defines format for numbers.
 
Method Summary
static FormatNumberType fromInt(int value)
          Returns a FormatNumberType instance corresponding to value, or null when value does not correspond to any FormatNumberType.
 java.lang.String toString()
          Returns a String representation of this format number type.
 int value()
          Returns the int value of this format number type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_CUSTOM

public static final int _CUSTOM
int value of CUSTOM.value()

See Also:
Constant Field Values

_NUMBER

public static final int _NUMBER
int value of NUMBER.value()

See Also:
Constant Field Values

_CURRENCY

public static final int _CURRENCY
int value of CURRENCY.value()

See Also:
Constant Field Values

_DATE_TIME

public static final int _DATE_TIME
int value of DATE_TIME.value()

See Also:
Constant Field Values

_BOOLEAN

public static final int _BOOLEAN
int value of BOOLEAN.value()

See Also:
Constant Field Values

CUSTOM

public static final FormatNumberType CUSTOM
Defines custom, user-specified format numbers.


NUMBER

public static final FormatNumberType NUMBER
Defines format for numbers.


CURRENCY

public static final FormatNumberType CURRENCY
Defines format for currency.


DATE_TIME

public static final FormatNumberType DATE_TIME
Defines format for date and/or time.


BOOLEAN

public static final FormatNumberType BOOLEAN
Defines format for boolean.

Since:
12.0
Method Detail

value

public int value()
Returns the int value of this format number type.

Specified by:
value in interface EnumItem
Returns:
the int value of this format number type.

toString

public java.lang.String toString()
Returns a String representation of this format number type.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this format number type (for debug purposes)

fromInt

public static FormatNumberType fromInt(int value)
Returns a FormatNumberType instance corresponding to value, or null when value does not correspond to any FormatNumberType.

Returns:
a FormatNumberType instance corresponding to value, or null when value does not correspond to any FormatNumberType.