Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
Modifier and Type | Method and Description |
---|---|
DBRelation.DBCascadeAction |
DBTable.getDefaultCascadeDeleteAction()
returns the default cascade action for deletes on this table.
|
DBRelation.DBCascadeAction |
DBRelation.getOnDeleteAction()
return the action to perform when deleting affected records.
|
static DBRelation.DBCascadeAction |
DBRelation.DBCascadeAction.valueOf(String name)
Returns 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.
|
Modifier and Type | Method and Description |
---|---|
void |
DBTable.setDefaultCascadeDeleteAction(DBRelation.DBCascadeAction cascadeDeleteAction)
sets the default cascade action for deletes on foreign key relations.
|
void |
DBRelation.setOnDeleteAction(DBRelation.DBCascadeAction onDeleteAction)
sets the action taken when deleting records that affect this foreign key relation
See DBCascadeAction enum for details.
|
Constructor and Description |
---|
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.