org.datanucleus.jdo.metadata
Class VersionMetadataImpl

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

public class VersionMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.VersionMetadata

Implementation of JDO VersionMetadata object.


Constructor Summary
VersionMetadataImpl(VersionMetaData internal)
           
 
Method Summary
 java.lang.String getColumn()
           
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 javax.jdo.metadata.Indexed getIndexed()
           
 javax.jdo.metadata.IndexMetadata getIndexMetadata()
           
 VersionMetaData getInternal()
           
 int getNumberOfColumns()
           
 javax.jdo.annotations.VersionStrategy getStrategy()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.IndexMetadata newIndexMetadata()
           
 javax.jdo.metadata.VersionMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.VersionMetadata setIndexed(javax.jdo.metadata.Indexed idx)
           
 javax.jdo.metadata.VersionMetadata setStrategy(javax.jdo.annotations.VersionStrategy str)
           
 
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

VersionMetadataImpl

public VersionMetadataImpl(VersionMetaData internal)
Method Detail

getInternal

public VersionMetaData getInternal()

getColumn

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

getColumns

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

getIndexMetadata

public javax.jdo.metadata.IndexMetadata getIndexMetadata()
Specified by:
getIndexMetadata in interface javax.jdo.metadata.VersionMetadata

getIndexed

public javax.jdo.metadata.Indexed getIndexed()
Specified by:
getIndexed in interface javax.jdo.metadata.VersionMetadata

getNumberOfColumns

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

getStrategy

public javax.jdo.annotations.VersionStrategy getStrategy()
Specified by:
getStrategy in interface javax.jdo.metadata.VersionMetadata

newColumnMetadata

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

newIndexMetadata

public javax.jdo.metadata.IndexMetadata newIndexMetadata()
Specified by:
newIndexMetadata in interface javax.jdo.metadata.VersionMetadata

setColumn

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

setIndexed

public javax.jdo.metadata.VersionMetadata setIndexed(javax.jdo.metadata.Indexed idx)
Specified by:
setIndexed in interface javax.jdo.metadata.VersionMetadata

setStrategy

public javax.jdo.metadata.VersionMetadata setStrategy(javax.jdo.annotations.VersionStrategy str)
Specified by:
setStrategy in interface javax.jdo.metadata.VersionMetadata


Copyright © 2010. All Rights Reserved.