Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Uses of Class
oracle.javatools.db.Constraint

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 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.
protected  void Constraint.copyToImpl(Constraint copy, DBObject copyParent, IDPolicy idPolicy)
           
protected  boolean Constraint.equalsImpl(Constraint target)
           
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)

E13403-04

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