T - public class ChainRule<T extends eu.dnetlib.validator.engine.data.Rule>
extends eu.dnetlib.validator.engine.data.Rule
TYPE property.| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
rules |
static String |
TYPE
Permitted values:
'or': true if any of the rules is successful
'and': true if all the rules are successful
'horn': rule[0] => rule[1] /\ rule[2] /\ ...
|
| Constructor and Description |
|---|
ChainRule(Properties pros,
int id,
List<T> rules) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(eu.dnetlib.validator.engine.execution.ValidationObject obj) |
getErrors, getProvider, getValObjId, setErrors, setProvider, setValObjIdpublic static final String TYPE
public ChainRule(Properties pros, int id, List<T> rules)
Copyright © 2021. All rights reserved.