org.datanucleus.jdo.metadata
Class SequenceMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
      extended by org.datanucleus.jdo.metadata.SequenceMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.Metadata, javax.jdo.metadata.SequenceMetadata

public class SequenceMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.SequenceMetadata

Implementation of JDO SequenceMetadata object.


Constructor Summary
SequenceMetadataImpl(SequenceMetaData internal)
           
 
Method Summary
 java.lang.Integer getAllocationSize()
           
 java.lang.String getDatastoreSequence()
           
 java.lang.String getFactoryClass()
           
 java.lang.Integer getInitialValue()
           
 SequenceMetaData getInternal()
           
 java.lang.String getName()
           
 javax.jdo.annotations.SequenceStrategy getSequenceStrategy()
           
 javax.jdo.metadata.SequenceMetadata setAllocationSize(int size)
           
 javax.jdo.metadata.SequenceMetadata setDatastoreSequence(java.lang.String seq)
           
 javax.jdo.metadata.SequenceMetadata setFactoryClass(java.lang.String cls)
           
 javax.jdo.metadata.SequenceMetadata setInitialValue(int value)
           
 
Methods inherited from class org.datanucleus.jdo.metadata.AbstractMetadataImpl
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
 

Constructor Detail

SequenceMetadataImpl

public SequenceMetadataImpl(SequenceMetaData internal)
Method Detail

getInternal

public SequenceMetaData getInternal()

getAllocationSize

public java.lang.Integer getAllocationSize()
Specified by:
getAllocationSize in interface javax.jdo.metadata.SequenceMetadata

getInitialValue

public java.lang.Integer getInitialValue()
Specified by:
getInitialValue in interface javax.jdo.metadata.SequenceMetadata

getDatastoreSequence

public java.lang.String getDatastoreSequence()
Specified by:
getDatastoreSequence in interface javax.jdo.metadata.SequenceMetadata

getFactoryClass

public java.lang.String getFactoryClass()
Specified by:
getFactoryClass in interface javax.jdo.metadata.SequenceMetadata

getName

public java.lang.String getName()
Specified by:
getName in interface javax.jdo.metadata.SequenceMetadata

getSequenceStrategy

public javax.jdo.annotations.SequenceStrategy getSequenceStrategy()
Specified by:
getSequenceStrategy in interface javax.jdo.metadata.SequenceMetadata

setAllocationSize

public javax.jdo.metadata.SequenceMetadata setAllocationSize(int size)
Specified by:
setAllocationSize in interface javax.jdo.metadata.SequenceMetadata

setDatastoreSequence

public javax.jdo.metadata.SequenceMetadata setDatastoreSequence(java.lang.String seq)
Specified by:
setDatastoreSequence in interface javax.jdo.metadata.SequenceMetadata

setFactoryClass

public javax.jdo.metadata.SequenceMetadata setFactoryClass(java.lang.String cls)
Specified by:
setFactoryClass in interface javax.jdo.metadata.SequenceMetadata

setInitialValue

public javax.jdo.metadata.SequenceMetadata setInitialValue(int value)
Specified by:
setInitialValue in interface javax.jdo.metadata.SequenceMetadata


Copyright © 2011. All Rights Reserved.