org.objectweb.medor.optim.jorm

Class 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.
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

Join(RdbJoin j, RdbTable maintable, RdbTable externaltable)
Builds a Join between a main table and an external table.

Method Summary

String
toString()

Field Details

columns

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


name

public 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 Details

Join

public 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 Details

toString

public String toString()