Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference
E14011-02

oracle.sdp.messaging.userprefs
Enum TermOperationType

java.lang.Object
  extended by java.lang.Enum<TermOperationType>
      extended by 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

Enum Constant Summary
Between
           
Contains
           
isEqual
           
isGreaterThan
           
isGreaterThanOrEqual
           
isLessThan
           
isLessThanOrEqual
           
isMultipleOf
           
isNotEqual
           
isNotMultipleOf
           
isWeekday
           
isWeekend
           
NotContains
           
 
Method Summary
 int numArguments()
           
static TermOperationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TermOperationType[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

Between

public static final TermOperationType Between

Contains

public static final TermOperationType Contains

isEqual

public static final TermOperationType isEqual

isGreaterThan

public static final TermOperationType isGreaterThan

isGreaterThanOrEqual

public static final TermOperationType isGreaterThanOrEqual

isLessThan

public static final TermOperationType isLessThan

isLessThanOrEqual

public static final TermOperationType isLessThanOrEqual

isMultipleOf

public static final TermOperationType isMultipleOf

isNotEqual

public static final TermOperationType isNotEqual

isNotMultipleOf

public static final TermOperationType isNotMultipleOf

isWeekday

public static final TermOperationType isWeekday

isWeekend

public static final TermOperationType isWeekend

NotContains

public static final TermOperationType NotContains
Method Detail

numArguments

public int numArguments()
Returns:
number of operands allowed by the operation.

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

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

Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference
E14011-02

Copyright © 2010 Oracle and/or its affiliates. All rights reserved.