Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
Modifier and Type | Method and Description |
---|---|
DBRelation.DBReference[] |
DBRelation.getReferences()
Returns the references.
|
DBRelation.DBReference |
DBTableColumn.referenceOn(DBTableColumn target)
Creates a foreign key relation for this column.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected void |
DBRowSet.deleteReferenceRecords(DBRelation.DBReference[] refs,
Object[] parentKey,
Connection conn)
Deletes all records which are referenced by a particular relation.
|
Constructor and Description |
---|
DBRelation(DBDatabase db,
String name,
DBRelation.DBReference[] references)
Creates a DBRelation object for a foreing key relation.
|
DBRelation(DBDatabase db,
String name,
DBRelation.DBReference[] references,
DBRelation.DBCascadeAction onDeleteAction)
Creates a DBRelation object for a foreing key relation.
|
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.