|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.schwarzrot.data.support.FloatConverter
public class FloatConverter
Constructor Summary | |
---|---|
FloatConverter()
|
Method Summary | |
---|---|
Object |
fromPersistence(Class<?> type,
Object value)
convert a value from persistence into a value of the java world. |
Class<?> |
getValueType()
returns the type, this converter cares about |
Object |
toPersistence(Object value,
int notUsed)
convert a value from java world into a value for persistence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FloatConverter()
Method Detail |
---|
public Object fromPersistence(Class<?> type, Object value)
Converter
fromPersistence
in interface Converter
type
- the type of the property (target type)value
- the value from persistence
public Class<?> getValueType()
Converter
getValueType
in interface Converter
Class
public Object toPersistence(Object value, int notUsed)
Converter
toPersistence
in interface Converter
value
- a property valuenotUsed
- size of physical datafield (i.e. database column)
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |