org.geotools.data.db2
Class DB2CoordinateSystem

java.lang.Object
  extended byorg.geotools.data.db2.DB2CoordinateSystem

public class DB2CoordinateSystem
extends java.lang.Object

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

Author:
David Adler - IBM Corporation

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

Constructor Detail

DB2CoordinateSystem

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

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

toString

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

Returns:
the coordinate system name, organization and coordinate system identifier as a String.


Copyright © GeoTools. All Rights Reserved.