Annotationsschnittstelle 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

  • Optionale Elemente - Übersicht

    Optionale Elemente
    Modifizierer und Typ
    Optionales Element
    Beschreibung
    define the format for timestamp when storing into strings
  • Elementdetails

    • dateFormat

      String dateFormat
      define the format for timestamp when storing into strings
      Gibt zurück:
      Standard:
      "yyyy-MM-dd hh:mm:ss"