Class GeneratorImpl
java.lang.Object
org.apache.openjpa.persistence.GeneratorImpl
- All Implemented Interfaces:
Generator
-
Field Summary
Fields inherited from interface Generator
UUID_HEX, UUID_STRING, UUID_TYPE4_HEX, UUID_TYPE4_STRING -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorImpl(Seq seq, String name, StoreContext ctx, ClassMetaData meta) Constructor; supply delegate. -
Method Summary
Modifier and TypeMethodDescriptionvoidallocate(int additional) Hint to the sequence to allocate additional values up-front for efficiency.current()The current sequence value, or null if the sequence does not support current values.booleanDelegate.getName()The sequence name.inthashCode()next()The next sequence value.
-
Constructor Details
-
GeneratorImpl
Constructor; supply delegate.
-
-
Method Details
-
getDelegate
-
getName
-
next
-
current
-
allocate
-
hashCode
-
equals
-