Package org.teamapps.universaldb.index
Enum ColumnType
- java.lang.Object
-
- java.lang.Enum<ColumnType>
-
- org.teamapps.universaldb.index.ColumnType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ColumnType>,java.lang.constant.Constable
public enum ColumnType extends java.lang.Enum<ColumnType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANCURRENCYDATEDATE_TIMEDOUBLEDYNAMIC_CURRENCYENUMFILEFLOATINTLOCAL_DATELONGMULTI_REFERENCESHORTSINGLE_REFERENCETEXTTIMETIMESTAMP
-
Method Summary
Modifier and Type Method Description intgetId()IndexTypegetIndexType()static ColumnTypegetIndexTypeById(int id)static java.util.Set<java.lang.String>getNames()booleanisReference()static ColumnTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ColumnType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final ColumnType BOOLEAN
-
SHORT
public static final ColumnType SHORT
-
INT
public static final ColumnType INT
-
LONG
public static final ColumnType LONG
-
FLOAT
public static final ColumnType FLOAT
-
DOUBLE
public static final ColumnType DOUBLE
-
TEXT
public static final ColumnType TEXT
-
FILE
public static final ColumnType FILE
-
SINGLE_REFERENCE
public static final ColumnType SINGLE_REFERENCE
-
MULTI_REFERENCE
public static final ColumnType MULTI_REFERENCE
-
TIMESTAMP
public static final ColumnType TIMESTAMP
-
DATE
public static final ColumnType DATE
-
TIME
public static final ColumnType TIME
-
DATE_TIME
public static final ColumnType DATE_TIME
-
LOCAL_DATE
public static final ColumnType LOCAL_DATE
-
ENUM
public static final ColumnType ENUM
-
CURRENCY
public static final ColumnType CURRENCY
-
DYNAMIC_CURRENCY
public static final ColumnType DYNAMIC_CURRENCY
-
-
Method Detail
-
values
public static ColumnType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getId
public int getId()
-
getIndexTypeById
public static ColumnType getIndexTypeById(int id)
-
isReference
public boolean isReference()
-
getIndexType
public IndexType getIndexType()
-
getNames
public static java.util.Set<java.lang.String> getNames()
-
-