com.im.commons.db 5.9.2

com.im.commons.db.ddl
Enum DBTableInfo.Type

java.lang.Object
  extended by java.lang.Enum<DBTableInfo.Type>
      extended by 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.


Enum Constant Summary
TABLE
           
VIEW
           
 
Method Summary
static DBTableInfo.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBTableInfo.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TABLE

public static final DBTableInfo.Type TABLE

VIEW

public static final DBTableInfo.Type VIEW
Method Detail

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

com.im.commons.db 5.9.2