|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DBRelation | |
---|---|
org.apache.empire.db | This package contains the core Empire-DB implementation classes. |
Uses of DBRelation in org.apache.empire.db |
---|
Fields in org.apache.empire.db with type parameters of type DBRelation | |
---|---|
protected List<DBRelation> |
DBDatabase.relations
|
Methods in org.apache.empire.db that return DBRelation | |
---|---|
DBRelation |
DBDatabase.addRelation(DBRelation.DBReference reference)
Adds a foreign key relation to the database. |
DBRelation |
DBDatabase.addRelation(DBRelation.DBReference ref1,
DBRelation.DBReference ref2)
Add a foreign key relation to the database. |
DBRelation |
DBDatabase.addRelation(String name,
DBRelation.DBReference[] references)
Adds a foreign key relation to the database. |
DBRelation |
DBDatabase.getRelation(String relationName)
Returns the relation of a given name |
Methods in org.apache.empire.db that return types with arguments of type DBRelation | |
---|---|
List<DBRelation> |
DBTable.getForeignKeyRelations()
Returns a list of all foreign key relations for this table |
List<DBRelation> |
DBDatabase.getRelations()
Returns the relations which have been defined in the database. |
Methods in org.apache.empire.db with parameters of type DBRelation | |
---|---|
protected void |
DBDDLGenerator.addCreateRelationStmt(DBRelation rel,
StringBuilder sql,
DBSQLScript script)
|
protected void |
DBDDLGenerator.createRelation(DBRelation r,
DBSQLScript script)
Appends the DDL-Script for creating the given foreign-key relation to an SQL-Script |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |