javax.datamining.resource
Class ConnectionCapability

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

public class ConnectionCapability
extends Enum

The enumeration ConnectionCapability indicates capabilities of the implementation in terms of the way connection is created, how object persistence is managed, etc.

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

Field Summary
static ConnectionCapability connectionSpec
           
static ConnectionCapability containerManaged
           
static ConnectionCapability jcxConnection
           
static ConnectionCapability scoringEngine
           
 
Method Summary
static void addExtension(java.lang.String name)
          Adds a vendor extension name to ConnectionCapability.
static ConnectionCapability valueOf(java.lang.String name)
          Returns an instance of ConnectionCapability corresponding to the specified name.
static ConnectionCapability[] values()
          Returns a list of all ConnectionCapability 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

connectionSpec

public static final ConnectionCapability connectionSpec

containerManaged

public static final ConnectionCapability containerManaged

jcxConnection

public static final ConnectionCapability jcxConnection

scoringEngine

public static final ConnectionCapability scoringEngine
Method Detail

addExtension

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

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

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

values

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

Returns:
ConnectionCapability[]