Package de.mhus.lib.annotations.adb
Enum DbType.TYPE
- java.lang.Object
-
- java.lang.Enum<DbType.TYPE>
-
- de.mhus.lib.annotations.adb.DbType.TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<DbType.TYPE>
- Enclosing class:
- DbType
public static enum DbType.TYPE extends Enum<DbType.TYPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DbType.TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static DbType.TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final DbType.TYPE INT
-
LONG
public static final DbType.TYPE LONG
-
BOOL
public static final DbType.TYPE BOOL
-
DOUBLE
public static final DbType.TYPE DOUBLE
-
FLOAT
public static final DbType.TYPE FLOAT
-
STRING
public static final DbType.TYPE STRING
-
DATETIME
public static final DbType.TYPE DATETIME
-
UUID
public static final DbType.TYPE UUID
-
BLOB
public static final DbType.TYPE BLOB
-
UNKNOWN
public static final DbType.TYPE UNKNOWN
-
BIGDECIMAL
public static final DbType.TYPE BIGDECIMAL
-
-
Method Detail
-
values
public static DbType.TYPE[] 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 (DbType.TYPE c : DbType.TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbType.TYPE 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
-
-