com.synex.xml.ext
Class SequenceGenerator

java.lang.Object
  |
  +--com.synex.xml.ext.SequenceGenerator
All Implemented Interfaces:
CustomAction

public class SequenceGenerator
extends java.lang.Object
implements CustomAction

The implementation of the java custom extension. This extension class increments the sequence and returns the next value. These values are often used for primary and unique keys.


Constructor Summary
SequenceGenerator()
          Creates new SequenceGenerator
 
Method Summary
 java.lang.String getValue()
          Gets the custom string value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceGenerator

public SequenceGenerator()
Creates new SequenceGenerator
Method Detail

getValue

public java.lang.String getValue()
Gets the custom string value.
Specified by:
getValue in interface CustomAction
Returns:
The string representation of a sequence integer value


Submit a bug or feature
For further API reference and developer documentation, see XML Bulk Loader Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sergey Yakovlev, All Rights Reserved.