org.objectweb.medor.optim.jorm
Class JormFlatten2Rdb.Join

java.lang.Object
  extended byorg.objectweb.medor.optim.jorm.JormFlatten2Rdb.Join
Enclosing class:
JormFlatten2Rdb

public class JormFlatten2Rdb.Join
extends java.lang.Object

A join linking two relational tables.


Field Summary
 JormFlatten2Rdb.JoinColumn[] columns
          is a list of JoinColumn instance.
 java.lang.String name
          the join name is used in the table alias in order to avoid name collision in case of multiple joins toward a same table.
 
Constructor Summary
JormFlatten2Rdb.Join(RdbJoin j, RdbTable maintable, RdbTable externaltable)
          Builds a Join between a main table and an external table.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name
the join name is used in the table alias in order to avoid name collision in case of multiple joins toward a same table.


columns

public JormFlatten2Rdb.JoinColumn[] columns
is a list of JoinColumn instance.

Constructor Detail

JormFlatten2Rdb.Join

public JormFlatten2Rdb.Join(RdbJoin j,
                            RdbTable maintable,
                            RdbTable externaltable)
Builds a Join between a main table and an external table. The Join is equal to the name of the jorm meta object describing the join.

Parameters:
j - is the jorm meta object describing the join.
maintable - is the jorm meta object describing the main table
externaltable - is the jorm meta object describing the external table.
Method Detail

toString

public java.lang.String toString()