Package net.pricefx.common.api
Enum FieldFormatType
- Object
-
- Enum<FieldFormatType>
-
- FieldFormatType
-
- All Implemented Interfaces:
Serializable
,Comparable<FieldFormatType>
public enum FieldFormatType extends Enum<FieldFormatType>
Enumeration of existing FieldFormatTypes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FieldFormatType
get(String code)
static FieldFormatType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FieldFormatType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMERIC
public static final FieldFormatType NUMERIC
-
NUMERIC_LONG
public static final FieldFormatType NUMERIC_LONG
-
MONEY
public static final FieldFormatType MONEY
-
PERCENT
public static final FieldFormatType PERCENT
-
TEXT
public static final FieldFormatType TEXT
-
MONEY_EUR
public static final FieldFormatType MONEY_EUR
-
MONEY_USD
public static final FieldFormatType MONEY_USD
-
MONEY_GBP
public static final FieldFormatType MONEY_GBP
-
MONEY_JPY
public static final FieldFormatType MONEY_JPY
-
MONEY_CHF
public static final FieldFormatType MONEY_CHF
-
MONEY_PLN
public static final FieldFormatType MONEY_PLN
-
DATETIME
public static final FieldFormatType DATETIME
-
DATE
public static final FieldFormatType DATE
-
INTEGER
public static final FieldFormatType INTEGER
-
LINK
public static final FieldFormatType LINK
-
COMPLEX
public static final FieldFormatType COMPLEX
-
SPARKLINE
public static final FieldFormatType SPARKLINE
-
-
Method Detail
-
values
public static FieldFormatType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FieldFormatType c : FieldFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldFormatType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static FieldFormatType get(String code)
-
-