| Package | Description | 
|---|---|
| oracle.javatools.db | 
 Contains a metadata API for describing database objects, and retrieving them
from a provider of database objects - for example a database. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CheckConstraint
A  
CheckConstraint constrains a table or view based on a
 conditional expression. | 
class  | 
ColumnConstraint
Abstract model of a Constraint that constrains Columns in the database. 
 | 
class  | 
FKConstraint
A  
FKConstraint represents a Foreign Key Constraint. | 
class  | 
PKConstraint
A  
PKConstraint represents a Primary Key constraint. | 
class  | 
UniqueConstraint
A  
UniqueConstraint prohibits multiple rows from having the
 same value in the same column or combination of columns but allows some
 values to be null. | 
| Modifier and Type | Method and Description | 
|---|---|
Constraint | 
Relation.getConstraint(java.lang.String name)
Retrieves a constraint by name. 
 | 
Constraint[] | 
Relation.getConstraints()
Retrieves the list of constraints on this relation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.Collection<Constraint> | 
Constraint.getConstraints(Relation rel,
              java.lang.String... types)
Lists the constraints on a given Relation that are of the given constraint
 types. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Relation.addConstraint(Constraint constraint)
Adds a Constraint to this relation. 
 | 
static FKConstraint[] | 
DBUtil.getReferences(Constraint ucon,
             DBObjectProvider prov)
Get the Foreign Keys which reference a unique constraint. 
 | 
void | 
Relation.removeConstraint(Constraint constraint)
Removes a Constraint from this relation. 
 | 
void | 
Relation.setConstraints(Constraint[] constraints)
Sets the list of constraints on this relation. 
 |