org.riverock.dbrevision.db
Enum Database.Family

java.lang.Object
  extended by java.lang.Enum<Database.Family>
      extended by org.riverock.dbrevision.db.Database.Family
All Implemented Interfaces:
Serializable, Comparable<Database.Family>
Enclosing class:
Database

public static enum Database.Family
extends Enum<Database.Family>

Database family


Enum Constant Summary
DB2
           
HYPERSONIC
           
INTERBASE
           
MAXDB
           
MYSQL
           
ORACLE
           
POSTGREES
           
SQLSERVER
           
 
Method Summary
static Database.Family valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Database.Family[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ORACLE

public static final Database.Family ORACLE

MYSQL

public static final Database.Family MYSQL

DB2

public static final Database.Family DB2

SQLSERVER

public static final Database.Family SQLSERVER

HYPERSONIC

public static final Database.Family HYPERSONIC

MAXDB

public static final Database.Family MAXDB

INTERBASE

public static final Database.Family INTERBASE

POSTGREES

public static final Database.Family POSTGREES
Method Detail

values

public static final Database.Family[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Database.Family c : Database.Family.values())
        System.out.println(c);

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

valueOf

public static Database.Family 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


Copyright © 2008 Riverock community. All Rights Reserved.