26 lines
576 B
Java
26 lines
576 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.accounting.datamodel.annotations;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Inherited;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
import org.gcube.accounting.datamodel.validators.FieldValidator;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*
|
|
*/
|
|
@Target(ElementType.ANNOTATION_TYPE)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Inherited
|
|
public @interface ValidityChecker {
|
|
|
|
Class<? extends FieldValidator> managed();
|
|
}
|
|
|