javax.datamining.data
Class AttributeDataType

java.lang.Object
  |
  +--javax.datamining.Enum
        |
        +--javax.datamining.data.AttributeDataType
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class AttributeDataType
extends Enum

The enumeration AttributeRepresentation is essentially a data type for the attribute. JDM specifies three data types: integer, double, and string. Vendors may choose to augment this with other representations which include: float, date, and time.

The values defined in JDM are:

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Serialized Form

Field Summary
static AttributeDataType doubleType
           
static AttributeDataType integerType
           
static AttributeDataType stringType
           
static AttributeDataType unknownType
           
 
Method Summary
static void addExtension(java.lang.String name)
          Adds a vendor extension name to AttributeDataType.
static AttributeDataType valueOf(java.lang.String name)
          Returns an instance of AttributeDataType corresponding to the specified name.
static AttributeDataType[] values()
          Returns a list of all AttributeDataType enumerations defined.
 
Methods inherited from class javax.datamining.Enum
compareTo, equals, name
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doubleType

public static final AttributeDataType doubleType

integerType

public static final AttributeDataType integerType

stringType

public static final AttributeDataType stringType

unknownType

public static final AttributeDataType unknownType
Method Detail

addExtension

public static void addExtension(java.lang.String name)
                         throws JDMException
Adds a vendor extension name to AttributeDataType.

Parameters:
name - The name of the unique vendor extension
Throws:
JDMException - When name is an invalid string or redundant to existing standard enums.

valueOf

public static AttributeDataType valueOf(java.lang.String name)
                                 throws JDMException
Returns an instance of AttributeDataType corresponding to the specified name.

Parameters:
name - The name of the enumeration value
Returns:
AttributeDataType - The instance of the specified enumeration.
Throws:
JDMException - When name is not valid.

values

public static AttributeDataType[] values()
Returns a list of all AttributeDataType enumerations defined.

Returns:
AttributeDataType[]