org.deegree.feature.persistence.mapping
Class BlobMapping

java.lang.Object
  extended by org.deegree.feature.persistence.mapping.BlobMapping

public class BlobMapping
extends java.lang.Object

Encapsulates the BLOB mapping parameters for a MappedApplicationSchema.

Version:
$Revision: 27750 $, $Date: 2010-11-03 16:49:44 +0100 (Mi, 03. Nov 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $
See Also:
MappedApplicationSchema, FeatureTypeMapping

Constructor Summary
BlobMapping(java.lang.String table, CRS storageCRS, BlobCodec codec)
          Creates a new BlobMapping instance.
 
Method Summary
 java.lang.String getBBoxColumn()
           
 BlobCodec getCodec()
          Returns the BlobCodec for encoding and decoding features / geometries.
 CRS getCRS()
          Returns the CRS used for storing the geometries / envelopes.
 java.lang.String getDataColumn()
           
 java.lang.String getGMLIdColumn()
          Returns the name of the column that stores the gml ids.
 java.lang.String getInternalIdColumn()
           
 java.lang.String getTable()
          Returns the name of the table that stores the BLOBs.
 java.lang.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(java.lang.String table,
                   CRS 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 java.lang.String getTable()
Returns the name of the table that stores the BLOBs.

Returns:
the name of the table that stores the BLOBs, never null

getCRS

public CRS 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 java.lang.String getGMLIdColumn()
Returns the name of the column that stores the gml ids.

Returns:
the name of the column, never null

getDataColumn

public java.lang.String getDataColumn()
Returns:

getBBoxColumn

public java.lang.String getBBoxColumn()
Returns:

getTypeColumn

public java.lang.String getTypeColumn()
Returns:

getInternalIdColumn

public java.lang.String getInternalIdColumn()


Copyright © 2011. All Rights Reserved.