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

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

public class FIDMapping
extends 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(String prefix, String delimiter, List<Pair<String,BaseType>> columns, IDGenerator generator)
          Creates a new FIDMapping instance.
 
Method Summary
 String getColumn()
          Deprecated. 
 List<Pair<String,BaseType>> getColumns()
           
 BaseType getColumnType()
          Deprecated. 
 String getDelimiter()
           
 IDGenerator getIdGenerator()
           
 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(String prefix,
                  String delimiter,
                  List<Pair<String,BaseType>> columns,
                  IDGenerator generator)
Creates a new FIDMapping instance.

Parameters:
prefix - static prefix for all feature ids, must not be null (but can be empty)
delimiter - delimiter that separates the values of the individual columns, must not be null (but can be empty)
columns - database columns that the feature ids are mapped to, must not be null (and contain at least one entry)
generator - generator for determining new ids, can be null (in this case, no inserts are possible)
Method Detail

getPrefix

public String getPrefix()

getDelimiter

public String getDelimiter()

getColumns

public List<Pair<String,BaseType>> getColumns()

getIdGenerator

public IDGenerator getIdGenerator()

getColumn

@Deprecated
public String getColumn()
Deprecated. 


getColumnType

@Deprecated
public BaseType getColumnType()
Deprecated. 



Copyright © 2011. All Rights Reserved.