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 NotEmpty

A CharSequence, collection, map or array that must hold at least one element. Null is a violation.

Methods

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

Method details

message

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