org.objectweb.jorm.mapper.rdb.adapter.api

Class 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

List
colT1
column names in the first table
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

Join()
Join(boolean outer)

Method Summary

void
addJoinColumn(String col1, String col2)
add a join condition (equality between columns)
Object
clone()

Field Details

colT1

public List colT1
column names in the first table


colT2

public List colT2
column names in the second table


outer

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

Constructor Details

Join

public Join()


Join

public Join(boolean outer)

Method Details

addJoinColumn

public void addJoinColumn(String col1,
                          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 Object clone()