2018-06-27 12:29:21 +02:00
|
|
|
package eu.eudat.logic.proxy.config;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
|
2018-06-27 12:29:21 +02:00
|
|
|
import eu.eudat.logic.proxy.config.entities.*;
|
2021-12-10 14:37:39 +01:00
|
|
|
import eu.eudat.logic.proxy.config.prefilling.PrefillingConfigMapAdapter;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
2022-01-21 09:58:29 +01:00
|
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
|
|
|
import jakarta.xml.bind.annotation.XmlElementWrapper;
|
|
|
|
import jakarta.xml.bind.annotation.XmlRootElement;
|
|
|
|
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
2018-02-16 11:34:02 +01:00
|
|
|
import java.io.Serializable;
|
2021-12-10 14:37:39 +01:00
|
|
|
import java.util.Map;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
@XmlRootElement
|
|
|
|
public class ExternalUrls implements Serializable {
|
|
|
|
|
2018-02-16 11:34:02 +01:00
|
|
|
private static final long serialVersionUID = -5076364662014107275L;
|
|
|
|
|
|
|
|
Long maxresults;
|
|
|
|
|
2019-07-31 16:57:34 +02:00
|
|
|
GrantUrls grants;
|
2019-08-02 10:27:12 +02:00
|
|
|
ProjectUrls projects;
|
2018-02-16 11:34:02 +01:00
|
|
|
RegistryUrls registries;
|
|
|
|
RepositoryUrls repositories;
|
|
|
|
ServiceUrls services;
|
|
|
|
ResearcherUrls researchers;
|
|
|
|
OrganisationUrls organisations;
|
|
|
|
DatasetUrls datasets;
|
2020-04-01 17:17:17 +02:00
|
|
|
/*TagUrls tags;*/
|
2019-08-20 17:22:53 +02:00
|
|
|
FunderUrls funders;
|
2020-06-26 10:46:18 +02:00
|
|
|
LicenseUrls licenses;
|
2020-11-05 17:20:37 +01:00
|
|
|
ValidationUrls validations;
|
2021-12-10 14:37:39 +01:00
|
|
|
Map<String, PrefillingConfig> prefillings;
|
2018-02-16 11:34:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
public RegistryUrls getRegistries() {
|
|
|
|
return registries;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "registries")
|
|
|
|
public void setRegistries(RegistryUrls registries) {
|
|
|
|
this.registries = registries;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public RepositoryUrls getRepositories() {
|
|
|
|
return repositories;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "repositories")
|
|
|
|
public void setRepositories(RepositoryUrls repositories) {
|
|
|
|
this.repositories = repositories;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public ServiceUrls getServices() {
|
|
|
|
return services;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "services")
|
|
|
|
public void setServices(ServiceUrls services) {
|
|
|
|
this.services = services;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public ResearcherUrls getResearchers() {
|
|
|
|
return researchers;
|
|
|
|
}
|
|
|
|
|
2019-08-02 10:27:12 +02:00
|
|
|
@XmlElement(name = "researchers")
|
|
|
|
public void setResearchers(ResearcherUrls researchers) {
|
|
|
|
this.researchers = researchers;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-04-01 17:17:17 +02:00
|
|
|
/*public TagUrls getTags() {
|
2018-07-11 15:47:36 +02:00
|
|
|
return tags;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "tags")
|
|
|
|
public void setTags(TagUrls tags) {
|
|
|
|
this.tags = tags;
|
2020-04-01 17:17:17 +02:00
|
|
|
}*/
|
2018-07-11 15:47:36 +02:00
|
|
|
|
2018-02-16 11:34:02 +01:00
|
|
|
|
|
|
|
public OrganisationUrls getOrganisations() {
|
|
|
|
return organisations;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "organisations")
|
|
|
|
public void setOrganisations(OrganisationUrls organisations) {
|
|
|
|
this.organisations = organisations;
|
|
|
|
}
|
|
|
|
|
2019-08-02 10:27:12 +02:00
|
|
|
|
2019-07-31 16:57:34 +02:00
|
|
|
public GrantUrls getGrants() {
|
|
|
|
return grants;
|
2018-02-16 11:34:02 +01:00
|
|
|
}
|
|
|
|
|
2019-07-31 16:57:34 +02:00
|
|
|
@XmlElement(name = "grants")
|
|
|
|
public void setGrants(GrantUrls grants) {
|
|
|
|
this.grants = grants;
|
2018-02-16 11:34:02 +01:00
|
|
|
}
|
|
|
|
|
2019-08-02 10:27:12 +02:00
|
|
|
|
|
|
|
public ProjectUrls getProjects() {
|
|
|
|
return projects;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "projects")
|
|
|
|
public void setProjects(ProjectUrls projects) {
|
|
|
|
this.projects = projects;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-08-20 17:22:53 +02:00
|
|
|
public FunderUrls getFunders() {
|
|
|
|
return funders;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFunders(FunderUrls funders) {
|
|
|
|
this.funders = funders;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-02-16 11:34:02 +01:00
|
|
|
public Long getMaxresults() {
|
|
|
|
return maxresults;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "maxresults")
|
|
|
|
public void setMaxresults(Long maxresults) {
|
|
|
|
this.maxresults = maxresults;
|
|
|
|
}
|
|
|
|
|
2019-08-02 10:27:12 +02:00
|
|
|
|
2018-02-16 11:34:02 +01:00
|
|
|
public DatasetUrls getDatasets() {
|
|
|
|
return datasets;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "datasets")
|
|
|
|
public void setDatasets(DatasetUrls datasets) {
|
|
|
|
this.datasets = datasets;
|
|
|
|
}
|
2020-06-26 10:46:18 +02:00
|
|
|
|
|
|
|
public LicenseUrls getLicenses() {
|
|
|
|
return licenses;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "licenses")
|
|
|
|
public void setLicenses(LicenseUrls licenses) {
|
|
|
|
this.licenses = licenses;
|
|
|
|
}
|
2020-11-05 17:20:37 +01:00
|
|
|
|
|
|
|
public ValidationUrls getValidations() {
|
|
|
|
return validations;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "validators")
|
|
|
|
public void setValidations(ValidationUrls validations) {
|
|
|
|
this.validations = validations;
|
|
|
|
}
|
2021-12-10 14:37:39 +01:00
|
|
|
|
|
|
|
public Map<String, PrefillingConfig> getPrefillings() {
|
|
|
|
return prefillings;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlJavaTypeAdapter(PrefillingConfigMapAdapter.class)
|
|
|
|
@XmlElement(name = "prefillings")
|
|
|
|
public void setPrefillings(Map<String, PrefillingConfig> prefillings) {
|
|
|
|
this.prefillings = prefillings;
|
|
|
|
}
|
2017-11-20 18:01:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|