public enum ObjectType extends Enum<ObjectType>
Enum Constant and Description |
---|
FUNCTION
函数
|
PROCEDURE
存储过程
|
SEQUENCE
序列
|
TABLE
表,包含各种临时表等
|
VIEW
视图
|
Modifier and Type | Method and Description |
---|---|
static ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectType TABLE
public static final ObjectType SEQUENCE
public static final ObjectType VIEW
public static final ObjectType FUNCTION
public static final ObjectType PROCEDURE
public static ObjectType[] values()
for (ObjectType c : ObjectType.values()) System.out.println(c);
public static ObjectType 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 nullCopyright © 2020. All rights reserved.