org.datanucleus.jdo.metadata
Class ForeignKeyMetadataImpl

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

public class ForeignKeyMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.ForeignKeyMetadata

Implementation of JDO ForeignKeyMetadata object.


Constructor Summary
ForeignKeyMetadataImpl(ForeignKeyMetaData internal)
           
 
Method Summary
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 java.lang.Boolean getDeferred()
           
 javax.jdo.annotations.ForeignKeyAction getDeleteAction()
           
 ForeignKeyMetaData getInternal()
           
 javax.jdo.metadata.MemberMetadata[] getMembers()
           
 java.lang.String getName()
           
 int getNumberOfColumns()
           
 int getNumberOfMembers()
           
 java.lang.String getTable()
           
 java.lang.Boolean getUnique()
           
 javax.jdo.annotations.ForeignKeyAction getUpdateAction()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
           
 javax.jdo.metadata.PropertyMetadata newPropertyMetadata(java.lang.String name)
           
 javax.jdo.metadata.ForeignKeyMetadata setDeferred(boolean flag)
           
 javax.jdo.metadata.ForeignKeyMetadata setDeleteAction(javax.jdo.annotations.ForeignKeyAction fk)
           
 javax.jdo.metadata.ForeignKeyMetadata setName(java.lang.String name)
           
 javax.jdo.metadata.ForeignKeyMetadata setTable(java.lang.String name)
           
 javax.jdo.metadata.ForeignKeyMetadata setUnique(boolean flag)
           
 javax.jdo.metadata.ForeignKeyMetadata 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

ForeignKeyMetadataImpl

public ForeignKeyMetadataImpl(ForeignKeyMetaData internal)
Method Detail

getInternal

public ForeignKeyMetaData getInternal()

getColumns

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

getDeferred

public java.lang.Boolean getDeferred()
Specified by:
getDeferred in interface javax.jdo.metadata.ForeignKeyMetadata

getDeleteAction

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

getName

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

getNumberOfColumns

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

getNumberOfMembers

public int getNumberOfMembers()
Specified by:
getNumberOfMembers in interface javax.jdo.metadata.ForeignKeyMetadata

getMembers

public javax.jdo.metadata.MemberMetadata[] getMembers()
Specified by:
getMembers in interface javax.jdo.metadata.ForeignKeyMetadata

getTable

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

getUnique

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

getUpdateAction

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

newColumnMetadata

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

newFieldMetadata

public javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
Specified by:
newFieldMetadata in interface javax.jdo.metadata.ForeignKeyMetadata

newPropertyMetadata

public javax.jdo.metadata.PropertyMetadata newPropertyMetadata(java.lang.String name)
Specified by:
newPropertyMetadata in interface javax.jdo.metadata.ForeignKeyMetadata

setDeferred

public javax.jdo.metadata.ForeignKeyMetadata setDeferred(boolean flag)
Specified by:
setDeferred in interface javax.jdo.metadata.ForeignKeyMetadata

setDeleteAction

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

setName

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

setTable

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

setUnique

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

setUpdateAction

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


Copyright © 2011. All Rights Reserved.