org.deegree.feature.persistence.sql.blob
Class BlobMapping

java.lang.Object
  extended by org.deegree.feature.persistence.sql.blob.BlobMapping

public class BlobMapping
extends Object

Encapsulates the BLOB mapping parameters of a MappedAppSchema.

Version:
$Revision: 31572 $, $Date: 2011-08-18 11:11:21 +0200 (Thu, 18 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
MappedAppSchema, FeatureTypeMapping

Constructor Summary
BlobMapping(String table, ICRS storageCRS, BlobCodec codec)
          Creates a new BlobMapping instance.
 
Method Summary
 String getBBoxColumn()
           
 BlobCodec getCodec()
          Returns the BlobCodec for encoding and decoding features / geometries.
 ICRS getCRS()
          Returns the CRS used for storing the geometries / envelopes.
 String getDataColumn()
           
 String getGMLIdColumn()
          Returns the name of the column that stores the gml ids.
 String getInternalIdColumn()
           
 QTableName getTable()
          Returns the table that stores the BLOBs.
 String getTypeColumn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobMapping

public BlobMapping(String table,
                   ICRS storageCRS,
                   BlobCodec codec)
Creates a new BlobMapping instance.

Parameters:
table - the name of the table that stores the BLOBs, must not be null
storageCRS - crs used for storing geometries / envelopes, must not be null
codec - the decoder / encoder used for the BLOBs, must not be null
Method Detail

getTable

public QTableName getTable()
Returns the table that stores the BLOBs.

Returns:
the table that stores the BLOBs, never null

getCRS

public ICRS getCRS()
Returns the CRS used for storing the geometries / envelopes.

Returns:
the crs, never null

getCodec

public BlobCodec getCodec()
Returns the BlobCodec for encoding and decoding features / geometries.

Returns:
the codec, never null

getGMLIdColumn

public String getGMLIdColumn()
Returns the name of the column that stores the gml ids.

Returns:
the name of the column, never null

getDataColumn

public String getDataColumn()
Returns:

getBBoxColumn

public String getBBoxColumn()
Returns:

getTypeColumn

public String getTypeColumn()
Returns:

getInternalIdColumn

public String getInternalIdColumn()


Copyright © 2011. All Rights Reserved.