org.geotools.data.db2
Class DB2CoordinateSystem

Object
  extended by DB2CoordinateSystem

public class DB2CoordinateSystem
extends Object

Represent the coordinate system information maintained in the DB2 Spatial Extender catalog tables.

Author:
David Adler - IBM Corporation
Module:
modules/plugin/db2 (gt-db2.jar)

Constructor Summary
DB2CoordinateSystem(Connection conn, int srsId)
          Constructs a DB2CoordinateSystem.
 
Method Summary
 String toString()
          Returns the coordinate system name, organization and coordinate system identifier.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DB2CoordinateSystem

public DB2CoordinateSystem(Connection conn,
                           int srsId)
                    throws SQLException
Constructs a DB2CoordinateSystem.

Parameters:
conn - an open database connection.
srsId - the DB2 spatial reference system identifier.
Throws:
SQLException - if there was a database error attempting to load the coordinate system information.
Method Detail

toString

public String toString()
Returns the coordinate system name, organization and coordinate system identifier.

Overrides:
toString in class Object
Returns:
the coordinate system name, organization and coordinate system identifier as a String.


Copyright © 1996-2009 Geotools. All Rights Reserved.