|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.schwarzrot.data.support.DateConverter
public class DateConverter
| Constructor Summary | |
|---|---|
DateConverter()
|
|
| 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 physicalSize)
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 DateConverter()
| Method Detail |
|---|
public Object fromPersistence(Class<?> type,
Object value)
Converter
fromPersistence in interface Convertertype - the type of the property (target type)value - the value from persistence
public Class<?> getValueType()
Converter
getValueType in interface ConverterClass
public Object toPersistence(Object value,
int physicalSize)
Converter
toPersistence in interface Convertervalue - a property valuephysicalSize - 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 | |||||||||