Annotation Type DateUpdated


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    @Documented
    @AutoPopulated
    public @interface DateUpdated
    Can be applied to date type to indicate the property should be populated when it was last updated.
    Since:
    1.0
    Author:
    graemerocher
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String NAME
      The date created name.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.time.temporal.ChronoUnit truncatedTo
      Allows to truncate the auto set date value.
    • Field Detail

      • NAME

        static final java.lang.String NAME
        The date created name.
    • Element Detail

      • truncatedTo

        java.time.temporal.ChronoUnit truncatedTo
        Allows to truncate the auto set date value.
        Returns:
        the truncated to constant
        Since:
        3.4.2
        Default:
        java.time.temporal.ChronoUnit.FOREVER