Annotation Type NonEmpty


@Retention(RUNTIME)
public @interface NonEmpty
Indicates that a collection must have at least one item.

It applicable only to a Collection bean-field.