Package org.dspace.orcid.model.validator
Interface OrcidValidator
-
- All Known Implementing Classes:
OrcidValidatorImpl
public interface OrcidValidatorInterface for classes that validate the ORCID entity objects.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<OrcidValidationError>validate(Object object)Validate the given orcid object and returns the validation errors, if any.List<OrcidValidationError>validateFunding(org.orcid.jaxb.model.v3.release.record.Funding funding)Validate the given funding and returns the validation errors, if any.List<OrcidValidationError>validateWork(org.orcid.jaxb.model.v3.release.record.Work work)Validate the given work and returns the validation errors, if any.
-
-
-
Method Detail
-
validate
List<OrcidValidationError> validate(Object object)
Validate the given orcid object and returns the validation errors, if any.- Parameters:
object- the ORCID object to validate- Returns:
- the validation errors, if any
-
validateWork
List<OrcidValidationError> validateWork(org.orcid.jaxb.model.v3.release.record.Work work)
Validate the given work and returns the validation errors, if any.- Parameters:
work- the work to validate- Returns:
- the validation errors, if any
-
validateFunding
List<OrcidValidationError> validateFunding(org.orcid.jaxb.model.v3.release.record.Funding funding)
Validate the given funding and returns the validation errors, if any.- Parameters:
funding- the funding to validate- Returns:
- the validation errors, if any
-
-