Uses of Enum
org.apache.empire.db.DBRelation.DBCascadeAction
Packages that use DBRelation.DBCascadeAction
Package
Description
This package contains the core Empire-DB implementation classes.
-
Uses of DBRelation.DBCascadeAction in org.apache.empire.db
Methods in org.apache.empire.db that return DBRelation.DBCascadeActionModifier and TypeMethodDescriptionDBTable.getDefaultCascadeDeleteAction()returns the default cascade action for deletes on this table.DBRelation.getOnDeleteAction()return the action to perform when deleting affected records.static DBRelation.DBCascadeActionReturns the enum constant of this type with the specified name.static DBRelation.DBCascadeAction[]DBRelation.DBCascadeAction.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.empire.db with parameters of type DBRelation.DBCascadeActionModifier and TypeMethodDescriptionDBTable.addForeignKey(String name, DBTable target, boolean required, Options options, DBRelation.DBCascadeAction cascadeAction) Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign keyvoidDBTable.setDefaultCascadeDeleteAction(DBRelation.DBCascadeAction cascadeDeleteAction) sets the default cascade action for deletes on foreign key relations.voidDBRelation.setOnDeleteAction(DBRelation.DBCascadeAction onDeleteAction) sets the action taken when deleting records that affect this foreign key relation See DBCascadeAction enum for details.Constructors in org.apache.empire.db with parameters of type DBRelation.DBCascadeActionModifierConstructorDescriptionDBRelation(DBDatabase db, String name, DBRelation.DBReference[] references, DBRelation.DBCascadeAction onDeleteAction) Creates a DBRelation object for a foreing key relation.