org.datanucleus.jdo.metadata
Class ElementMetadataImpl

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

public class ElementMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.ElementMetadata

Implementation of JDO ElementMetadata object.


Constructor Summary
ElementMetadataImpl(ElementMetaData internal)
           
 
Method Summary
 java.lang.String getColumn()
           
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 javax.jdo.annotations.ForeignKeyAction getDeleteAction()
           
 javax.jdo.metadata.EmbeddedMetadata getEmbeddedMetadata()
           
 javax.jdo.metadata.ForeignKeyMetadata getForeignKeyMetadata()
           
 javax.jdo.metadata.IndexMetadata getIndexMetadata()
           
 ElementMetaData getInternal()
           
 int getNumberOfColumns()
           
 java.lang.String getTable()
           
 javax.jdo.metadata.UniqueMetadata getUniqueMetadata()
           
 javax.jdo.annotations.ForeignKeyAction getUpdateAction()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.EmbeddedMetadata newEmbeddedMetadata()
           
 javax.jdo.metadata.ForeignKeyMetadata newForeignKeyMetadata()
           
 javax.jdo.metadata.IndexMetadata newIndexMetadata()
           
 javax.jdo.metadata.UniqueMetadata newUniqueMetadata()
           
 javax.jdo.metadata.ElementMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.ElementMetadata setDeleteAction(javax.jdo.annotations.ForeignKeyAction fk)
           
 javax.jdo.metadata.ElementMetadata setTable(java.lang.String name)
           
 javax.jdo.metadata.ElementMetadata setUpdateAction(javax.jdo.annotations.ForeignKeyAction fk)
           
 
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

ElementMetadataImpl

public ElementMetadataImpl(ElementMetaData internal)
Method Detail

getInternal

public ElementMetaData getInternal()

getColumn

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

getColumns

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

getNumberOfColumns

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

setColumn

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

newColumnMetadata

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

getDeleteAction

public javax.jdo.annotations.ForeignKeyAction getDeleteAction()
Specified by:
getDeleteAction in interface javax.jdo.metadata.ElementMetadata

getUpdateAction

public javax.jdo.annotations.ForeignKeyAction getUpdateAction()
Specified by:
getUpdateAction in interface javax.jdo.metadata.ElementMetadata

getForeignKeyMetadata

public javax.jdo.metadata.ForeignKeyMetadata getForeignKeyMetadata()
Specified by:
getForeignKeyMetadata in interface javax.jdo.metadata.ElementMetadata

setDeleteAction

public javax.jdo.metadata.ElementMetadata setDeleteAction(javax.jdo.annotations.ForeignKeyAction fk)
Specified by:
setDeleteAction in interface javax.jdo.metadata.ElementMetadata

setUpdateAction

public javax.jdo.metadata.ElementMetadata setUpdateAction(javax.jdo.annotations.ForeignKeyAction fk)
Specified by:
setUpdateAction in interface javax.jdo.metadata.ElementMetadata

newForeignKeyMetadata

public javax.jdo.metadata.ForeignKeyMetadata newForeignKeyMetadata()
Specified by:
newForeignKeyMetadata in interface javax.jdo.metadata.ElementMetadata

getIndexMetadata

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

newIndexMetadata

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

getUniqueMetadata

public javax.jdo.metadata.UniqueMetadata getUniqueMetadata()
Specified by:
getUniqueMetadata in interface javax.jdo.metadata.ElementMetadata

newUniqueMetadata

public javax.jdo.metadata.UniqueMetadata newUniqueMetadata()
Specified by:
newUniqueMetadata in interface javax.jdo.metadata.ElementMetadata

getEmbeddedMetadata

public javax.jdo.metadata.EmbeddedMetadata getEmbeddedMetadata()
Specified by:
getEmbeddedMetadata in interface javax.jdo.metadata.ElementMetadata

newEmbeddedMetadata

public javax.jdo.metadata.EmbeddedMetadata newEmbeddedMetadata()
Specified by:
newEmbeddedMetadata in interface javax.jdo.metadata.ElementMetadata

getTable

public java.lang.String getTable()
Specified by:
getTable in interface javax.jdo.metadata.ElementMetadata

setTable

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


Copyright © 2010. All Rights Reserved.