package eu.eudat.models.rda; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.Set; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; /** * The Contributor Items Schema *
* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "contributor_id", "mbox", "name", "role" }) @JsonIgnoreProperties(ignoreUnknown = true) public class Contributor implements Serializable { /** * The Contributor_id Schema *
* * (Required) * */ @JsonProperty("contributor_id") private ContributorId contributorId; /** * The Contributor Mailbox Schema *
* Contributor Mail address * */ @JsonProperty("mbox") @JsonPropertyDescription("Contributor Mail address") private String mbox; /** * The Name Schema *
* Name of the contributor * (Required) * */ @JsonProperty("name") @JsonPropertyDescription("Name of the contributor") private String name; /** * The Role Schema *
* Type of contributor
* (Required)
*
*/
@JsonProperty("role")
@JsonDeserialize(as = java.util.LinkedHashSet.class)
@JsonPropertyDescription("Type of contributor")
private Set
*
* (Required)
*
*/
@JsonProperty("contributor_id")
public ContributorId getContributorId() {
return contributorId;
}
/**
* The Contributor_id Schema
*
*
* (Required)
*
*/
@JsonProperty("contributor_id")
public void setContributorId(ContributorId contributorId) {
this.contributorId = contributorId;
}
/**
* The Contributor Mailbox Schema
*
* Contributor Mail address
*
*/
@JsonProperty("mbox")
public String getMbox() {
return mbox;
}
/**
* The Contributor Mailbox Schema
*
* Contributor Mail address
*
*/
@JsonProperty("mbox")
public void setMbox(String mbox) {
this.mbox = mbox;
}
/**
* The Name Schema
*
* Name of the contributor
* (Required)
*
*/
@JsonProperty("name")
public String getName() {
return name;
}
/**
* The Name Schema
*
* Name of the contributor
* (Required)
*
*/
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
/**
* The Role Schema
*
* Type of contributor
* (Required)
*
*/
@JsonProperty("role")
public Set
* Type of contributor
* (Required)
*
*/
@JsonProperty("role")
public void setRole(Set