org.datanucleus.jdo.metadata
Class JoinMetadataImpl

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

public class JoinMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.JoinMetadata

Implementation of JDO JoinMetadata object.


Constructor Summary
JoinMetadataImpl(JoinMetaData internal)
           
 
Method Summary
 java.lang.String getColumn()
           
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 javax.jdo.annotations.ForeignKeyAction getDeleteAction()
           
 javax.jdo.metadata.ForeignKeyMetadata getForeignKeyMetadata()
           
 javax.jdo.metadata.Indexed getIndexed()
           
 javax.jdo.metadata.IndexMetadata getIndexMetadata()
           
 JoinMetaData getInternal()
           
 int getNumberOfColumns()
           
 boolean getOuter()
           
 javax.jdo.metadata.PrimaryKeyMetadata getPrimaryKeyMetadata()
           
 java.lang.String getTable()
           
 java.lang.Boolean getUnique()
           
 javax.jdo.metadata.UniqueMetadata getUniqueMetadata()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.ForeignKeyMetadata newForeignKeyMetadata()
           
 javax.jdo.metadata.IndexMetadata newIndexMetadata()
           
 javax.jdo.metadata.PrimaryKeyMetadata newPrimaryKeyMetadata()
           
 javax.jdo.metadata.UniqueMetadata newUniqueMetadata()
           
 javax.jdo.metadata.JoinMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.JoinMetadata setDeleteAction(javax.jdo.annotations.ForeignKeyAction fk)
           
 javax.jdo.metadata.JoinMetadata setIndexed(javax.jdo.metadata.Indexed val)
           
 javax.jdo.metadata.JoinMetadata setOuter(boolean flag)
           
 javax.jdo.metadata.JoinMetadata setTable(java.lang.String table)
           
 javax.jdo.metadata.JoinMetadata setUnique(boolean flag)
           
 
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

JoinMetadataImpl

public JoinMetadataImpl(JoinMetaData internal)
Method Detail

getInternal

public JoinMetaData getInternal()

getColumn

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

getColumns

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

getDeleteAction

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

getForeignKeyMetadata

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

getIndexMetadata

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

getIndexed

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

getNumberOfColumns

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

getOuter

public boolean getOuter()
Specified by:
getOuter in interface javax.jdo.metadata.JoinMetadata

getPrimaryKeyMetadata

public javax.jdo.metadata.PrimaryKeyMetadata getPrimaryKeyMetadata()
Specified by:
getPrimaryKeyMetadata in interface javax.jdo.metadata.JoinMetadata

getTable

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

getUnique

public java.lang.Boolean getUnique()
Specified by:
getUnique in interface javax.jdo.metadata.JoinMetadata

getUniqueMetadata

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

newColumnMetadata

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

newForeignKeyMetadata

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

newIndexMetadata

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

newPrimaryKeyMetadata

public javax.jdo.metadata.PrimaryKeyMetadata newPrimaryKeyMetadata()
Specified by:
newPrimaryKeyMetadata in interface javax.jdo.metadata.JoinMetadata

newUniqueMetadata

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

setColumn

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

setDeleteAction

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

setIndexed

public javax.jdo.metadata.JoinMetadata setIndexed(javax.jdo.metadata.Indexed val)
Specified by:
setIndexed in interface javax.jdo.metadata.JoinMetadata

setOuter

public javax.jdo.metadata.JoinMetadata setOuter(boolean flag)
Specified by:
setOuter in interface javax.jdo.metadata.JoinMetadata

setTable

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

setUnique

public javax.jdo.metadata.JoinMetadata setUnique(boolean flag)
Specified by:
setUnique in interface javax.jdo.metadata.JoinMetadata


Copyright © 2011. All Rights Reserved.