2015-06-08 17:19:09 +02:00
|
|
|
package org.gcube.accounting.datamodel.validations.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-08 17:23:39 +02:00
|
|
|
import org.gcube.accounting.datamodel.validations.ValidityChecker;
|
2015-06-08 17:19:09 +02:00
|
|
|
import org.gcube.accounting.datamodel.validations.validators.NotNullValidator;
|
2015-05-29 17:39:24 +02:00
|
|
|
|
|
|
|
@Target(ElementType.FIELD)
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
2015-06-05 11:43:53 +02:00
|
|
|
@ValidityChecker(managed=NotNullValidator.class)
|
|
|
|
public @interface NotNull {
|
|
|
|
|
2015-05-29 17:39:24 +02:00
|
|
|
}
|