org.objectweb.jorm.mapper.rdb.adapter.api
Class JoinedTable.Join
java.lang.Object
org.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 |
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 |
colT1
public java.util.List colT1
- column names in the first table
colT2
public java.util.List colT2
- column names in the second table
JoinedTable.Join
public JoinedTable.Join()
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 tablecol2
- is a column in the second table
clone
public java.lang.Object clone()