Package de.caluga.morphium.annotations
Annotation Interface CreationTime
User: Stephan Bösebeck
Date: 29.05.12
Time: 15:30
define the field to store the creation timestamp. Only works ifthis annotation is also added to the type
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanset it to true to make self-created ids possibledefine the format for creation time when storing into strings
-
Element Details
-
checkForNew
boolean checkForNewset it to true to make self-created ids possible- Returns:
- Default:
- false
-
dateFormat
String dateFormatdefine the format for creation time when storing into strings- Returns:
- Default:
- "yyyy-MM-dd hh:mm:ss"
-