org.deegree.feature.persistence.sql
Class GeometryStorageParams

java.lang.Object
  extended by org.deegree.feature.persistence.sql.GeometryStorageParams

public class GeometryStorageParams
extends Object

Encapsulates the storage parameters for geometries.

Version:
$Revision: 30942 $, $Date: 2011-05-27 18:16:00 +0200 (Fri, 27 May 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GeometryStorageParams(ICRS crs, String srid, GeometryPropertyType.CoordinateDimension dim)
          Creates a new GeometryStorageParams instance.
 
Method Summary
 ICRS getCrs()
          Returns the coordinate reference system for stored geometries.
 GeometryPropertyType.CoordinateDimension getDim()
          Returns the coordinate dimension.
 String getSrid()
          Returns the spatial reference identifier (database code).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryStorageParams

public GeometryStorageParams(ICRS crs,
                             String srid,
                             GeometryPropertyType.CoordinateDimension dim)
Creates a new GeometryStorageParams instance.

Parameters:
crs - coordinate reference system used for stored geometries or null (unspecified)
srid - spatial reference identifier (database code), must not be null
dim - dimensionality of coordinates, must not be null
Method Detail

getCrs

public ICRS getCrs()
Returns the coordinate reference system for stored geometries.

Returns:
coordinate reference system, can be null (unspecified)

getSrid

public String getSrid()
Returns the spatial reference identifier (database code).

Returns:
spatial reference identifier, never null

getDim

public GeometryPropertyType.CoordinateDimension getDim()
Returns the coordinate dimension.

Returns:
coordinate dimension, never null


Copyright © 2011. All Rights Reserved.