|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.lib.FloatPkFieldMapping
public class FloatPkFieldMapping
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).
Constructor Summary | |
---|---|
FloatPkFieldMapping()
|
Method Summary | |
---|---|
static java.lang.Class |
getMemoryType()
Retrieves the java type corresponding to the type in memory. |
static java.lang.Class |
getStorageType()
Retrieves the java type corresponding to the type into the data support. |
static java.lang.Object |
toMemory(java.lang.Object storagevalue)
Converts a value from the data support into a value in memory |
static java.lang.Object |
toStorage(java.lang.Object memoryvalue)
Converts a value from the data support into a value in memory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatPkFieldMapping()
Method Detail |
---|
public static java.lang.Class getStorageType()
public static java.lang.Class getMemoryType()
public static java.lang.Object toMemory(java.lang.Object storagevalue)
storagevalue
- is the value store in the support (can be null).
public static java.lang.Object toStorage(java.lang.Object memoryvalue)
memoryvalue
- the value in memory (can be null).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |