org.objectweb.jonas_ejb.lib.SqlDateFieldMapping Class Reference

List of all members.

Static Public Member Functions

Class getStorageType ()
Class getMemoryType ()
Object toMemory (Object storagevalue)
Object toStorage (Object memoryvalue)

Detailed Description

Conversion java.util.Date <-> java.sql.Date.
The StorageType is the JORM type, and the MemoryType is the JOnAS type (bean field type).
Author:
Helene Joanin

Definition at line 34 of file SqlDateFieldMapping.java.


Member Function Documentation

Class org.objectweb.jonas_ejb.lib.SqlDateFieldMapping.getMemoryType  )  [static]
 

Retrieves the java type corresponding to the type in memory.

Returns:
a Class object (never null).

Definition at line 48 of file SqlDateFieldMapping.java.

Class org.objectweb.jonas_ejb.lib.SqlDateFieldMapping.getStorageType  )  [static]
 

Retrieves the java type corresponding to the type into the data support.

Returns:
a Class object (never null).

Definition at line 40 of file SqlDateFieldMapping.java.

Object org.objectweb.jonas_ejb.lib.SqlDateFieldMapping.toMemory Object  storagevalue  )  [static]
 

Converts a value from the data support into a value in memory

Parameters:
storagevalue is the value store in the support (can be null).
Returns:
the value in memory (can be null).

Definition at line 57 of file SqlDateFieldMapping.java.

Object org.objectweb.jonas_ejb.lib.SqlDateFieldMapping.toStorage Object  memoryvalue  )  [static]
 

Converts a value from the data support into a value in memory

Parameters:
memoryvalue the value in memory (can be null).
Returns:
is the value store in the support (can be null).

Definition at line 71 of file SqlDateFieldMapping.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:04 2005 for JOnAS by  doxygen 1.3.9.1