de.fesenmeyer.dbnormalizer.core
Enum TableContainerType

java.lang.Object
  extended by java.lang.Enum<TableContainerType>
      extended by de.fesenmeyer.dbnormalizer.core.TableContainerType
All Implemented Interfaces:
Serializable, Comparable<TableContainerType>

public enum TableContainerType
extends Enum<TableContainerType>

An enumeration holding the possible types of TableContainers.

Author:
DF
See Also:
TableContainer

Enum Constant Summary
CATALOG
          The type to be used for catalogs.
NONE
          The type to be used to group tables neither contained in a catalog nor schema.
SCHEMA
          The type to be used for schemas.
 
Method Summary
static TableContainerType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TableContainerType[] 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

SCHEMA

public static final TableContainerType SCHEMA
The type to be used for schemas.


CATALOG

public static final TableContainerType CATALOG
The type to be used for catalogs.


NONE

public static final TableContainerType NONE
The type to be used to group tables neither contained in a catalog nor schema. Used by TableContainer.NO_CONTAINER.

Method Detail

values

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

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

valueOf

public static TableContainerType 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