javax.datamining.data
Class CategoryProperty

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

public class CategoryProperty
extends Enum

The enumeration CategoryProperty is used to specify whether a Category is valid, invalid or missing.

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

Field Summary
static CategoryProperty error
           
static CategoryProperty missing
           
static CategoryProperty unknown
           
static CategoryProperty valid
           
 
Method Summary
static void addExtension(java.lang.String name)
          Adds a vendor extension name to CategoryProperty.
static CategoryProperty valueOf(java.lang.String name)
          Returns an instance of CategoryProperty corresponding to the specified name.
static CategoryProperty[] values()
          Returns a list of all CategoryProperty 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

error

public static final CategoryProperty error

missing

public static final CategoryProperty missing

unknown

public static final CategoryProperty unknown

valid

public static final CategoryProperty valid
Method Detail

addExtension

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

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 CategoryProperty valueOf(java.lang.String name)
                                throws JDMException
Returns an instance of CategoryProperty corresponding to the specified name.

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

values

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

Returns:
CategoryProperty[]