oracle.sdp.messaging.userprefs
Enum TermOperationType
java.lang.Object
java.lang.Enum<TermOperationType>
oracle.sdp.messaging.userprefs.TermOperationType
- All Implemented Interfaces:
- Serializable, java.lang.Comparable<TermOperationType>
public enum TermOperationType
- extends java.lang.Enum<TermOperationType>
Enumeration describing the available operations for conditions in UserRule
For each operation, the required number of operands are also specified.
- Since:
- 11.0.0
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 |
isEqual
public static final TermOperationType isEqual
isNotEqual
public static final TermOperationType isNotEqual
isGreaterThan
public static final TermOperationType isGreaterThan
isGreaterThanOrEqual
public static final TermOperationType isGreaterThanOrEqual
isLessThan
public static final TermOperationType isLessThan
isLessThanOrEqual
public static final TermOperationType isLessThanOrEqual
Between
public static final TermOperationType Between
Contains
public static final TermOperationType Contains
NotContains
public static final TermOperationType NotContains
isWeekday
public static final TermOperationType isWeekday
isWeekend
public static final TermOperationType isWeekend
isMultipleOf
public static final TermOperationType isMultipleOf
isNotMultipleOf
public static final TermOperationType isNotMultipleOf
values
public static TermOperationType[] 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 (TermOperationType c : TermOperationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TermOperationType 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
numArguments
public int numArguments()
- Returns:
- number of operands allowed by the operation.
Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.