Package | Description |
---|---|
com.tietoenator.trip.jxp.database |
Classes to inspect and modify database design.
|
Modifier and Type | Method and Description |
---|---|
TdbIntegrityType |
TdbIntegrityRule.getOnDelete()
Retrieve the action to be taken in the current database if a record in
the target database is deleted.
|
TdbIntegrityType |
TdbIntegrityRule.getOnUpdate()
Retrieve the action to be taken in the current database if a record in
the target database is updated.
|
static TdbIntegrityType |
TdbIntegrityType.getTypeof(java.lang.String name)
Retrieve the integrity type ID that matches the provided name
|
static TdbIntegrityType |
TdbIntegrityType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbIntegrityType[] |
TdbIntegrityType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
TdbDatabaseDesign.addForeignKey(java.lang.String key,
java.lang.String linkdb,
java.lang.String linkfld,
TdbIntegrityType on_update,
TdbIntegrityType on_delete)
Create a foreign key relationship between this database (as the slave) and
another database (as the master).
|
void |
TdbIntegrityRule.setOnDelete(TdbIntegrityType action)
Establish the action to be taken in the current database if a record in
the target database is deleted.
|
void |
TdbIntegrityRule.setOnUpdate(TdbIntegrityType action)
Establish the action to be taken in the current database if a record in
the target database is updated.
|