|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.mapper.rdb.adapter.api.JoinedTable
is a recursive structure representing join between tables.
Nested Class Summary | |
class |
JoinedTable.Join
defines a join between two tables. |
Field Summary | |
java.lang.String |
alias
is the alias name the current table. |
java.util.List |
joinedTables
List of JoinedTable. |
java.util.List |
joins
List of Join instaces. |
java.lang.String |
tableName
the name of the current table. |
Constructor Summary | |
JoinedTable()
no arg constructor required for cloning, but must not be used in usual case. |
|
JoinedTable(java.lang.String tablename)
Build a JoinedTable with a particular table name. |
|
JoinedTable(java.lang.String tablename,
java.lang.String alias)
Build a JoinedTable with a particular table name and alias name. |
Method Summary | |
java.lang.Object |
clone(java.lang.Object clone,
java.util.Map obj2clone)
Clone the current JoinedTable with a context. |
boolean |
contains(JoinedTable jt)
|
JoinedTable.Join |
createChildren(JoinedTable jt)
Creates a new Join instance to a given JoinedTable |
JoinedTable.Join |
createChildren(JoinedTable jt,
boolean outer)
Creates a new Join instance to a given JoinedTable |
JoinedTable.Join |
createChildren(java.lang.String tablename)
Creates a new Join instance to a new JoinedTable |
JoinedTable.Join |
createChildren(java.lang.String tablename,
boolean outer)
Creates a new Join instance to a new JoinedTable |
JoinedTable.Join |
createChildren(java.lang.String tablename,
java.lang.String alias)
Creates a new Join instance to a new JoinedTable |
JoinedTable.Join |
createChildren(java.lang.String tablename,
java.lang.String alias,
boolean outer)
Creates a new Join instance to a new JoinedTable |
static java.lang.Object |
getClone(JoinedTable obj,
java.util.Map obj2clone)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.List joins
public java.util.List joinedTables
public java.lang.String tableName
public java.lang.String alias
Constructor Detail |
public JoinedTable()
public JoinedTable(java.lang.String tablename)
tablename
- is the name of the tablepublic JoinedTable(java.lang.String tablename, java.lang.String alias)
tablename
- is the name of the tablealias
- is the name of the aliasMethod Detail |
public JoinedTable.Join createChildren(java.lang.String tablename)
tablename
- is the name of the new JoinedTable
public JoinedTable.Join createChildren(java.lang.String tablename, boolean outer)
tablename
- is the name of the new JoinedTableouter
- indicates whether the join should be outer or inner
public JoinedTable.Join createChildren(java.lang.String tablename, java.lang.String alias)
tablename
- is the name of the new JoinedTablealias
- is the alias name of the new JoinedTable
public JoinedTable.Join createChildren(java.lang.String tablename, java.lang.String alias, boolean outer)
tablename
- is the name of the new JoinedTablealias
- is the alias name of the new JoinedTableouter
- indicates whether the join should be outer or inner
public JoinedTable.Join createChildren(JoinedTable jt)
jt
- is a JoinedTable
public JoinedTable.Join createChildren(JoinedTable jt, boolean outer)
jt
- is a JoinedTableouter
- indicates whether the join should be outer or inner
public boolean contains(JoinedTable jt)
public java.lang.Object clone(java.lang.Object clone, java.util.Map obj2clone) throws java.lang.CloneNotSupportedException
clone
- is the clone instance to fill with the value of the current
instance. If this parameter is null, the implementation has o create a
new one.obj2clone
- is a map between object already cloned and their clone
instance
java.lang.CloneNotSupportedException
public static java.lang.Object getClone(JoinedTable obj, java.util.Map obj2clone) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |