de.fesenmeyer.dbnormalizer.core
Enum FDCheckState

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

public enum FDCheckState
extends Enum<FDCheckState>

Enumeration describing the state of a FD concerning its satisfaction in the associated table.

Author:
DF

Enum Constant Summary
NO_DATA
          The associated table contains no data, so it can not be said whether it satisfies the FD or not.
NOT_SATISFIED
          The associated table does not satisfy the FD.
SATISFIED
          The associated table satisfies the FD.
UNCHECKED
          The FD has not yet been checked.
 
Method Summary
static FDCheckState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FDCheckState[] 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

UNCHECKED

public static final FDCheckState UNCHECKED
The FD has not yet been checked.


NO_DATA

public static final FDCheckState NO_DATA
The associated table contains no data, so it can not be said whether it satisfies the FD or not.


SATISFIED

public static final FDCheckState SATISFIED
The associated table satisfies the FD.


NOT_SATISFIED

public static final FDCheckState NOT_SATISFIED
The associated table does not satisfy the FD.

Method Detail

values

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

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

valueOf

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