All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebean.validation.NotEmpty Maven / Gradle / Ivy

The newest version!
package com.avaje.ebean.validation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.avaje.ebean.validation.factory.NotEmptyValidatorFactory;

/**
 * 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. *

*/ @ValidatorMeta(factory = NotEmptyValidatorFactory.class) @Target({ ElementType.FIELD, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) public @interface NotEmpty { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy