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 Max
An integral number –
byte, short, int, long or their boxes –
that must be at most value. Null is valid.Methods
public abstract long value() | The largest 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 largest value allowed.
message
public abstract String message() default ""The message reported for the field; empty for the default.