argos/dmp-backend/web/src/main/java/eu/eudat/logic/proxy/config/ExternalUrls.java

174 lines
3.9 KiB
Java
Raw Normal View History

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
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;
GrantUrls grants;
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;*/
FunderUrls funders;
LicenseUrls licenses;
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;
}
@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;
}
public GrantUrls getGrants() {
return grants;
2018-02-16 11:34:02 +01:00
}
@XmlElement(name = "grants")
public void setGrants(GrantUrls grants) {
this.grants = grants;
2018-02-16 11:34:02 +01:00
}
public ProjectUrls getProjects() {
return projects;
}
@XmlElement(name = "projects")
public void setProjects(ProjectUrls projects) {
this.projects = projects;
}
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;
}
2018-02-16 11:34:02 +01:00
public DatasetUrls getDatasets() {
return datasets;
}
@XmlElement(name = "datasets")
public void setDatasets(DatasetUrls datasets) {
this.datasets = datasets;
}
public LicenseUrls getLicenses() {
return licenses;
}
@XmlElement(name = "licenses")
public void setLicenses(LicenseUrls licenses) {
this.licenses = licenses;
}
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
}