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

B12276-01

oracle.dmt.odm
Class UsageAdjustment

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

public class UsageAdjustment
extends Enum

The enumeration class UsageAdjustment specifies how the usage of a set of mining attributes is to be changed in association with Attribute Importance results. The semantics of the value are as follows:

Since:
9.2.0
See Also:
adjustAttributeUsage(String[], UsageAdjustment) method of MiningFunctionSettings, AttributeUsage, Serialized Form

Field Summary
static UsageAdjustment activate
          Activate the specified mining attributes and do not modify the usage of other mining attributes.
static UsageAdjustment activateOnly
          Activate the specified mining attributes and inactivate all the other mining attributes.
static UsageAdjustment inactivate
          Inactivate the specified mining attributes and do not modify the usage of other mining attributes.
static UsageAdjustment inactivateOnly
          Inactivate the specified mining attributes and activate all the other mining attributes.

 

Method Summary
static UsageAdjustment getInstance(int id)
          Returns an instance of UsageAdjustment enumeration that corresponds to the specified identifier.
static UsageAdjustment getInstance(java.lang.String name)
          Returns an instance of UsageAdjustment enumeration that corresponds to the specified name.
static UsageAdjustment[] list()
          Returns a list of all instances of UsageAdjustment enumerations.
static java.lang.String[] listNames()
          Returns a list of the values available in enumeration UsageAdjustment.

 

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

activateOnly

public static final UsageAdjustment activateOnly
Activate the specified mining attributes and inactivate all the other mining attributes.

inactivateOnly

public static final UsageAdjustment inactivateOnly
Inactivate the specified mining attributes and activate all the other mining attributes.

inactivate

public static final UsageAdjustment inactivate
Inactivate the specified mining attributes and do not modify the usage of other mining attributes.

activate

public static final UsageAdjustment activate
Activate the specified mining attributes and do not modify the usage of other mining attributes.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns a list of the values available in enumeration UsageAdjustment.
Returns:
The values of the enumeration

list

public static UsageAdjustment[] list()
Returns a list of all instances of UsageAdjustment enumerations.
Returns:
The instances of UsageAdjustment

getInstance

public static UsageAdjustment getInstance(java.lang.String name)
Returns an instance of UsageAdjustment enumeration that corresponds to the specified name.
Parameters:
name - The value of the enumeration (one of activateOnly, inactivateOnly, inactivate and activate)
Returns:
An instance of UsageAdjustment which contains a value that matches to the specified name.

getInstance

public static UsageAdjustment getInstance(int id)
Returns an instance of UsageAdjustment enumeration that corresponds to the specified identifier.
Parameters:
id - The identifier of the enumeration (one of 0, 1, 2 and 3)
Returns:
An instance of UsageAdjustment which contains a value that matches to the specified identifier.

Copyright © 2003 Oracle Corporation. All Rights Reserved.