org.objectweb.jonas_ejb.lib.FloatPkFieldMapping 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.lang.Float <-> java.lang.String.
This conversion is useful only for primary key field because JORM does not support float as primary key field. 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 FloatPkFieldMapping.java.


Member Function Documentation

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

Retrieves the java type corresponding to the type in memory.

Returns:
a Class object (never null).

Definition at line 48 of file FloatPkFieldMapping.java.

Class org.objectweb.jonas_ejb.lib.FloatPkFieldMapping.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 FloatPkFieldMapping.java.

Object org.objectweb.jonas_ejb.lib.FloatPkFieldMapping.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 FloatPkFieldMapping.java.

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