org.objectweb.jorm.mapper.rdb.adapter.api
Class JoinedTable.Join

java.lang.Object
  extended byorg.objectweb.jorm.mapper.rdb.adapter.api.JoinedTable.Join
Enclosing class:
JoinedTable

public class JoinedTable.Join
extends java.lang.Object

defines a join between two tables. It contains the list of columns names in table name


Field Summary
 java.util.List colT1
          column names in the first table
 java.util.List colT2
          column names in the second table
 
Constructor Summary
JoinedTable.Join()
           
 
Method Summary
 void addJoinColumn(java.lang.String col1, java.lang.String col2)
          add a join condition (equality between columns)
 java.lang.Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colT1

public java.util.List colT1
column names in the first table


colT2

public java.util.List colT2
column names in the second table

Constructor Detail

JoinedTable.Join

public JoinedTable.Join()
Method Detail

addJoinColumn

public void addJoinColumn(java.lang.String col1,
                          java.lang.String col2)
add a join condition (equality between columns)

Parameters:
col1 - is a column in the first table
col2 - is a column in the second table

clone

public java.lang.Object clone()