org.apache.ws.jaxme.sqls

Interface JoinReference

public interface JoinReference extends SelectTableReference

This interface allows to specify join constraints.

Author: Jochen Wiedmann

Method Summary
SelectTableReferencegetLeftJoinedTableReference()

If this is a left join or a left outer join: Returns the joins left table.

CombinedConstraintgetOn()

Returns the references ON condition, if any.

booleanisJoin()

Returns whether this is a left join, as created by {@link SelectTableReference#join(Table)}.

booleanisLeftOuterJoin()

Returns whether this is a left outer join, as created by {@link SelectTableReference#leftOuterJoin(Table)}.

Method Detail

getLeftJoinedTableReference

public SelectTableReference getLeftJoinedTableReference()

If this is a left join or a left outer join: Returns the joins left table.

getOn

public CombinedConstraint getOn()

Returns the references ON condition, if any. The method result is a combined constraint with {@link CombinedConstraint#getType()} == {@link org.apache.ws.jaxme.sqls.CombinedConstraint.Type#AND}.

isJoin

public boolean isJoin()

Returns whether this is a left join, as created by {@link SelectTableReference#join(Table)}.

isLeftOuterJoin

public boolean isLeftOuterJoin()

Returns whether this is a left outer join, as created by {@link SelectTableReference#leftOuterJoin(Table)}.