package org.gcube.accounting.datamodel.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.gcube.accounting.datamodel.validators.NotEmptyIfNotNullValidator; @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) @ValidityChecker(managed=NotEmptyIfNotNullValidator.class) public @interface NotEmptyIfNotNull { }