org.objectweb.jorm.mapper.rdb.adapter.api
Class JoinedTable.Join
java.lang.Object
org.objectweb.jorm.mapper.rdb.adapter.api.JoinedTable.Join
- 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
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
|
void | addJoinColumn(String col1, String col2) - add a join condition (equality between columns)
|
Object | clone()
|
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
Join
public Join(boolean outer)
addJoinColumn
public void addJoinColumn(String col1,
String col2)
add a join condition (equality between columns)
col1
- is a column in the first tablecol2
- is a column in the second table
clone
public Object clone()