org.datanucleus.jdo.metadata
Class PrimaryKeyMetadataImpl

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

public class PrimaryKeyMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.PrimaryKeyMetadata

Implementation of JDO PrimaryKeyMetadata object.


Constructor Summary
PrimaryKeyMetadataImpl(PrimaryKeyMetaData internal)
           
 
Method Summary
 java.lang.String getColumn()
           
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 PrimaryKeyMetaData getInternal()
           
 java.lang.String getName()
           
 int getNumberOfColumns()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.PrimaryKeyMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.PrimaryKeyMetadata setName(java.lang.String name)
           
 
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

PrimaryKeyMetadataImpl

public PrimaryKeyMetadataImpl(PrimaryKeyMetaData internal)
Method Detail

getInternal

public PrimaryKeyMetaData getInternal()

getColumn

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

getColumns

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

getName

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

getNumberOfColumns

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

newColumnMetadata

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

setColumn

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

setName

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


Copyright © 2011. All Rights Reserved.