Annotation Type DefaultValue


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface DefaultValue
    Placed on an EntityField that gets a default value at creation time if not specified explicitly by the client. Analogous to the DEFAULT clause in database.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value
        Returns:
        default value as string, will be parsed using the StringValueConverter of the field