|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.types.DateLongConverter
public class DateLongConverter
Class to handle the conversion between java.util.Date and a Long form.
| Field Summary |
|---|
| Fields inherited from interface org.datanucleus.store.types.ObjectLongConverter |
|---|
LOCALISER |
| Constructor Summary | |
|---|---|
DateLongConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
toLong(java.lang.Object obj)
Method to convert from the object to its Long form |
java.lang.Object |
toObject(java.lang.Long value)
Method to convert from Long back to the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateLongConverter()
| Method Detail |
|---|
public java.lang.Object toObject(java.lang.Long value)
ObjectLongConverter
toObject in interface ObjectLongConvertervalue - The long
public java.lang.Long toLong(java.lang.Object obj)
ObjectLongConverter
toLong in interface ObjectLongConverterobj - The object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||