1
0
Fork 0

[HostedByMap] update to download the json instead of the csv

This commit is contained in:
Miriam Baglioni 2022-03-04 10:37:59 +01:00
parent 3970651ee1
commit 44b0c03080
19 changed files with 879 additions and 0 deletions

View File

@ -0,0 +1,35 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
public class APC implements Serializable {
private Boolean has_apc;
private String url;
private List<Max> max;
public List<Max> getMax() {
return max;
}
public void setMax(List<Max> max) {
this.max = max;
}
public Boolean getHas_apc() {
return has_apc;
}
public void setHas_apc(Boolean has_apc) {
this.has_apc = has_apc;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Admin implements Serializable {
private Boolean ticked;
private Boolean seal;
public Boolean getTicked() {
return ticked;
}
public void setTicked(Boolean ticked) {
this.ticked = ticked;
}
public Boolean getSeal() {
return seal;
}
public void setSeal(Boolean seal) {
this.seal = seal;
}
}

View File

@ -0,0 +1,44 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
public class Article implements Serializable {
private String license_display_example_url;
private List<String> license_display;
private Boolean orcid;
private Boolean i4oc_open_citations;
public String getLicense_display_example_url() {
return license_display_example_url;
}
public void setLicense_display_example_url(String license_display_example_url) {
this.license_display_example_url = license_display_example_url;
}
public List<String> getLicense_display() {
return license_display;
}
public void setLicense_display(List<String> license_display) {
this.license_display = license_display;
}
public Boolean getOrcid() {
return orcid;
}
public void setOrcid(Boolean orcid) {
this.orcid = orcid;
}
public Boolean getI4oc_open_citations() {
return i4oc_open_citations;
}
public void setI4oc_open_citations(Boolean i4oc_open_citations) {
this.i4oc_open_citations = i4oc_open_citations;
}
}

View File

@ -0,0 +1,253 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class BibJson implements Serializable {
private Editorial editorial;
private PidScheme pid_scheme;
private Copyright copyright;
private List<String> keywords;
private Plagiarism plagiarism;
private List<Subject> subject;
private String eissn;
private String pissn;
private List<String> language;
private String title;
private Article article;
private Institution institution;
private Preservation preservation;
private List<License> license;
private Ref ref;
private Integer oa_start;
private APC apc;
private OtherCharges other_charges;
private Integer publication_time_weeks;
private DepositPolicy deposit_policy;
private Publisher publisher;
private Boolean boai;
private Waiver waiver;
private String alternative_title;
private List<String> is_replaced_by;
private List<String> replaces;
private String discontinued_date;
public String getDiscontinued_date() {
return discontinued_date;
}
public void setDiscontinued_date(String discontinued_date) {
this.discontinued_date = discontinued_date;
}
public List<String> getReplaces() {
return replaces;
}
public void setReplaces(List<String> replaces) {
this.replaces = replaces;
}
public List<String> getIs_replaced_by() {
return is_replaced_by;
}
public void setIs_replaced_by(List<String> is_replaced_by) {
this.is_replaced_by = is_replaced_by;
}
public String getAlternative_title() {
return alternative_title;
}
public void setAlternative_title(String alternative_title) {
this.alternative_title = alternative_title;
}
public String getPissn() {
return pissn;
}
public void setPissn(String pissn) {
this.pissn = pissn;
}
public Editorial getEditorial() {
return editorial;
}
public void setEditorial(Editorial editorial) {
this.editorial = editorial;
}
public PidScheme getPid_scheme() {
return pid_scheme;
}
public void setPid_scheme(PidScheme pid_scheme) {
this.pid_scheme = pid_scheme;
}
public Copyright getCopyright() {
return copyright;
}
public void setCopyright(Copyright copyright) {
this.copyright = copyright;
}
public List<String> getKeywords() {
return keywords;
}
public void setKeywords(List<String> keywords) {
this.keywords = keywords;
}
public Plagiarism getPlagiarism() {
return plagiarism;
}
public void setPlagiarism(Plagiarism plagiarism) {
this.plagiarism = plagiarism;
}
public List<Subject> getSubject() {
return subject;
}
public void setSubject(List<Subject> subject) {
this.subject = subject;
}
public String getEissn() {
return eissn;
}
public void setEissn(String eissn) {
this.eissn = eissn;
}
public List<String> getLanguage() {
return language;
}
public void setLanguage(List<String> language) {
this.language = language;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Article getArticle() {
return article;
}
public void setArticle(Article article) {
this.article = article;
}
public Institution getInstitution() {
return institution;
}
public void setInstitution(Institution institution) {
this.institution = institution;
}
public Preservation getPreservation() {
return preservation;
}
public void setPreservation(Preservation preservation) {
this.preservation = preservation;
}
public List<License> getLicense() {
return license;
}
public void setLicense(List<License> license) {
this.license = license;
}
public Ref getRef() {
return ref;
}
public void setRef(Ref ref) {
this.ref = ref;
}
public Integer getOa_start() {
return oa_start;
}
public void setOa_start(Integer oa_start) {
this.oa_start = oa_start;
}
public APC getApc() {
return apc;
}
public void setApc(APC apc) {
this.apc = apc;
}
public OtherCharges getOther_charges() {
return other_charges;
}
public void setOther_charges(OtherCharges other_charges) {
this.other_charges = other_charges;
}
public Integer getPublication_time_weeks() {
return publication_time_weeks;
}
public void setPublication_time_weeks(Integer publication_time_weeks) {
this.publication_time_weeks = publication_time_weeks;
}
public DepositPolicy getDeposit_policy() {
return deposit_policy;
}
public void setDeposit_policy(DepositPolicy deposit_policy) {
this.deposit_policy = deposit_policy;
}
public Publisher getPublisher() {
return publisher;
}
public void setPublisher(Publisher publisher) {
this.publisher = publisher;
}
public Boolean getBoai() {
return boai;
}
public void setBoai(Boolean boai) {
this.boai = boai;
}
public Waiver getWaiver() {
return waiver;
}
public void setWaiver(Waiver waiver) {
this.waiver = waiver;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Copyright implements Serializable {
private Boolean author_retains;
private String url;
public Boolean getAuthor_retains() {
return author_retains;
}
public void setAuthor_retains(Boolean author_retains) {
this.author_retains = author_retains;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}

View File

@ -0,0 +1,52 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class DOAJEntry implements Serializable {
private String last_updated;
private BibJson bibjson;
private Admin admin;
private String created_date;
private String id;
public String getLast_updated() {
return last_updated;
}
public void setLast_updated(String last_updated) {
this.last_updated = last_updated;
}
public BibJson getBibjson() {
return bibjson;
}
public void setBibjson(BibJson bibjson) {
this.bibjson = bibjson;
}
public Admin getAdmin() {
return admin;
}
public void setAdmin(Admin admin) {
this.admin = admin;
}
public String getCreated_date() {
return created_date;
}
public void setCreated_date(String created_date) {
this.created_date = created_date;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}

View File

@ -0,0 +1,35 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
public class DepositPolicy implements Serializable {
private List<String> service;
private String url;
private Boolean has_policy;
public List<String> getService() {
return service;
}
public void setService(List<String> service) {
this.service = service;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Boolean getHas_policy() {
return has_policy;
}
public void setHas_policy(Boolean has_policy) {
this.has_policy = has_policy;
}
}

View File

@ -0,0 +1,35 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
public class Editorial implements Serializable {
private List<String> review_process;
private String review_url;
private String board_url;
public List<String> getReview_process() {
return review_process;
}
public void setReview_process(List<String> review_process) {
this.review_process = review_process;
}
public String getReview_url() {
return review_url;
}
public void setReview_url(String review_url) {
this.review_url = review_url;
}
public String getBoard_url() {
return board_url;
}
public void setBoard_url(String board_url) {
this.board_url = board_url;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Institution implements Serializable {
private String country;
private String name;
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

View File

@ -0,0 +1,67 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;
public class License implements Serializable {
private Boolean nc;
private Boolean nd;
private Boolean by;
private String type;
private Boolean sa;
private String url;
public Boolean getnC() {
return nc;
}
@JsonProperty("NC")
public void setnC(Boolean NC) {
this.nc = NC;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Boolean getNd() {
return nd;
}
@JsonProperty("ND")
public void setNd(Boolean nd) {
this.nd = nd;
}
public Boolean getBy() {
return by;
}
@JsonProperty("BY")
public void setBy(Boolean by) {
this.by = by;
}
public Boolean getSa() {
return sa;
}
@JsonProperty("SA")
public void setSa(Boolean sa) {
this.sa = sa;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Max implements Serializable {
private Integer price;
private String currency;
public Integer getPrice() {
return price;
}
public void setPrice(Integer price) {
this.price = price;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class OtherCharges implements Serializable {
private Boolean has_other_charges;
private String url;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Boolean getHas_other_charges() {
return has_other_charges;
}
public void setHas_other_charges(Boolean has_other_charges) {
this.has_other_charges = has_other_charges;
}
}

View File

@ -0,0 +1,26 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
public class PidScheme implements Serializable {
private List<String> scheme;
private Boolean has_pid_scheme;
public List<String> getScheme() {
return scheme;
}
public void setScheme(List<String> scheme) {
this.scheme = scheme;
}
public Boolean getHas_pid_scheme() {
return has_pid_scheme;
}
public void setHas_pid_scheme(Boolean has_pid_scheme) {
this.has_pid_scheme = has_pid_scheme;
}
}

View File

@ -0,0 +1,27 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import javax.sql.rowset.serial.SerialArray;
public class Plagiarism implements Serializable {
private Boolean detection;
private String url;
public Boolean getDetection() {
return detection;
}
public void setDetection(Boolean detection) {
this.detection = detection;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}

View File

@ -0,0 +1,44 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
import java.util.List;
public class Preservation implements Serializable {
private Boolean has_preservation;
private List<String> service;
private List<String> national_library;
private String url;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Boolean getHas_preservation() {
return has_preservation;
}
public void setHas_preservation(Boolean has_preservation) {
this.has_preservation = has_preservation;
}
public List<String> getService() {
return service;
}
public void setService(List<String> service) {
this.service = service;
}
public List<String> getNational_library() {
return national_library;
}
public void setNational_library(List<String> national_library) {
this.national_library = national_library;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Publisher implements Serializable {
private String country;
private String name;
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}

View File

@ -0,0 +1,52 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Ref implements Serializable {
private String aims_scope;
private String journal;
private String oa_statement;
private String author_instructions;
private String license_terms;
public String getAims_scope() {
return aims_scope;
}
public void setAims_scope(String aims_scope) {
this.aims_scope = aims_scope;
}
public String getJournal() {
return journal;
}
public void setJournal(String journal) {
this.journal = journal;
}
public String getOa_statement() {
return oa_statement;
}
public void setOa_statement(String oa_statement) {
this.oa_statement = oa_statement;
}
public String getAuthor_instructions() {
return author_instructions;
}
public void setAuthor_instructions(String author_instructions) {
this.author_instructions = author_instructions;
}
public String getLicense_terms() {
return license_terms;
}
public void setLicense_terms(String license_terms) {
this.license_terms = license_terms;
}
}

View File

@ -0,0 +1,34 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Subject implements Serializable {
private String code;
private String scheme;
private String term;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getScheme() {
return scheme;
}
public void setScheme(String scheme) {
this.scheme = scheme;
}
public String getTerm() {
return term;
}
public void setTerm(String term) {
this.term = term;
}
}

View File

@ -0,0 +1,25 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model.doaj;
import java.io.Serializable;
public class Waiver implements Serializable {
private Boolean has_waiver;
private String url;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Boolean getHas_waiver() {
return has_waiver;
}
public void setHas_waiver(Boolean has_waiver) {
this.has_waiver = has_waiver;
}
}