Interface FloatDef

All Superinterfaces:
FieldDef

public interface FloatDef extends FieldDef
FloatDef is an extension of FieldDef to encapsulate the Float type. It adds a minimum and maximum value range and a default value. Minimum and maximum are inclusive.
Since:
3.0
  • Method Details

    • getMin

      @Deprecated Float getMin()
      Deprecated.
      as of release 4.0 it is no longer possible to specify ranges on Float types. A storage size argument can be specified on a Float type when used in a primary key.
      Returns:
      the minimum value for the instance if defined, otherwise null
    • getMax

      @Deprecated Float getMax()
      Deprecated.
      as of release 4.0 it is no longer possible to specify ranges on Float types. A storage size argument can be specified on a Float type when used in a primary key.
      Returns:
      the maximum value for the instance if defined, otherwise null
    • clone

      FloatDef clone()
      Description copied from interface: FieldDef
      Perform a deep copy of this FieldDef instance.
      Specified by:
      clone in interface FieldDef
      Returns:
      a deep copy of this object