public enum LyraFieldType extends Enum<LyraFieldType>
| Enum Constant and Description |
|---|
BIT
BIT.
|
BLOB
BLOB.
|
DATETIME
DATETIME.
|
INT
INT.
|
REAL
REAL.
|
VARCHAR
VARCHAR.
|
| Modifier and Type | Method and Description |
|---|---|
static LyraFieldType |
lookupFieldType(Class<?> clazz)
Lookups respective LyraFieldType for Java class.
|
static LyraFieldType |
lookupFieldType(ru.curs.celesta.score.ColumnMeta c)
Определяет тип поля по метаданным столбца таблицы (Table).
|
static LyraFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LyraFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LyraFieldType BLOB
public static final LyraFieldType BIT
public static final LyraFieldType DATETIME
public static final LyraFieldType REAL
public static final LyraFieldType INT
public static final LyraFieldType VARCHAR
public static LyraFieldType[] values()
for (LyraFieldType c : LyraFieldType.values()) System.out.println(c);
public static LyraFieldType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static LyraFieldType lookupFieldType(ru.curs.celesta.score.ColumnMeta c)
c - столбец таблицы.public static LyraFieldType lookupFieldType(Class<?> clazz)
Copyright © 2019 CURS. All rights reserved.