com.sibvisions.rad.persist.jdbc
Enum ServerMetaData.PrimaryKeyType

java.lang.Object
  extended by java.lang.Enum<ServerMetaData.PrimaryKeyType>
      extended by com.sibvisions.rad.persist.jdbc.ServerMetaData.PrimaryKeyType
All Implemented Interfaces:
Serializable, Comparable<ServerMetaData.PrimaryKeyType>
Enclosing class:
ServerMetaData

public static enum ServerMetaData.PrimaryKeyType
extends Enum<ServerMetaData.PrimaryKeyType>

the possible types for the pk columns.


Enum Constant Summary
AllColumns
          all columns are used.
PrimaryKeyColumns
          primary key is used.
UniqueKeyColumns
          unique key is used.
 
Method Summary
static ServerMetaData.PrimaryKeyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServerMetaData.PrimaryKeyType[] 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

PrimaryKeyColumns

public static final ServerMetaData.PrimaryKeyType PrimaryKeyColumns
primary key is used.


UniqueKeyColumns

public static final ServerMetaData.PrimaryKeyType UniqueKeyColumns
unique key is used.


AllColumns

public static final ServerMetaData.PrimaryKeyType AllColumns
all columns are used.

Method Detail

values

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

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

valueOf

public static ServerMetaData.PrimaryKeyType 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 © 2009 SIB Visions GmbH. All Rights Reserved.