Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-03


oracle.rules.rl.trace
Enum FactOperation

java.lang.Object
  extended by java.lang.Enum<FactOperation>
      extended by oracle.rules.rl.trace.FactOperation

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FactOperation>

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

Java class for fact-operation.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="fact_operation">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="assert"/>
     <enumeration value="retract"/>
     <enumeration value="modify"/>
   </restriction>
 </simpleType>
 

Enum Constant Summary
ASSERT
           
MODIFY
           
RETRACT
           

 

Method Summary
static FactOperation fromValue(java.lang.String v)
           
 java.lang.String value()
           
static FactOperation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FactOperation[] 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

ASSERT

public static final FactOperation ASSERT

RETRACT

public static final FactOperation RETRACT

MODIFY

public static final FactOperation MODIFY

Method Detail

values

public static FactOperation[] 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 (FactOperation c : FactOperation.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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

value

public java.lang.String value()

fromValue

public static FactOperation fromValue(java.lang.String v)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-03


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