2015-06-05 11:43:53 +02:00
|
|
|
package org.gcube.accounting.datamodel.annotations;
|
2015-05-29 17:39:24 +02:00
|
|
|
|
|
|
|
import java.lang.annotation.ElementType;
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
2015-06-05 11:43:53 +02:00
|
|
|
import org.gcube.accounting.datamodel.validators.NotEmptyValidator;
|
2015-05-29 17:39:24 +02:00
|
|
|
|
|
|
|
@Target(ElementType.FIELD)
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
2015-06-05 11:43:53 +02:00
|
|
|
@ValidityChecker(managed=NotEmptyValidator.class)
|
|
|
|
public @interface NotEmpty {
|
2015-05-29 17:39:24 +02:00
|
|
|
|
|
|
|
}
|