Annotation Interface Nullable


@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Nullable
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Deprecated.
    this may be changed in a future version, to indicate a field that may be null, use Nullable, else NotNull
  • Element Details

    • value

      @Deprecated boolean value
      Deprecated.
      this may be changed in a future version, to indicate a field that may be null, use Nullable, else NotNull
      Indicates whether the column is nullable.
      If true, the column can contain null values.
      If false, the column must have a value.
      Default:
      true