1
|
package eu.dnetlib.validator.service.impls.rules;
|
2
|
|
3
|
import java.util.Properties;
|
4
|
|
5
|
import eu.dnetlib.validator.engine.data.Rule;
|
6
|
|
7
|
/**
|
8
|
* Represents a rule that checks if an object has a value matching on of the terms contained in {@link VocabularyRule#TERMS}
|
9
|
* @author Manos Karvounis
|
10
|
* @author Nikon Gasparis
|
11
|
*
|
12
|
*/
|
13
|
public abstract class VocabularyRule extends Rule {
|
14
|
|
15
|
private static final long serialVersionUID = 6618578915649889004L;
|
16
|
|
17
|
/**
|
18
|
* comma-separated list of terms
|
19
|
*/
|
20
|
public static final String TERMS = "terms";
|
21
|
|
22
|
public static final String TERMS_TYPE = "terms_type";
|
23
|
|
24
|
public VocabularyRule(Properties pros, int id) {
|
25
|
super(pros, id);
|
26
|
}
|
27
|
|
28
|
}
|