Enum SearchFieldDataTypeEnum
- java.lang.Object
-
- java.lang.Enum<SearchFieldDataTypeEnum>
-
- net.sourceforge.jbizmo.commons.search.dto.SearchFieldDataTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SearchFieldDataTypeEnum>
public enum SearchFieldDataTypeEnum extends Enum<SearchFieldDataTypeEnum>
Enumeration of search field data types
Copyright 2010 (C) by Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_DECIMALBOOLEANCHARDATEDOUBLEENUMFLOATGREGORIAN_CALENDARINTEGERLOCAL_DATELOCAL_DATE_TIMELONGSTRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchFieldDataTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchFieldDataTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final SearchFieldDataTypeEnum STRING
-
INTEGER
public static final SearchFieldDataTypeEnum INTEGER
-
DOUBLE
public static final SearchFieldDataTypeEnum DOUBLE
-
BOOLEAN
public static final SearchFieldDataTypeEnum BOOLEAN
-
DATE
public static final SearchFieldDataTypeEnum DATE
-
GREGORIAN_CALENDAR
public static final SearchFieldDataTypeEnum GREGORIAN_CALENDAR
-
ENUM
public static final SearchFieldDataTypeEnum ENUM
-
LONG
public static final SearchFieldDataTypeEnum LONG
-
FLOAT
public static final SearchFieldDataTypeEnum FLOAT
-
CHAR
public static final SearchFieldDataTypeEnum CHAR
-
BIG_DECIMAL
public static final SearchFieldDataTypeEnum BIG_DECIMAL
-
LOCAL_DATE
public static final SearchFieldDataTypeEnum LOCAL_DATE
-
LOCAL_DATE_TIME
public static final SearchFieldDataTypeEnum LOCAL_DATE_TIME
-
-
Method Detail
-
values
public static SearchFieldDataTypeEnum[] 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 (SearchFieldDataTypeEnum c : SearchFieldDataTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchFieldDataTypeEnum 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
-
-