23 lines
572 B
Java
23 lines
572 B
Java
package org.gcube.data_catalogue.grsf_publish_ws.custom_annotations;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Group annotation
|
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.FIELD)
|
|
public @interface Group {
|
|
|
|
/**
|
|
* Define a REGEX condition to be checked before the record
|
|
* is actually added to the group.
|
|
*/
|
|
String condition() default "";
|
|
|
|
}
|