|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.businessobjects.rebean.wi.FormatNumberType
public final class FormatNumberType
The FormatNumberType
class contains all categories of object formats.
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 |
---|
public static final int _CUSTOM
int
value of CUSTOM.value()
public static final int _NUMBER
int
value of NUMBER.value()
public static final int _CURRENCY
int
value of CURRENCY.value()
public static final int _DATE_TIME
int
value of DATE_TIME.value()
public static final int _BOOLEAN
int
value of BOOLEAN.value()
public static final FormatNumberType CUSTOM
public static final FormatNumberType NUMBER
public static final FormatNumberType CURRENCY
public static final FormatNumberType DATE_TIME
public static final FormatNumberType BOOLEAN
Method Detail |
---|
public int value()
int
value of this format number type.
value
in interface EnumItem
int
value of this format number type.public java.lang.String toString()
String
representation of this format number type.
toString
in class java.lang.Object
String
representation of this format number type (for debug purposes)public static FormatNumberType fromInt(int value)
FormatNumberType
instance corresponding to value
, or
null
when value
does not correspond to any
FormatNumberType
.
FormatNumberType
instance corresponding to value
, or
null
when value
does not correspond to any
FormatNumberType
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |