|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.sqls.impl.TableReferenceImpl org.apache.ws.jaxme.sqls.impl.SelectTableReferenceImpl org.apache.ws.jaxme.sqls.impl.JoinReferenceImpl
public class JoinReferenceImpl
Constructor Summary | |
---|---|
protected |
JoinReferenceImpl(SelectTableReference pLeftTableReference,
Table pRightTable,
boolean pOuterJoin)
Creates a new instance of JoinReferenceImpl. |
Method Summary | |
---|---|
SelectTableReference |
getLeftJoinedTableReference()
If this is a left join or a left outer join: Returns the joins left table. |
CombinedConstraint |
getOn()
Returns the references ON condition, if any. |
boolean |
isJoin()
Returns whether this is a left join, as created by SelectTableReference.join(Table) . |
boolean |
isLeftOuterJoin()
Returns whether this is a left outer join, as created by SelectTableReference.leftOuterJoin(Table) . |
Methods inherited from class org.apache.ws.jaxme.sqls.impl.SelectTableReferenceImpl |
---|
getRightJoinedTableReference, getSelectStatement, join, leftOuterJoin |
Methods inherited from class org.apache.ws.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 org.apache.ws.jaxme.sqls.SelectTableReference |
---|
getRightJoinedTableReference, getSelectStatement, join, leftOuterJoin |
Methods inherited from interface org.apache.ws.jaxme.sqls.TableReference |
---|
getAlias, getStatement, getTable, newColumnReference, newColumnReference, newColumnReference, setAlias, setAlias |
Constructor Detail |
---|
protected JoinReferenceImpl(SelectTableReference pLeftTableReference, Table pRightTable, boolean pOuterJoin)
Creates a new instance of JoinReferenceImpl.
Method Detail |
---|
public boolean isJoin()
JoinReference
Returns whether this is a left join, as created by
SelectTableReference.join(Table)
.
isJoin
in interface JoinReference
public boolean isLeftOuterJoin()
JoinReference
Returns whether this is a left outer join, as created by
SelectTableReference.leftOuterJoin(Table)
.
isLeftOuterJoin
in interface JoinReference
public SelectTableReference getLeftJoinedTableReference()
JoinReference
If this is a left join or a left outer join: Returns the joins left table.
getLeftJoinedTableReference
in interface JoinReference
public CombinedConstraint getOn()
JoinReference
Returns the references ON condition, if any. The method
result is a combined constraint with CombinedConstraint.getType()
== CombinedConstraint.Type.AND
.
getOn
in interface JoinReference
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |