public class OAIPMHEmbargoDateRule
extends eu.dnetlib.validator.engine.data.Rule
Checks if an oai_dc record handles embargo dates as specified by the OpenAIRE Guidelines.
The Validation Object given to
apply(ValidationObject) must be an oai_dc
record retrieved by an OAIPMHRecordProvider.
| Constructor and Description |
|---|
OAIPMHEmbargoDateRule(Properties pros,
int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(eu.dnetlib.validator.engine.execution.ValidationObject obj) |
getErrors, getProvider, getValObjId, setErrors, setProvider, setValObjIdpublic OAIPMHEmbargoDateRule(Properties pros, int id)
Copyright © 2023. All rights reserved.