Interface LongDef

All Superinterfaces:
FieldDef

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

    • getMin

      @Deprecated Long getMin()
      Deprecated.
      as of release 4.0 it is no longer possible to specify ranges on Long types.
      Returns:
      the minimum value for the instance if defined, otherwise null
    • getMax

      @Deprecated Long getMax()
      Deprecated.
      as of release 4.0 it is no longer possible to specify ranges on Long types.
      Returns:
      the maximum value for the instance if defined, otherwise null
    • clone

      LongDef 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