org.objectweb.jorm.mapper.rdb.generator
Class RdbGenJoin

java.lang.Object
  extended byorg.objectweb.jorm.mapper.rdb.generator.RdbGenJoin

public class RdbGenJoin
extends java.lang.Object

Author:
S.Chassande-Barrioz

Field Summary
 java.util.List joinColumnsInExt
          Along with this list, we define the position the column of this table with which these external columns join.
 java.util.List joinColumnsInMain
          The list of columns used to join with the reference table.
 int joinIdx
           
 RdbGenTable mainTable
           
 RdbGenTable table
           
 
Constructor Summary
RdbGenJoin(RdbGenTable mainTable, RdbGenTable extTable, RdbJoin j, int idx)
           
 
Method Summary
 java.util.List getJoinColumnsInExt()
           
 java.util.List getJoinColumnsInMain()
           
 int getJoinIdx()
           
 RdbGenTable getMainTable()
           
 RdbGenTable getTable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainTable

public RdbGenTable mainTable

table

public RdbGenTable table

joinIdx

public int joinIdx

joinColumnsInMain

public java.util.List joinColumnsInMain
The list of columns used to join with the reference table. null for the reference table. These columns belongs to one of the other tables used in this mapping.


joinColumnsInExt

public java.util.List joinColumnsInExt
Along with this list, we define the position the column of this table with which these external columns join.

Constructor Detail

RdbGenJoin

public RdbGenJoin(RdbGenTable mainTable,
                  RdbGenTable extTable,
                  RdbJoin j,
                  int idx)
           throws PException
Method Detail

getJoinIdx

public int getJoinIdx()

getJoinColumnsInMain

public java.util.List getJoinColumnsInMain()

getJoinColumnsInExt

public java.util.List getJoinColumnsInExt()

getMainTable

public RdbGenTable getMainTable()

getTable

public RdbGenTable getTable()