Annotation Interface LastAccess


@Target({FIELD,TYPE}) @Retention(RUNTIME) public @interface LastAccess
User: Stephan Bösebeck Date: 29.05.12 Time: 15:32

Tell the type to store the last access. Field is specified by the same annotation at field level. Attention: this causes one write access for every read!

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    define the format for access time when storing into strings Careful: this will slow down reading
  • Element Details

    • dateFormat

      String dateFormat
      define the format for access time when storing into strings Careful: this will slow down reading
      Returns:
      Default:
      "yyyy-MM-dd hh:mm:ss"