Commit d0adf625 authored by Matija Obreza's avatar Matija Obreza

MCPD v2.1 PUID

parent c7294d17
......@@ -31,6 +31,10 @@ public class AccessionJson {
/** The genesys id. */
private Long genesysId;
/** The puid. */
@JsonProperty(value = Accession.PUID)
private String puid;
/** The inst code. */
@JsonProperty(value = Accession.INSTCODE)
private String instCode;
......@@ -182,6 +186,21 @@ public class AccessionJson {
public void setGenesysId(final Long genesysId) {
this.genesysId = genesysId;
}
/**
* @return the puid
*/
public String getPuid() {
return puid;
}
/**
* @param puid the puid to set
*/
public void setPuid(String puid) {
this.puid = puid;
}
/**
* Gets the inst code.
......
......@@ -27,6 +27,11 @@ public interface Api1Constants {
* The Interface Accession.
*/
public static interface Accession {
/**
* MCPDv2.1 Persistent Unique Identifier
*/
public static final String PUID = "puid";
/**
* WIEWS code of accession holding institute.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment