oracle.dmt.odm
Class DataFormatType
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.DataFormatType
- All Implemented Interfaces:
- java.io.Serializable
- public class DataFormatType
- extends Enum
The enumeration class DataFormatType indicates if the phisical data is in
transactional form.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transactional
public static final DataFormatType transactional
- Specifies the data as transactional
nonTransactional
public static final DataFormatType nonTransactional
- Specifies the data as nontransactional
listNames
public static java.lang.String[] listNames()
- list all string values
- Returns:
- String[]
list
public static DataFormatType[] list()
- list all Enumerations values
- Returns:
- DataFormatType[]
getInstance
public static DataFormatType getInstance(java.lang.String name)
getInstance
public static DataFormatType getInstance(int id)
serialize
public byte[] serialize()
throws java.io.IOException
- Returns:
- byte[]
- Throws:
java.io.IOException
-
deserialize
public static DataFormatType deserialize(byte[] obj)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Parameters:
obj
- - Returns:
- DataFormatType
- Throws:
IOException,ClassNotFoundException
-