com.im.commons.db.ddl
Enum DBTableInfo.Type
java.lang.Object
java.lang.Enum<DBTableInfo.Type>
com.im.commons.db.ddl.DBTableInfo.Type
- All Implemented Interfaces:
- Serializable, Comparable<DBTableInfo.Type>
- Enclosing interface:
- DBTableInfo
public static enum DBTableInfo.Type
- extends Enum<DBTableInfo.Type>
Enum of supported physical database artifacts that can be used. Currently
tales and views are supported. Synonyms and materialised views will be added
in the future.
TABLE
public static final DBTableInfo.Type TABLE
VIEW
public static final DBTableInfo.Type VIEW
values
public static DBTableInfo.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DBTableInfo.Type c : DBTableInfo.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DBTableInfo.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null