IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.brules.mgmt.query
Enum QueryOperator

java.lang.Object
  extended by java.lang.Enum<QueryOperator>
      extended by com.ibm.wbiserver.brules.mgmt.query.QueryOperator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<QueryOperator>

public enum QueryOperator
extends java.lang.Enum<QueryOperator>

An enum used to identify the query operator to be used for a particular query.


Enum Constant Summary
EQUAL
          Indicates that the value of a property must match the specified string exactly.
LIKE
          Indicates that the query should look for business rule groups where a property value is like the specified string.
NOT_EQUAL
          Indicates that the value of a property must not match the specified string.
NOT_LIKE
          Indicates that the query should look for business rule groups where a property value is not like the specified string.
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
static QueryOperator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QueryOperator[] 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

EQUAL

public static final QueryOperator EQUAL
Indicates that the value of a property must match the specified string exactly.


NOT_EQUAL

public static final QueryOperator NOT_EQUAL
Indicates that the value of a property must not match the specified string.


LIKE

public static final QueryOperator LIKE
Indicates that the query should look for business rule groups where a property value is like the specified string. The string can contain wildcard characters. Use the percent character ('%') to specify a wildcard for any number of characters and use the underscore character ('_') to specify a single character wildcard. These wildcard characters follow SQL syntax.


NOT_LIKE

public static final QueryOperator NOT_LIKE
Indicates that the query should look for business rule groups where a property value is not like the specified string. The string can contain wildcard characters. Use the percent character ('%') to specify a wildcard for any number of characters and use the underscore character ('_') to specify a single character wildcard. These wildcard characters follow SQL syntax.

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static QueryOperator 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

IBM WebSphere Application ServerTM
Release 7