2016-01-28 10:42:30 +01:00
|
|
|
package org.gcube.accounting.datamodel.validations.annotations;
|
2015-10-14 10:46:13 +02:00
|
|
|
|
|
|
|
import java.lang.annotation.ElementType;
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
2016-01-28 10:42:30 +01:00
|
|
|
import org.gcube.accounting.datamodel.validations.validators.ValidMapValidator;
|
2015-12-21 11:50:09 +01:00
|
|
|
import org.gcube.documentstore.records.implementation.FieldDecorator;
|
2015-10-14 10:46:13 +02:00
|
|
|
|
2016-10-12 14:15:28 +02:00
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
2015-10-14 10:46:13 +02:00
|
|
|
@Target(ElementType.FIELD)
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
2016-01-28 10:42:30 +01:00
|
|
|
@FieldDecorator(action=ValidMapValidator.class)
|
|
|
|
public @interface ValidMap {
|
|
|
|
|
|
|
|
}
|