Uses of Class
org.datanucleus.store.rdbms.key.ForeignKey
-
Packages that use ForeignKey Package Description org.datanucleus.store.rdbms.adapter Provides mappings of all supported databases to aspects of the database that determines the SQL generation.org.datanucleus.store.rdbms.key This package contains wrappers to various types of keys found in RDBMS databases.org.datanucleus.store.rdbms.table Provides the internal DataNucleus definition of a table/view and its columns. -
-
Uses of ForeignKey in org.datanucleus.store.rdbms.adapter
Methods in org.datanucleus.store.rdbms.adapter with parameters of type ForeignKey Modifier and Type Method Description String
BaseDatastoreAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.String
DatastoreAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.String
InformixAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table.String
SAPDBAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
String
SQLAnywhereAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
Method to define a foreign key definitionString
SQLiteAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
String
TimesTenAdapter. getAddForeignKeyStatement(ForeignKey fk, IdentifierFactory factory)
Returns the appropriate SQL to add a foreign key to its table. -
Uses of ForeignKey in org.datanucleus.store.rdbms.key
Methods in org.datanucleus.store.rdbms.key with parameters of type ForeignKey Modifier and Type Method Description boolean
ForeignKey. isEqual(ForeignKey fk)
Constructors in org.datanucleus.store.rdbms.key with parameters of type ForeignKey Constructor Description Index(ForeignKey fk)
Constructor for an index for the specified foreign key. -
Uses of ForeignKey in org.datanucleus.store.rdbms.table
Methods in org.datanucleus.store.rdbms.table that return ForeignKey Modifier and Type Method Description static ForeignKey
TableUtils. getForeignKeyForPCField(JavaTypeMapping fieldMapping, org.datanucleus.metadata.AbstractMemberMetaData mmd, boolean autoMode, RDBMSStoreManager storeMgr, org.datanucleus.ClassLoaderResolver clr)
Convenience method to add a foreign key for a PC field.protected ForeignKey
ElementContainerTable. getForeignKeyToElement(DatastoreClass elementTable, boolean autoMode, JavaTypeMapping m)
Convenience method to generate a ForeignKey from this join table to an element table using the specified mapping.protected ForeignKey
ElementContainerTable. getForeignKeyToOwner(DatastoreClass ownerTable, boolean autoMode)
Convenience method to generate a ForeignKey from this join table to an owner table.Methods in org.datanucleus.store.rdbms.table that return types with arguments of type ForeignKey Modifier and Type Method Description List<ForeignKey>
ClassTable. getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table.List<ForeignKey>
ElementContainerTable. getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table.List<ForeignKey>
PersistableJoinTable. getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table.List<ForeignKey>
SecondaryTable. getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table.List<ForeignKey>
TableImpl. getExpectedForeignKeys(org.datanucleus.ClassLoaderResolver clr)
Accessor for the expected foreign keys for this table in the datastore.
-