public enum DataSourceType extends java.lang.Enum<DataSourceType>
Enum Constant and Description |
---|
Function |
Other |
StoredProc |
SubQuery |
Table |
View |
Modifier and Type | Method and Description |
---|---|
static DataSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceType Table
public static final DataSourceType View
public static final DataSourceType StoredProc
public static final DataSourceType Function
public static final DataSourceType SubQuery
public static final DataSourceType Other
public static DataSourceType[] values()
for (DataSourceType c : DataSourceType.values()) System.out.println(c);
public static DataSourceType 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 namejava.lang.NullPointerException
- if the argument is null