DBVIEW
org.dbview.db.structure.TableToTableRelation Class Reference
Collaboration diagram for org.dbview.db.structure.TableToTableRelation:

List of all members.

Public Attributes

ArrayList< FieldToFieldJoinrelations = null
int type = Database.UNDEFINED_LINK

Detailed Description

This class represents a relation between two tables.

  • A "table to table" relation contains one or more joins.
  • It also contains extra information.

Graphically, a relation (between two tables) is represented by an arrow.

  • The start of the arrow is the "dependent" table (that defines the foreign keys).
  • The arrow points to the "reference" table.
  • A relation contains at least one join (between two fields).
Author:
Denis Beurive

Definition at line 36 of file TableToTableRelation.java.


Member Data Documentation

List of joins.

Definition at line 43 of file TableToTableRelation.java.

The type of "table to table" relation. It can be:

  • SOFT_AND_HARD_LINK
  • SOFT_LINK
  • HARD_LINK

Definition at line 53 of file TableToTableRelation.java.

Referenced by org.dbview.db.structure.Database.__updateMetaRelationType(), and org.dbview.db.structure.Database.getTableToTableRelationType().


The documentation for this class was generated from the following file: