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

E13403-03

Uses of Class
oracle.javatools.db.Relation

Packages that use Relation
oracle.javatools.db Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database. 
oracle.javatools.db.ora Contains the database api implementation for Oracle databases, and additional DBObject implementations for objects specific to Oracle. 
oracle.javatools.db.sql Contains an API for declaratively parsing SQL queries (SELECT statements). 
oracle.jdeveloper.offlinedb Database API extension for saving database object definitions in XML files. 
 

Uses of Relation in oracle.javatools.db
 

Subclasses of Relation in oracle.javatools.db
 class Table
          Model of a database table.
 class View
          Represents a database View.
 

Methods in oracle.javatools.db that return Relation
 Relation Column.getRelation()
          Gets the Relation that owns this Column.
 Relation Constraint.getRelation()
          Gets the Relation that owns this Constraint.
 

Methods in oracle.javatools.db with parameters of type Relation
protected  void ColumnConstraint.copyToImpl(ColumnConstraint copy, Relation copyParent, IDPolicy idPolicy)
           
protected  void FKConstraint.copyToImpl(FKConstraint copy, Relation copyParent, IDPolicy idPolicy)
           
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.
static PKConstraint PKConstraint.getPrimaryKey(Relation table)
          Returns a primary key for the given table, if it owns one.
 void Column.setRelation(Relation relation)
          Sets the Relation that owns this Column.
 void Constraint.setRelation(Relation relation)
          Sets the Relation that owns this Constraint.
 

Constructors in oracle.javatools.db with parameters of type Relation
CheckConstraint(java.lang.String name, Relation relation)
          Constructs a new CheckConstraint on a relation with a specific name.
Constraint(java.lang.String name, Relation relation)
          Constructs a new Constraint on a relation with a specific name, and adds the constraint to the relation.
FKConstraint(java.lang.String name, Relation relation)
          Constructs a new FKConstraint with the specified name on the specified relation.
PKConstraint(java.lang.String name, Relation relation)
          Constructs a new PKConstraint on the specified Relation with the specified name.
UniqueConstraint(java.lang.String name, Relation relation)
          Creates a new Constraint of the specified name on the specified relation.
 

Uses of Relation in oracle.javatools.db.ora
 

Subclasses of Relation in oracle.javatools.db.ora
 class MaterializedView
          A MaterializedView represents a Materialized View in the database.
 

Uses of Relation in oracle.javatools.db.sql
 

Methods in oracle.javatools.db.sql with parameters of type Relation
 SQLQueryBuilder.SQLQueryObjectSet AbstractSQLQueryBuilder.constructFromObject(Relation relation, boolean createSelectObjects, boolean createJoins, FromObject[] includeInJoins)
           
 SQLQueryBuilder.SQLQueryObjectSet SQLQueryBuilder.constructFromObject(Relation relation, boolean createSelectObjects, boolean createJoins, FromObject[] includeInJoins)
          Creates a FromObject for the query.
 SQLQueryBuilder.SQLQueryObjectSet AbstractSQLQueryBuilder.constructFromObjects(Relation[] baseRelations, boolean createSelectObjects, boolean createJoins, FromObject[] includeInJoins)
           
 SQLQueryBuilder.SQLQueryObjectSet SQLQueryBuilder.constructFromObjects(Relation[] baseRelations, boolean createSelectObjects, boolean createJoins, FromObject[] includeInJoins)
          Creates one or more FromObjects for the query.
protected  FromObject AbstractSQLQueryBuilder.createFromObject(Relation rel, java.util.List extraNames)
           
protected  FromObject AbstractSQLQueryBuilder.doConstructFromObject(Relation relation, java.util.List baseRelIDs, java.util.List relNames, java.util.Map newRels, java.util.List cols, java.util.List fks)
           
protected  FromObjectUsage AbstractSQLQueryBuilder.findColumnInRelation(java.lang.String colName, Relation rel)
          Warning: The returned ColumnUsage won't have a FromObject set.
static SQLFragment SQLFragmentExpressionBuilder.getExpression(DBObjectProvider provider, Relation relation, SQLFragmentExpressionBuilder.ExpressionType type, java.lang.String expression)
          For the given relation in the given provider, creates a SQLFragment condition representing the condition (such as a where clause predicate or check constraint)
 void AbstractSQLQueryBuilder.setSingleRelation(Relation singleRelation)
           
 

Uses of Relation in oracle.jdeveloper.offlinedb
 

Methods in oracle.jdeveloper.offlinedb with parameters of type Relation
 Column OfflineDBObjectFactory.newColumn(Relation parent)
          Deprecated. 
 Column OfflineDBObjectFactory.newColumn(java.lang.String name, Relation parent)
          Deprecated. 
 FKConstraint OfflineDBObjectFactory.newFKConstraint(java.lang.String name, Relation parent)
          Deprecated. 
 CheckConstraint OfflineDBObjectFactory.newObject(java.lang.String name, Relation parent)
          Deprecated. 
 PKConstraint OfflineDBObjectFactory.newPKConstraint(java.lang.String name, Relation parent)
          Deprecated. 
 UniqueConstraint OfflineDBObjectFactory.newUniqueConstraint(java.lang.String name, Relation parent)
          Deprecated. 
 


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

E13403-03

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