package eu.eudat.models.rda; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.*; /** * The Dataset ID Schema *
* Dataset ID * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "identifier", "type" }) @JsonIgnoreProperties(ignoreUnknown = true) public class DatasetId implements Serializable { /** * The Dataset Identifier Schema *
* Identifier for a dataset * (Required) * */ @JsonProperty("identifier") @JsonPropertyDescription("Identifier for a dataset") private String identifier; /** * The Dataset Identifier Type Schema *
* Dataset identifier type. Allowed values: handle, doi, ark, url, other
* (Required)
*
*/
@JsonProperty("type")
@JsonPropertyDescription("Dataset identifier type. Allowed values: handle, doi, ark, url, other")
private DatasetId.Type type;
@JsonIgnore
private Map
* Identifier for a dataset
* (Required)
*
*/
@JsonProperty("identifier")
public String getIdentifier() {
return identifier;
}
/**
* The Dataset Identifier Schema
*
* Identifier for a dataset
* (Required)
*
*/
@JsonProperty("identifier")
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
/**
* The Dataset Identifier Type Schema
*
* Dataset identifier type. Allowed values: handle, doi, ark, url, other
* (Required)
*
*/
@JsonProperty("type")
public DatasetId.Type getType() {
return type;
}
/**
* The Dataset Identifier Type Schema
*
* Dataset identifier type. Allowed values: handle, doi, ark, url, other
* (Required)
*
*/
@JsonProperty("type")
public void setType(DatasetId.Type type) {
this.type = type;
}
@JsonProperty("additional_properties")
public Map