public class URLReference extends java.lang.Object implements Referenceable
| Constructor and Description |
|---|
URLReference() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
acceptApprovalRequest(PublicReference publicReference)
Accept the Approval of the
PublicReference. |
java.lang.StringBuffer |
negotiateContent(PublicReference publicReference,
ContentNegotiationType type) |
void |
rejectApprovalRequest(PublicReference publicReference)
Reject the Approval of the
PublicReference. |
void |
validateMetaData(PrimaryDataEntityVersion entityVersion)
Validate the
MetaData schema
of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type. |
public java.lang.String acceptApprovalRequest(PublicReference publicReference) throws ReferenceableException
ReferenceablePublicReference.acceptApprovalRequest in interface ReferenceablepublicReference - the PublicReference to accept.ReferenceableException - if unable to accept the request.public void rejectApprovalRequest(PublicReference publicReference) throws ReferenceableException
ReferenceablePublicReference.rejectApprovalRequest in interface ReferenceablepublicReference - the PublicReference to reject.ReferenceableException - if unable to reject the request.public void validateMetaData(PrimaryDataEntityVersion entityVersion) throws EdalPublicationMetaDataException
ReferenceableMetaData schema
of the PrimaryDataEntityVersion if it is valid for this
PersistentIdentifier type.validateMetaData in interface ReferenceableentityVersion - the PrimaryDataEntityVersion to check the
MetaData
.EdalPublicationMetaDataException - if validation failed.public java.lang.StringBuffer negotiateContent(PublicReference publicReference, ContentNegotiationType type)
negotiateContent in interface Referenceable