javax.datamining.resource
Class PersistenceOption
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.resource.PersistenceOption
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class PersistenceOption
- extends Enum
The enumeration PersistenceOption
indicates how objects are persisted.
- Author:
- JSR-73 Java Data Mining Expert Group
- See Also:
- Serialized Form
|
Method Summary |
static void |
addExtension(java.lang.String name)
Adds a vendor extension name to PersistenceOption. |
static PersistenceOption |
valueOf(java.lang.String name)
Returns an instance of PersistenceOption corresponding to the specified name. |
static PersistenceOption[] |
values()
Returns a list of all PersistenceOption enumerations defined. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
persistentObject
public static final PersistenceOption persistentObject
transientObject
public static final PersistenceOption transientObject
addExtension
public static void addExtension(java.lang.String name)
throws JDMException
- Adds a vendor extension
name to PersistenceOption.
- 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 PersistenceOption valueOf(java.lang.String name)
throws JDMException
- Returns an instance of
PersistenceOption corresponding to the specified name.
- Parameters:
name - The name of the enumeration value
- Returns:
PersistenceOption - The instance of the specified enumeration.
- Throws:
JDMException - When name is not valid.
values
public static PersistenceOption[] values()
- Returns a list of all
PersistenceOption enumerations defined.
- Returns:
PersistenceOption[]