Uses of Class
org.apache.empire.db.DBRelation.DBReference
Packages that use DBRelation.DBReference
Package
Description
This package contains the core Empire-DB implementation classes.
-
Uses of DBRelation.DBReference in org.apache.empire.db
Methods in org.apache.empire.db that return DBRelation.DBReferenceModifier and TypeMethodDescriptionDBRelation.getReferences()Returns the references.DBTableColumn.referenceOn(DBTableColumn target) Creates a foreign key relation for this column.Methods in org.apache.empire.db with parameters of type DBRelation.DBReferenceModifier and TypeMethodDescriptionDBDatabase.addRelation(String name, DBRelation.DBReference... references) Adds a foreign key relation to the database.final DBRelationDBDatabase.addRelation(DBRelation.DBReference reference) Adds a foreign key relation to the database.final DBRelationDBDatabase.addRelation(DBRelation.DBReference ref1, DBRelation.DBReference ref2) Adds a foreign key relation to the database.protected voidDBRowSet.deleteReferenceRecords(DBRelation.DBReference[] refs, Object[] parentKey, DBContext context) Deletes all records which are referenced by a particular relation.Constructors in org.apache.empire.db with parameters of type DBRelation.DBReferenceModifierConstructorDescriptionDBRelation(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. -
Uses of DBRelation.DBReference in org.apache.empire.db.validation
Methods in org.apache.empire.db.validation with parameters of type DBRelation.DBReferenceModifier and TypeMethodDescriptionprotected voidDBModelParser.addRelation(String relName, DBRelation.DBReference... references)