org.objectweb.jonas_ejb.lib.SqlTimeFieldMapping 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.Time.
The StorageType is the JORM type, and the MemoryType is the JOnAS type (bean field type).
Author:
Helene Joanin

Definition at line 33 of file SqlTimeFieldMapping.java.


Member Function Documentation

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

Retrieves the java type corresponding to the type in memory.

Returns:
a Class object (never null).

Definition at line 47 of file SqlTimeFieldMapping.java.

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

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

Returns:
a Class object (never null).

Definition at line 39 of file SqlTimeFieldMapping.java.

Object org.objectweb.jonas_ejb.lib.SqlTimeFieldMapping.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 56 of file SqlTimeFieldMapping.java.

Object org.objectweb.jonas_ejb.lib.SqlTimeFieldMapping.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 70 of file SqlTimeFieldMapping.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