com.avaje.ebean.validation
Annotation Type NotEmpty


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface NotEmpty

Validate property as not null and not an empty string.

Can also be placed on collections and maps to make sure that they have more than 0 elements.



Copyright © 2010. All Rights Reserved.