public class DataCiteReference extends Object implements EdalReferenceable
EdalReferenceable interface, to
connect the system with the DataCite interface.| Constructor and Description |
|---|
DataCiteReference() |
| Modifier and Type | Method and Description |
|---|---|
String |
acceptApprovalRequest(PublicReference publicReference)
Accept the Approval of the
PublicReference. |
void |
rejectApprovalRequest(PublicReference publicReference)
Reject the Approval of the
PublicReference. |
void |
validate(PrimaryDataEntityVersion entityVersion)
Semantic validation of
MetaData
elements. |
void |
validateMetaData(PrimaryDataEntityVersion entityVersion)
Validate the
MetaData
schema of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type. |
public String acceptApprovalRequest(PublicReference publicReference) throws EdalApprovalException
PublicReference.acceptApprovalRequest in interface EdalReferenceablepublicReference - the PublicReference to accept.EdalApprovalExceptionpublic void rejectApprovalRequest(PublicReference publicReference) throws EdalApprovalException
PublicReference.
no implementation for DataCite necessary -> impossible to reserve IDs
rejectApprovalRequest in interface EdalReferenceablepublicReference - the PublicReference to reject.EdalApprovalExceptionpublic void validateMetaData(PrimaryDataEntityVersion entityVersion) throws EdalPublicationMetaDataException
MetaData
schema of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type.
Check the
MetaData
schema against the DataCiteXmlMapper schema.
validateMetaData in interface EdalReferenceableentityVersion - the PrimaryDataEntityVersion to check the
MetaData
.EdalException - if validation failed.EdalPublicationMetaDataException - if validation failed.public void validate(PrimaryDataEntityVersion entityVersion) throws EdalPublicationMetaDataException
EdalReferenceableMetaData
elements.validate in interface EdalReferenceableEdalPublicationMetaDataExceptionCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.