public enum ZMysqlFieldType extends java.lang.Enum<ZMysqlFieldType>
限定符和类型 | 方法和说明 |
---|---|
static ZMysqlFieldType |
getDataType(ZMysqlFieldType oracleDataType) |
ZMysqlFieldType |
getMysqlDataTypeByValue(java.lang.String value) |
java.lang.String |
getName() |
java.lang.String |
getTemp() |
ZMysqlFieldType |
notNull() |
ZMysqlFieldType |
setLength(int num) |
ZMysqlFieldType |
setLength(int precision,
int scale) |
java.lang.String |
toString() |
static ZMysqlFieldType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ZMysqlFieldType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ZMysqlFieldType CHAR
public static final ZMysqlFieldType VARCHAR
public static final ZMysqlFieldType TINYBLOB
public static final ZMysqlFieldType TINYTEXT
public static final ZMysqlFieldType BLOB
public static final ZMysqlFieldType TEXT
public static final ZMysqlFieldType MEDIUMBLOB
public static final ZMysqlFieldType MEDIUMTEXT
public static final ZMysqlFieldType LONGBLOB
public static final ZMysqlFieldType LONGTEXT
public static final ZMysqlFieldType DATE
public static final ZMysqlFieldType TIME
public static final ZMysqlFieldType YEAR
public static final ZMysqlFieldType DATETIME
public static final ZMysqlFieldType TIMESTAMP
public static final ZMysqlFieldType TINYINT
public static final ZMysqlFieldType SMALLINT
public static final ZMysqlFieldType MEDIUMINT
public static final ZMysqlFieldType INTEGER
public static final ZMysqlFieldType NUMBER
public static final ZMysqlFieldType BIGINT
public static final ZMysqlFieldType FLOAT
public static final ZMysqlFieldType DOUBLE
public static final ZMysqlFieldType DECIMAL
public static final ZMysqlFieldType UROWID
public static ZMysqlFieldType[] values()
for (ZMysqlFieldType c : ZMysqlFieldType.values()) System.out.println(c);
public static ZMysqlFieldType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getName()
public ZMysqlFieldType setLength(int num)
public ZMysqlFieldType setLength(int precision, int scale)
public ZMysqlFieldType notNull()
public static ZMysqlFieldType getDataType(ZMysqlFieldType oracleDataType)
public java.lang.String toString()
toString
在类中 java.lang.Enum<ZMysqlFieldType>
public java.lang.String getTemp()
public ZMysqlFieldType getMysqlDataTypeByValue(java.lang.String value)