Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

@Retention(CLASS) @Target({FIELD, PARAMETER})

public @interface Min

An integral number – byte, short, int, long or their boxes – that must be at least value. Null is valid.

Methods

public abstract long value()The smallest value allowed.
public abstract String message() default ""The message reported for the field; empty for the default.

Method details

value

public abstract long value()
The smallest value allowed.

message

public abstract String message() default ""
The message reported for the field; empty for the default.