public class SequenceGeneratorMetadataImpl extends Object implements SequenceGeneratorMetadata
SequenceGeneratorMetadata.| Constructor and Description |
|---|
SequenceGeneratorMetadataImpl(AbstractLocator locator,
javax.persistence.SequenceGenerator annotation) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAllocationSize()
Returns the allocation size of the generator.
|
String |
getCatalog()
Returns the catalog of the generator.
|
int |
getInitialValue()
Returns the initial value of the generator.
|
AbstractLocator |
getLocator()
Returns the locator.
|
String |
getName()
Returns the name of the Bindable.
|
String |
getSchema()
Returns the name of the schema of the generator.
|
String |
getSequenceName()
Returns the name of the sequence of the sequence generator.
|
public SequenceGeneratorMetadataImpl(AbstractLocator locator, javax.persistence.SequenceGenerator annotation)
locator - the java locatorannotation - the annotationpublic int getAllocationSize()
getAllocationSize in interface GeneratorMetadatapublic String getCatalog()
getCatalog in interface GeneratorMetadatapublic int getInitialValue()
getInitialValue in interface GeneratorMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadatapublic String getName()
getName in interface BindableMetadatapublic String getSchema()
getSchema in interface GeneratorMetadatapublic String getSequenceName()
getSequenceName in interface SequenceGeneratorMetadataCopyright © 2012-2013 Batoo. All Rights Reserved.