com.wewebu.ow.csqlc.ast
Enum OwComparisonOperator

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

public enum OwComparisonOperator
extends Enum<OwComparisonOperator>

The SQL comparison operator 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
EQ
          The = operator
GEQ
          The >= operator
GT
          The > operator
LEQ
          The <= operator
LT
          The < operator
NEQ
          The <> operator
 
Method Summary
 String getSQLString()
           
static OwComparisonOperator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OwComparisonOperator[] 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

EQ

public static final OwComparisonOperator EQ
The = operator


NEQ

public static final OwComparisonOperator NEQ
The <> operator


LT

public static final OwComparisonOperator LT
The < operator


GT

public static final OwComparisonOperator GT
The > operator


LEQ

public static final OwComparisonOperator LEQ
The <= operator


GEQ

public static final OwComparisonOperator GEQ
The >= operator

Method Detail

values

public static OwComparisonOperator[] 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 (OwComparisonOperator c : OwComparisonOperator.values())
    System.out.println(c);

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

valueOf

public static OwComparisonOperator 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 String getSQLString()
Returns:
the SQL String representation of this operator


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.