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 the Regular Expression {@link RegularExpressionRule#REGEXP}
|
9
|
* @author Manos Karvounis
|
10
|
*
|
11
|
*/
|
12
|
public abstract class RegularExpressionRule extends Rule {
|
13
|
|
14
|
public static final String REGEXP = "regexp";
|
15
|
|
16
|
private static final long serialVersionUID = 2159775453207438509L;
|
17
|
|
18
|
public RegularExpressionRule(Properties pros, int id) {
|
19
|
super(pros, id);
|
20
|
}
|
21
|
|
22
|
}
|