org.deegree.feature.persistence.mapping.id
Class FIDMapping

java.lang.Object
  extended by org.deegree.feature.persistence.mapping.id.FIDMapping

public class FIDMapping
extends java.lang.Object

Defines the mapping between feature ids and a relational model.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: markus $
See Also:
FeatureTypeMapping

Constructor Summary
FIDMapping(java.lang.String prefix, java.lang.String column, PrimitiveType pt, IDGenerator generator)
          Creates a new FIDMapping instance.
 
Method Summary
 java.lang.String getColumn()
           
 PrimitiveType getColumnType()
           
 java.lang.String getPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FIDMapping

public FIDMapping(java.lang.String prefix,
                  java.lang.String column,
                  PrimitiveType pt,
                  IDGenerator generator)
Creates a new FIDMapping instance.

Parameters:
prefix - static prefix for all feature ids, must not be null (but can be empty)
column - database column that the feature ids are mapped to, must not be null
pt - type of the database column, must not be null
generator - generator for determining new ids, must not be null
Method Detail

getPrefix

public java.lang.String getPrefix()

getColumn

public java.lang.String getColumn()

getColumnType

public PrimitiveType getColumnType()


Copyright © 2011. All Rights Reserved.