anderix.datajets
Class JoinType

java.lang.Object
  extended by anderix.datajets.JoinType

public class JoinType
extends java.lang.Object

Used as a parameter in join methods in SqlBuilder. The purpose is to define the type of join for the SQL SELECT statement returned by SqlBuilder.

See Also:
SqlBuilder.join(java.lang.String, java.lang.String, java.lang.String)

Field Summary
static JoinType INNER
          A join type to define an inner join.
static JoinType LEFT_OUTER
          A join type to define a left outer join.
static JoinType RIGHT_OUTER
          A join type to define a left outer join.
 
Method Summary
 java.lang.String toString()
          Returns a String representation of the join.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INNER

public static final JoinType INNER
A join type to define an inner join. This translates to INNER in SQL.


LEFT_OUTER

public static final JoinType LEFT_OUTER
A join type to define a left outer join. This translates to LEFT OUTER in SQL.


RIGHT_OUTER

public static final JoinType RIGHT_OUTER
A join type to define a left outer join. This translates to RIGHT OUTER in SQL.

Method Detail

toString

public java.lang.String toString()
Returns a String representation of the join. This String is intended for use in a SQL statement.

Overrides:
toString in class java.lang.Object
Returns:
the join type as a String