com.ibm.wbiserver.brules.mgmt.query

Enum QueryOperator

  1. java.lang.Object
  2. extended byjava.lang.Enum<QueryOperator>
  3. extended bycom.ibm.wbiserver.brules.mgmt.query.QueryOperator
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<QueryOperator>

  1. public enum QueryOperator
  2. extends java.lang.Enum<QueryOperator>
An enum used to identify the query operator to be used for a particular query.

Enum Constant Summary

Enum Constant and Description
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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. static
  2. QueryOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. 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

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

NOT_EQUAL

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

LIKE

  1. 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

  1. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

Method Detail

values

  1. 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

  1. 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