Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultValue()
|
java.lang.Class |
getJavaClass()
|
int |
getLength()
|
java.lang.String |
toString()
|
static SQLType
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SQLType[]
|
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLType INTEGER
public static final SQLType VARCHAR
public static final SQLType BOOL
public static SQLType[] values()
for (SQLType c : SQLType.values()) System.out.println(c);
public static SQLType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getLength()
public java.lang.String toString()
toString
in class java.lang.Enum<SQLType>
public java.lang.Class getJavaClass()
public java.lang.Object getDefaultValue()