org.datanucleus.jdo.metadata
Class ValueMetadataImpl

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

public class ValueMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.ValueMetadata

Implementation of JDO ValueMetadata object.


Constructor Summary
ValueMetadataImpl(ValueMetaData 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()
           
 ValueMetaData getInternal()
           
 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.ValueMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.ValueMetadata setDeleteAction(javax.jdo.annotations.ForeignKeyAction fk)
           
 javax.jdo.metadata.ValueMetadata setTable(java.lang.String name)
           
 javax.jdo.metadata.ValueMetadata 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

ValueMetadataImpl

public ValueMetadataImpl(ValueMetaData internal)
Method Detail

getInternal

public ValueMetaData getInternal()

getColumn

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

getColumns

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

setColumn

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

newColumnMetadata

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

getDeleteAction

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

setDeleteAction

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

getUpdateAction

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

setUpdateAction

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

getForeignKeyMetadata

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

newForeignKeyMetadata

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

getUniqueMetadata

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

newUniqueMetadata

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

getIndexMetadata

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

newIndexMetadata

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

getEmbeddedMetadata

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

newEmbeddedMetadata

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

getTable

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

setTable

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


Copyright © 2011. All Rights Reserved.