net.sf.saffron.sql
Class SqlJoinOperator.ConditionType

java.lang.Object
  |
  +--net.sf.saffron.util.EnumeratedValues.BasicValue
        |
        +--net.sf.saffron.sql.SqlJoinOperator.ConditionType
All Implemented Interfaces:
EnumeratedValues.Value
Enclosing class:
SqlJoinOperator

public static class SqlJoinOperator.ConditionType
extends EnumeratedValues.BasicValue

Enumerates the types of condition in a join expression.


Field Summary
static EnumeratedValues enumeration
          List of all allowable SqlJoinOperator.ConditionType values.
static SqlJoinOperator.ConditionType None
          Join clause has no condition, for example "FROM EMP, DEPT"
static int None_ORDINAL
           
static SqlJoinOperator.ConditionType On
          Join clause has an ON condition, for example "FROM EMP JOIN DEPT ON EMP.DEPTNO = DEPT.DEPTNO"
static int On_ORDINAL
           
static SqlJoinOperator.ConditionType Using
          Join clause has a USING condition, for example "FROM EMP JOIN DEPT USING (DEPTNO)"
static int Using_ORDINAL
           
 
Fields inherited from class net.sf.saffron.util.EnumeratedValues.BasicValue
description_, name_, ordinal_
 
Constructor Summary
private SqlJoinOperator.ConditionType(String name, int ordinal)
           
 
Method Summary
static SqlJoinOperator.ConditionType get(int ordinal)
          Looks up a condition type from its ordinal.
static SqlJoinOperator.ConditionType get(String name)
          Looks up a condition type from its name.
 
Methods inherited from class net.sf.saffron.util.EnumeratedValues.BasicValue
equals, getDescription, getName, getOrdinal, toString, unexpected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

None_ORDINAL

public static final int None_ORDINAL
See Also:
Constant Field Values

None

public static final SqlJoinOperator.ConditionType None
Join clause has no condition, for example "FROM EMP, DEPT"


On_ORDINAL

public static final int On_ORDINAL
See Also:
Constant Field Values

On

public static final SqlJoinOperator.ConditionType On
Join clause has an ON condition, for example "FROM EMP JOIN DEPT ON EMP.DEPTNO = DEPT.DEPTNO"


Using_ORDINAL

public static final int Using_ORDINAL
See Also:
Constant Field Values

Using

public static final SqlJoinOperator.ConditionType Using
Join clause has a USING condition, for example "FROM EMP JOIN DEPT USING (DEPTNO)"


enumeration

public static final EnumeratedValues enumeration
List of all allowable SqlJoinOperator.ConditionType values.

Constructor Detail

SqlJoinOperator.ConditionType

private SqlJoinOperator.ConditionType(String name,
                                      int ordinal)
Method Detail

get

public static SqlJoinOperator.ConditionType get(int ordinal)
Looks up a condition type from its ordinal.


get

public static SqlJoinOperator.ConditionType get(String name)
Looks up a condition type from its name.


SourceForge.net_Logo