Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm
Class RuleAnnotationType

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
        |
        +--oracle.dmt.odm.RuleAnnotationType
All Implemented Interfaces:
java.io.Serializable

public class RuleAnnotationType
extends Enum

The enumeration class RuleAnnotationType indicates an annotation type to be contained in an instance of MiningRule. The values include confidence and probability. The semantics of the value are as follows:

See Also:
MiningRule, Serialized Form

Field Summary
static RuleAnnotationType confidence
          Specifies the confidence associated with the rule.
static RuleAnnotationType probability
          Specifies the probablility associated with the rule.

 

Method Summary
static RuleAnnotationType getInstance(int id)
          Returns RuleAnnotationType enumeration object corresponding to the specified ID.
static RuleAnnotationType getInstance(java.lang.String name)
          Returns RuleAnnotationType enumeration object corresponding to the specified name.
static RuleAnnotationType[] list()
          Returns the list of all RuleAnnotationType enumerations defined.
static java.lang.String[] listNames()
          Returns the list of names of all RuleAnnotationType enumerations defined.

 

Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

confidence

public static final RuleAnnotationType confidence
Specifies the confidence associated with the rule.

probability

public static final RuleAnnotationType probability
Specifies the probablility associated with the rule.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns the list of names of all RuleAnnotationType enumerations defined.
Returns:
array of names for the enumeration

list

public static RuleAnnotationType[] list()
Returns the list of all RuleAnnotationType enumerations defined.
Returns:
array of enumeration values for the RuleAnnotationType enumeration

getInstance

public static RuleAnnotationType getInstance(java.lang.String name)
Returns RuleAnnotationType enumeration object corresponding to the specified name.
Parameters:
name - The value of the enumeration
Returns:
instance of the RuleAnnotationType enumeration object corresponding to the given name, null if there is no enumeration for this name.

getInstance

public static RuleAnnotationType getInstance(int id)
Returns RuleAnnotationType enumeration object corresponding to the specified ID.
Parameters:
id - (0, 1) the identifier of the enumeration.
Returns:
instance of the enumeration object corresponding to the given id, null if there is no enumeration for id.

Copyright © 2003 Oracle Corporation. All Rights Reserved.