deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.datastore.schema
Enum TableRelation.FK_INFO

java.lang.Object
  extended by java.lang.Enum<TableRelation.FK_INFO>
      extended by org.deegree.io.datastore.schema.TableRelation.FK_INFO
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TableRelation.FK_INFO>
Enclosing class:
TableRelation

public static enum TableRelation.FK_INFO
extends java.lang.Enum<TableRelation.FK_INFO>

Used to represent the foreign key position.


Enum Constant Summary
fkIsFromField
          Foreign stored in 'From'-table, primary key in 'To'-table.
fkIsToField
          Foreign stored in 'To'-table, primary key in 'From'-table.
noFKInfo
          No foreign key information available (sufficient for read access).
 
Method Summary
static TableRelation.FK_INFO valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TableRelation.FK_INFO[] 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

noFKInfo

public static final TableRelation.FK_INFO noFKInfo
No foreign key information available (sufficient for read access).


fkIsToField

public static final TableRelation.FK_INFO fkIsToField
Foreign stored in 'To'-table, primary key in 'From'-table.


fkIsFromField

public static final TableRelation.FK_INFO fkIsFromField
Foreign stored in 'From'-table, primary key in 'To'-table.

Method Detail

values

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

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

valueOf

public static TableRelation.FK_INFO 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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org