| |
|
| java.lang.Object org.objectweb.jonas_ejb.lib.SqlTimeFieldMapping
SqlTimeFieldMapping | public class SqlTimeFieldMapping (Code) | | Conversion java.util.Date <-> java.sql.Time.
The StorageType is the JORM type, and the MemoryType is the JOnAS type (bean field type).
author: Helene Joanin |
Method Summary | |
public static Class | getMemoryType() Retrieves the java type corresponding to the type in memory. | public static Class | getStorageType() Retrieves the java type corresponding to the type into the data support. | public static Object | toMemory(Object storagevalue) Converts a value from the data support into a value in memory
Parameters: storagevalue - is the value store in the support (can be null). | public static Object | toStorage(Object memoryvalue) Converts a value from the data support into a value in memory
Parameters: memoryvalue - the value in memory (can be null). |
getMemoryType | public static Class getMemoryType()(Code) | | Retrieves the java type corresponding to the type in memory.
a Class object (never null). |
getStorageType | public static Class getStorageType()(Code) | | Retrieves the java type corresponding to the type into the data support.
a Class object (never null). |
toMemory | public static Object toMemory(Object storagevalue)(Code) | | Converts a value from the data support into a value in memory
Parameters: storagevalue - is the value store in the support (can be null). the value in memory (can be null). |
toStorage | public static Object toStorage(Object memoryvalue)(Code) | | Converts a value from the data support into a value in memory
Parameters: memoryvalue - the value in memory (can be null). is the value store in the support (can be null). |
|
|
|