package eu.eudat.models.rda; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.*; /** * The DMP Project Funding Items Schema *
* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "funder_id", "funding_status", "grant_id" }) @JsonIgnoreProperties(ignoreUnknown = true) public class Funding implements Serializable { /** * The Funder ID Schema *
* Funder ID of the associated project * (Required) * */ @JsonProperty("funder_id") @JsonPropertyDescription("Funder ID of the associated project") private FunderId funderId; /** * The Funding Status Schema *
* To express different phases of project lifecycle. Allowed values: planned, applied, granted, rejected * */ @JsonProperty("funding_status") @JsonPropertyDescription("To express different phases of project lifecycle. Allowed values: planned, applied, granted, rejected") private Funding.FundingStatus fundingStatus; /** * The Funding Grant ID Schema *
* Grant ID of the associated project
* (Required)
*
*/
@JsonProperty("grant_id")
@JsonPropertyDescription("Grant ID of the associated project")
private GrantId grantId;
@JsonIgnore
private Map
* Funder ID of the associated project
* (Required)
*
*/
@JsonProperty("funder_id")
public FunderId getFunderId() {
return funderId;
}
/**
* The Funder ID Schema
*
* Funder ID of the associated project
* (Required)
*
*/
@JsonProperty("funder_id")
public void setFunderId(FunderId funderId) {
this.funderId = funderId;
}
/**
* The Funding Status Schema
*
* To express different phases of project lifecycle. Allowed values: planned, applied, granted, rejected
*
*/
@JsonProperty("funding_status")
public Funding.FundingStatus getFundingStatus() {
return fundingStatus;
}
/**
* The Funding Status Schema
*
* To express different phases of project lifecycle. Allowed values: planned, applied, granted, rejected
*
*/
@JsonProperty("funding_status")
public void setFundingStatus(Funding.FundingStatus fundingStatus) {
this.fundingStatus = fundingStatus;
}
/**
* The Funding Grant ID Schema
*
* Grant ID of the associated project
* (Required)
*
*/
@JsonProperty("grant_id")
public GrantId getGrantId() {
return grantId;
}
/**
* The Funding Grant ID Schema
*
* Grant ID of the associated project
* (Required)
*
*/
@JsonProperty("grant_id")
public void setGrantId(GrantId grantId) {
this.grantId = grantId;
}
@JsonProperty("additional_properties")
public Map