argos/dmp-backend/web/src/main/java/eu/eudat/models/rda/TechnicalResource.java

107 lines
2.4 KiB
Java

package eu.eudat.models.rda;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.*;
/**
* The Dataset Technical Resource Items Schema
* <p>
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"description",
"name",
"additional_properties"
})
@JsonIgnoreProperties(ignoreUnknown = true)
public class TechnicalResource implements Serializable
{
/**
* The Dataset Technical Resource Description Schema
* <p>
* Description of the technical resource
*
*/
@JsonProperty("description")
@JsonPropertyDescription("Description of the technical resource")
private String description;
/**
* The Dataset Technical Resource Name Schema
* <p>
* Name of the technical resource
* (Required)
*
*/
@JsonProperty("name")
@JsonPropertyDescription("Name of the technical resource")
private String name;
@JsonProperty("additional_properties")
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
private final static long serialVersionUID = -7451757227129483110L;
/**
* The Dataset Technical Resource Description Schema
* <p>
* Description of the technical resource
*
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* The Dataset Technical Resource Description Schema
* <p>
* Description of the technical resource
*
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
/**
* The Dataset Technical Resource Name Schema
* <p>
* Name of the technical resource
* (Required)
*
*/
@JsonProperty("name")
public String getName() {
return name;
}
/**
* The Dataset Technical Resource Name Schema
* <p>
* Name of the technical resource
* (Required)
*
*/
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonProperty("additional_properties")
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonProperty("additional_properties")
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}