Annotation Type DateCreated


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    @Documented
    @AutoPopulated(updateable=false)
    public @interface DateCreated
    Can be applied to date type to indicate the property should be populated when it is first inserted.
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String NAME
      The annotation 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 annotation 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