com.wewebu.ow.csqlc.ast
Enum OwJoinType

java.lang.Object
  extended by java.lang.Enum<OwJoinType>
      extended by com.wewebu.ow.csqlc.ast.OwJoinType
All Implemented Interfaces:
Serializable, Comparable<OwJoinType>

public enum OwJoinType
extends Enum<OwJoinType>

Join type enumeration.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.2.0.0

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

Enum Constant Detail

INNER

public static final OwJoinType INNER

LEFT

public static final OwJoinType LEFT

LEFT_OUTER

public static final OwJoinType LEFT_OUTER

DEFAULT_JOIN_TYPE

public static final OwJoinType DEFAULT_JOIN_TYPE
Method Detail

values

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

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

valueOf

public static OwJoinType 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
NullPointerException - if the argument is null

getSqlString

public final String getSqlString()
Returns:
the SQL String representation of this join type


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.