uk.ac.shef.dcs.oak.jate.io
Enum DatabaseTables

java.lang.Object
  extended by java.lang.Enum<DatabaseTables>
      extended by uk.ac.shef.dcs.oak.jate.io.DatabaseTables
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatabaseTables>

public enum DatabaseTables
extends java.lang.Enum<DatabaseTables>


Enum Constant Summary
TABLE_DOC_2_ID
           
TABLE_DOCID_2_TERMIDS
           
TABLE_TERM_2_ID
           
TABLE_TERMID_2_DOCIDS
           
TABLE_TERMID_2_TERMVARIDS
           
TABLE_TERMVARIANT_2_ID
           
TABLE_TERMVARID_2_TERMID
           
 
Method Summary
 java.lang.String getPrimaryKeyDatatype()
           
 java.lang.String getPrimaryKeyField()
           
 java.lang.String getTableName()
           
 java.lang.String getValueDatatype()
           
 java.lang.String getValueField()
           
static DatabaseTables valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatabaseTables[] 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_TERM_2_ID

public static final DatabaseTables TABLE_TERM_2_ID

TABLE_TERMVARIANT_2_ID

public static final DatabaseTables TABLE_TERMVARIANT_2_ID

TABLE_DOC_2_ID

public static final DatabaseTables TABLE_DOC_2_ID

TABLE_TERMID_2_DOCIDS

public static final DatabaseTables TABLE_TERMID_2_DOCIDS

TABLE_DOCID_2_TERMIDS

public static final DatabaseTables TABLE_DOCID_2_TERMIDS

TABLE_TERMID_2_TERMVARIDS

public static final DatabaseTables TABLE_TERMID_2_TERMVARIDS

TABLE_TERMVARID_2_TERMID

public static final DatabaseTables TABLE_TERMVARID_2_TERMID
Method Detail

values

public static DatabaseTables[] 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 (DatabaseTables c : DatabaseTables.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DatabaseTables valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPrimaryKeyField

public java.lang.String getPrimaryKeyField()

getValueField

public java.lang.String getValueField()

getPrimaryKeyDatatype

public java.lang.String getPrimaryKeyDatatype()

getValueDatatype

public java.lang.String getValueDatatype()

getTableName

public java.lang.String getTableName()