hostedbymap #136

Merged
claudio.atzori merged 60 commits from hostedbymap into beta 2021-08-12 17:10:55 +02:00
1 changed files with 0 additions and 72 deletions
Showing only changes of commit 461b8a29a0 - Show all commits

View File

@ -1,72 +0,0 @@
package eu.dnetlib.dhp.oa.graph.hostedbymap.model;
import java.io.Serializable;
public class DatasourceInfo implements Serializable {
private String id;
private String officialname;
private String issn;
private String eissn;
private String lissn;
private Boolean openAccess;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getOfficialname() {
return officialname;
}
public void setOfficialname(String officialname) {
this.officialname = officialname;
}
public String getIssn() {
return issn;
}
public void setIssn(String issn) {
this.issn = issn;
}
public String getEissn() {
return eissn;
}
public void setEissn(String eissn) {
this.eissn = eissn;
}
public String getLissn() {
return lissn;
}
public void setLissn(String lissn) {
this.lissn = lissn;
}
public Boolean getOpenAccess() {
return openAccess;
}
public void setOpenAccess(Boolean openAccess) {
this.openAccess = openAccess;
}
public static DatasourceInfo newInstance(String id, String officialname, String issn, String eissn, String lissn){
DatasourceInfo di = new DatasourceInfo();
di.id = id;
di.officialname = officialname;
di.issn = (issn != null) ? issn : "" ;
di.eissn = (eissn != null) ? eissn:"";
di.lissn = (lissn != null) ? lissn : "";
di.openAccess = false;
return di;
}
}