| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Constraint | |
|---|---|
| oracle.javatools.db | Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database. | 
| Uses of Constraint in oracle.javatools.db | 
|---|
| Subclasses of Constraint in oracle.javatools.db | |
|---|---|
 class | 
CheckConstraintA CheckConstraint constrains a table or view based on a conditional expression. | 
 class | 
ColumnConstraintAbstract model of a Constraint that constrains Columns in the database.  | 
 class | 
FKConstraintA FKConstraint represents a Foreign Key Constraint. | 
 class | 
PKConstraintA PKConstraint represents a Primary Key constraint. | 
 class | 
UniqueConstraintA UniqueConstraint prohibits multiple rows from having the same value in the same column or combination of columns but allows some values to be null. | 
| Methods in oracle.javatools.db that return Constraint | |
|---|---|
 Constraint | 
Relation.getConstraint(java.lang.String name)Retrieves a Constraint by name.  | 
 Constraint[] | 
Relation.getConstraints()Retrieves the list of constraints on this relation.  | 
| Methods in oracle.javatools.db that return types with arguments of type Constraint | |
|---|---|
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.  | 
| Methods in oracle.javatools.db with parameters of type Constraint | |
|---|---|
 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 Given a contraint and an Offline provider, this method uses the constraint manager registered with the provider to build an array of the foreign keys which reference this contraint.  | 
 void | 
Relation.removeConstraint(Constraint constraint)Removes a Constraint from this relation.  | 
 void | 
Relation.setConstraints(Constraint[] constraints)Sets the list of constraints on this relation.  | 
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||