com.buildforge.services.common.dbo
Enum SelectorPropertyDBO.Operator

java.lang.Object
  extended by java.lang.Enum<SelectorPropertyDBO.Operator>
      extended by com.buildforge.services.common.dbo.SelectorPropertyDBO.Operator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SelectorPropertyDBO.Operator>
Enclosing class:
SelectorPropertyDBO

public static enum SelectorPropertyDBO.Operator
extends java.lang.Enum<SelectorPropertyDBO.Operator>

Valid operators for selector conditions.


Enum Constant Summary
CONTAINS
           
EQ
           
GE
           
GT
           
LE
           
LT
           
NE
           
 
Field Summary
static java.lang.Class<SelectorPropertyDBO.Operator> CLASS
           
 java.lang.String code
           
 
Method Summary
static SelectorPropertyDBO.Operator fromDB(java.lang.String s)
           
static SelectorPropertyDBO.Operator fromObject(java.lang.Object o)
           
static SelectorPropertyDBO.Operator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SelectorPropertyDBO.Operator[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, 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 SelectorPropertyDBO.Operator EQ

NE

public static final SelectorPropertyDBO.Operator NE

GT

public static final SelectorPropertyDBO.Operator GT

GE

public static final SelectorPropertyDBO.Operator GE

LT

public static final SelectorPropertyDBO.Operator LT

LE

public static final SelectorPropertyDBO.Operator LE

CONTAINS

public static final SelectorPropertyDBO.Operator CONTAINS
Field Detail

CLASS

public static final java.lang.Class<SelectorPropertyDBO.Operator> CLASS

code

public final java.lang.String code
Method Detail

values

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

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

valueOf

public static SelectorPropertyDBO.Operator 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

fromDB

public static SelectorPropertyDBO.Operator fromDB(java.lang.String s)

fromObject

public static SelectorPropertyDBO.Operator fromObject(java.lang.Object o)
                                               throws APIException
Throws:
APIException