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

B12276-01

oracle.dmt.odm
Class Enum

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ABNModelBuildState, ABNModelBuildType, ApplyResultContentOption, AttributeType, AttributeUsage, BooleanOperator, ClusteringStoppingCriterion, ComparisonFunction, DataFormatType, DataPreparationStatus, DataType, DistanceFunction, ErrorMetric, KernelFunction, LocationEqualityLevel, MiningAlgorithm, MiningFunction, MiningStandardType, MiningTaskState, MiningTaskType, Normalization, PairCombinationsOption, RuleAnnotationType, RuleSortCriteria, SortOrder, SparsitySpecification, UsageAdjustment

public abstract class Enum
extends java.lang.Object
implements java.io.Serializable

This abstract class is used to implement enumerations. It provides get functions for the predefined set of options.

See Also:
Serialized Form

Method Summary
 java.lang.String getEnum()
          This returns the current ID of the enumeration, which is set in the data member.
 int getID()
          This returns the current ID of the enumeration, which is set in the data member.
 boolean isEqual(Enum src)
          Compares two enumeration values.

 

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

 

Method Detail

getID

public int getID()
This returns the current ID of the enumeration, which is set in the data member.
Returns:
id of the given enumeration value

getEnum

public java.lang.String getEnum()
This returns the current ID of the enumeration, which is set in the data member.
Returns:
text representation of the given enumeration value

isEqual

public boolean isEqual(Enum src)
Compares two enumeration values.
Returns:
the result of comparison, true if two enumerated options are the same, false otherwise.

Copyright © 2003 Oracle Corporation. All Rights Reserved.