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
 boolean outer
          indicates whether this join should be constructed as an inner or outer join
 
Constructor Summary
JoinedTable.Join()
           
JoinedTable.Join(boolean outer)
           
 
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

outer

public boolean outer
indicates whether this join should be constructed as an inner or outer join


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(boolean outer)

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()