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

org.deegree.io.datastore.sql.transaction.delete
Class TableReference

java.lang.Object
  extended by org.deegree.io.datastore.sql.transaction.delete.TableReference

 class TableReference
extends java.lang.Object

Represents a reference from a table to another table. This corresponds to a TableRelation declaration in an annotated GML schema, but with unambigious direction: the source (from) table contains the foreign key.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
TableReference(TableRelation relation)
          Creates a new TableReference instance from the given TableRelation.
 
Method Summary
(package private)  MappingField[] getFkColumns()
          Returns the columns that build the foreign key (in the 'from' table).
(package private)  java.lang.String getFromTable()
          Returns the name of the 'from' table.
(package private)  MappingField[] getKeyColumns()
          Returns the columns that build the key (in the 'to' table).
(package private)  java.lang.String getToTable()
          Returns the name of the 'to' table.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableReference

TableReference(TableRelation relation)
Creates a new TableReference instance from the given TableRelation.

Parameters:
relation -
Method Detail

getFkColumns

MappingField[] getFkColumns()
Returns the columns that build the foreign key (in the 'from' table).

Returns:
the columns that build the foreign key (in the 'from' table)

getFromTable

java.lang.String getFromTable()
Returns the name of the 'from' table.

Returns:
the name of the 'from' table

getKeyColumns

MappingField[] getKeyColumns()
Returns the columns that build the key (in the 'to' table).

Returns:
the columns that build the key (in the 'to' table)

getToTable

java.lang.String getToTable()
Returns the name of the 'to' table.

Returns:
the name of the 'to' table

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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