|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.sqls.impl.TableReferenceImpl net.sf.jaxme.sqls.impl.SelectTableReferenceImpl
Constructor Summary | |
SelectTableReferenceImpl(SelectStatement pStatement,
Table pTable)
Creates a new instance of SelectTableReferenceImpl referencing the given SelectStatement . |
Method Summary | |
JoinReference |
getRightJoinedTableReference()
Returns the right table of a possible join or null, if there is no such table. |
SelectStatement |
getSelectStatement()
Returns the SelectStatement that created the reference.
|
JoinReference |
join(Table pTable)
Indicates that the referenced table shall be joined with the given table pTable and returns a
reference to that table. |
JoinReference |
leftOuterJoin(Table pTable)
Indicates that the referenced table shall be joined in a left outer join with the given table pTable
and returns a reference to that table. |
Methods inherited from class net.sf.jaxme.sqls.impl.TableReferenceImpl |
equals, getAlias, getStatement, getTable, hashCode, newColumnReference, newColumnReference, newColumnReference, setAlias, setAlias |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jaxme.sqls.TableReference |
getAlias, getStatement, getTable, newColumnReference, newColumnReference, newColumnReference, setAlias, setAlias |
Constructor Detail |
public SelectTableReferenceImpl(SelectStatement pStatement, Table pTable)
Creates a new instance of SelectTableReferenceImpl referencing
the given SelectStatement
.
Method Detail |
public JoinReference join(Table pTable)
SelectTableReference
Indicates that the referenced table shall be joined
with the given table pTable
and returns a
reference to that table.
join
in interface SelectTableReference
public JoinReference leftOuterJoin(Table pTable)
SelectTableReference
Indicates that the referenced table shall be joined
in a left outer join with the given table pTable
and returns a reference to that table.
leftOuterJoin
in interface SelectTableReference
public SelectStatement getSelectStatement()
SelectTableReference
Returns the SelectStatement
that created the reference.
Shortcut for (SelectStatement) getStatement()
.
getSelectStatement
in interface SelectTableReference
public JoinReference getRightJoinedTableReference()
SelectTableReference
Returns the right table of a possible join or null, if there is no such table.
getRightJoinedTableReference
in interface SelectTableReference
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |