com.samskivert.jdbc.depot.clause
Enum Join.Type

java.lang.Object
  extended by java.lang.Enum<Join.Type>
      extended by com.samskivert.jdbc.depot.clause.Join.Type
All Implemented Interfaces:
Serializable, Comparable<Join.Type>
Enclosing class:
Join

public static enum Join.Type
extends Enum<Join.Type>

Indicates the join type to be used. The default is INNER.


Enum Constant Summary
INNER
           
LEFT_OUTER
           
RIGHT_OUTER
           
 
Method Summary
static Join.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Join.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INNER

public static final Join.Type INNER

LEFT_OUTER

public static final Join.Type LEFT_OUTER

RIGHT_OUTER

public static final Join.Type RIGHT_OUTER
Method Detail

values

public static final Join.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Join.Type c : Join.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Join.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.