org.datanucleus.jdo.metadata
Class DatastoreIdentityMetadataImpl

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

public class DatastoreIdentityMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.DatastoreIdentityMetadata

Implementation of JDO DatastoreIdentityMetadata object.


Constructor Summary
DatastoreIdentityMetadataImpl(IdentityMetaData idmd)
           
 
Method Summary
 java.lang.String getColumn()
           
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 java.lang.String getCustomStrategy()
           
 IdentityMetaData getInternal()
           
 int getNumberOfColumns()
           
 java.lang.String getSequence()
           
 javax.jdo.annotations.IdGeneratorStrategy getStrategy()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.DatastoreIdentityMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.DatastoreIdentityMetadata setCustomStrategy(java.lang.String strategy)
           
 javax.jdo.metadata.DatastoreIdentityMetadata setSequence(java.lang.String seq)
           
 javax.jdo.metadata.DatastoreIdentityMetadata setStrategy(javax.jdo.annotations.IdGeneratorStrategy strategy)
           
 
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

DatastoreIdentityMetadataImpl

public DatastoreIdentityMetadataImpl(IdentityMetaData idmd)
Method Detail

getInternal

public IdentityMetaData getInternal()

getColumn

public java.lang.String getColumn()
Specified by:
getColumn in interface javax.jdo.metadata.DatastoreIdentityMetadata

getColumns

public javax.jdo.metadata.ColumnMetadata[] getColumns()
Specified by:
getColumns in interface javax.jdo.metadata.DatastoreIdentityMetadata

getCustomStrategy

public java.lang.String getCustomStrategy()
Specified by:
getCustomStrategy in interface javax.jdo.metadata.DatastoreIdentityMetadata

getNumberOfColumns

public int getNumberOfColumns()
Specified by:
getNumberOfColumns in interface javax.jdo.metadata.DatastoreIdentityMetadata

getSequence

public java.lang.String getSequence()
Specified by:
getSequence in interface javax.jdo.metadata.DatastoreIdentityMetadata

getStrategy

public javax.jdo.annotations.IdGeneratorStrategy getStrategy()
Specified by:
getStrategy in interface javax.jdo.metadata.DatastoreIdentityMetadata

newColumnMetadata

public javax.jdo.metadata.ColumnMetadata newColumnMetadata()
Specified by:
newColumnMetadata in interface javax.jdo.metadata.DatastoreIdentityMetadata

setColumn

public javax.jdo.metadata.DatastoreIdentityMetadata setColumn(java.lang.String name)
Specified by:
setColumn in interface javax.jdo.metadata.DatastoreIdentityMetadata

setCustomStrategy

public javax.jdo.metadata.DatastoreIdentityMetadata setCustomStrategy(java.lang.String strategy)
Specified by:
setCustomStrategy in interface javax.jdo.metadata.DatastoreIdentityMetadata

setSequence

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

setStrategy

public javax.jdo.metadata.DatastoreIdentityMetadata setStrategy(javax.jdo.annotations.IdGeneratorStrategy strategy)
Specified by:
setStrategy in interface javax.jdo.metadata.DatastoreIdentityMetadata


Copyright © 2010. All Rights Reserved.