Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Uses of Class
oracle.javatools.db.Constraint

Packages that use Constraint
oracle.ide.db.controls Reusable UI controls to used to show or list database objects. 
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.ide.db.controls

 

Methods in oracle.ide.db.controls with parameters of type Constraint
 void ConstraintEditor.setDeferredState(Constraint con)
           

 

Uses of Constraint in oracle.javatools.db

 

Subclasses of Constraint in oracle.javatools.db
 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.

 

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.

 


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.