oracle.dmt.odm
Class AttributeType

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

public class AttributeType
extends Enum

The enumeration class AttributeType is used to specify whether a mining attribute is categorical or numerical.

For example, attributes such as keys are identified as "notApplicable".

Since:
9.0.1
See Also:
Serialized Form

Field Summary
TypeField
static AttributeType categorical
          Identifies a MiningAttribute as categorical.
static AttributeType notApplicable
          Identifies a MiningAttribute, such as keys, that are neither categorical or numerical.
static AttributeType numerical
          Identifies a MiningAttribute as numerical, eg.
 
Method Summary
TypeMethod
static AttributeType getInstance(int id)
          Returns AttributeType enumeration object corresponding to the specified ID.
static AttributeType getInstance(java.lang.String name)
          Returns AttributeType enumeration object corresponding to the specified name.
static AttributeType[] list()
          Returns list of all AttributeType enumerations defined.
static java.lang.String[] listNames()
          Returns list the names of all AttributeType 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

categorical

public static final AttributeType categorical
Identifies a MiningAttribute as categorical.

numerical

public static final AttributeType numerical
Identifies a MiningAttribute as numerical, eg. containing values that are continuous or discrete numbers

notApplicable

public static final AttributeType notApplicable
Identifies a MiningAttribute, such as keys, that are neither categorical or numerical.
Method Detail

listNames

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

list

public static AttributeType[] list()
Returns list of all AttributeType enumerations defined.
Returns:
AttributeType[]

getInstance

public static AttributeType getInstance(java.lang.String name)
Returns AttributeType enumeration object corresponding to the specified name.
Parameters:
name - attribute type name (categorical, numerical, or notApplicable)
Returns:
AttributeType, returns null if there is no enum for the name.

getInstance

public static AttributeType getInstance(int id)
Returns AttributeType enumeration object corresponding to the specified ID.
Parameters:
id - (0, 1, 2)
Returns:
AttributeType, returns null if there is no enum for the id.