org.geotools.jdbc
Class NonIncrementingPrimaryKeyColumn

java.lang.Object
  extended by org.geotools.jdbc.PrimaryKeyColumn
      extended by org.geotools.jdbc.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

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

Constructor Detail

NonIncrementingPrimaryKeyColumn

public NonIncrementingPrimaryKeyColumn(java.lang.String name,
                                       java.lang.Class type)


Copyright © 1996-2010 Geotools. All Rights Reserved.