org.openptk.api
Enum Query.Type

java.lang.Object
  extended by java.lang.Enum<Query.Type>
      extended by org.openptk.api.Query.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Query.Type>
Enclosing class:
Query

public static enum Query.Type
extends java.lang.Enum<Query.Type>


Enum Constant Summary
AND
           
BEGINS
           
CONTAINS
           
ENDS
           
EQ
           
GE
           
GT
           
LE
           
LIKE
           
LT
           
NE
           
NOOPERATOR
           
OR
           
 
Method Summary
static Query.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Query.Type[] 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

AND

public static final Query.Type AND

BEGINS

public static final Query.Type BEGINS

CONTAINS

public static final Query.Type CONTAINS

ENDS

public static final Query.Type ENDS

EQ

public static final Query.Type EQ

GE

public static final Query.Type GE

GT

public static final Query.Type GT

LE

public static final Query.Type LE

LIKE

public static final Query.Type LIKE

LT

public static final Query.Type LT

NE

public static final Query.Type NE

NOOPERATOR

public static final Query.Type NOOPERATOR

OR

public static final Query.Type OR
Method Detail

valueOf

public static Query.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

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

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


View/submit a bug or feature

For further API reference and developer documentation, see www.openptk.org. That documentation contains more detailed, developer-targeted descriptions, definitions of terms, workarounds, and working code examples.

Copyright (C) 2008-2012, Project OpenPTK. All Rights Reserved