Package de.caluga.morphium.annotations
Annotation Type LastChange
-
@Target({FIELD,TYPE}) @Retention(RUNTIME) public @interface LastChange
User: Stephan Bösebeck Date: 29.05.12 Time: 15:31 tell Morphium to store the timestamp of the last change. put this annotation both to the type and the field to store the last access timestamp. Field needs to be of type long
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdateFormatdefine the format for timestamp when storing into strings
-
-
-
Element Detail
-
dateFormat
String dateFormat
define the format for timestamp when storing into strings- Returns:
- Default:
- "yyyy-MM-dd hh:mm:ss"
-
-