org.geotools.jdbc
Class NonIncrementingPrimaryKeyColumn

Object
  extended by PrimaryKeyColumn
      extended by NonIncrementingPrimaryKeyColumn

public class NonIncrementingPrimaryKeyColumn
extends PrimaryKeyColumn

Represents a column of a primary key which is not auto incrementing.

If the type of the column is integral, new values are generated by selecting the max value of the key and adding 1 to it. If the column is character based a random string is generated.

Author:
Justin Deoliveira, OpenGEO
Module:
modules/library/jdbc (gt-jdbc.jar)

Constructor Summary
NonIncrementingPrimaryKeyColumn(String name, Class type)
           
 
Method Summary
 
Methods inherited from class PrimaryKeyColumn
getName, getType
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonIncrementingPrimaryKeyColumn

public NonIncrementingPrimaryKeyColumn(String name,
                                       Class type)


Copyright © 1996-2010 Geotools. All Rights Reserved.