ch.sahits.model.db
Enum EDBIndexConstrains

java.lang.Object
  extended by java.lang.Enum<EDBIndexConstrains>
      extended by ch.sahits.model.db.EDBIndexConstrains
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EDBIndexConstrains>

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

This enumeration holds the modifieres for the index.

Since:
0.9.0
Author:
Andi Hotz

Enum Constant Summary
BITMAP
          Bitmap constraint (availabel in Oracle)
FOREIGN_KEY
          Foreign Key
NONE
          No index constrained defined
UNIQUE
          Unique constraints
 
Method Summary
static EDBIndexConstrains valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EDBIndexConstrains[] 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

NONE

public static final EDBIndexConstrains NONE
No index constrained defined


UNIQUE

public static final EDBIndexConstrains UNIQUE
Unique constraints


BITMAP

public static final EDBIndexConstrains BITMAP
Bitmap constraint (availabel in Oracle)


FOREIGN_KEY

public static final EDBIndexConstrains FOREIGN_KEY
Foreign Key

Method Detail

values

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

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

valueOf

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