forked from D-Net/dnet-hadoop
Hosted By Map - refactoring
This commit is contained in:
parent
17292c6641
commit
327cddde33
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
package eu.dnetlib.dhp.oa.graph.hostedbymap.model;
|
package eu.dnetlib.dhp.oa.graph.hostedbymap.model;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
@ -9,8 +10,6 @@ public class EntityInfo implements Serializable {
|
||||||
private Boolean openaccess;
|
private Boolean openaccess;
|
||||||
private String hb_id;
|
private String hb_id;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
@ -51,12 +50,12 @@ public class EntityInfo implements Serializable {
|
||||||
this.hb_id = hb_id;
|
this.hb_id = hb_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EntityInfo newInstance(String id, String j_id, String name){
|
public static EntityInfo newInstance(String id, String j_id, String name) {
|
||||||
return newInstance(id, j_id, name, false);
|
return newInstance(id, j_id, name, false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EntityInfo newInstance(String id, String j_id, String name, Boolean openaccess){
|
public static EntityInfo newInstance(String id, String j_id, String name, Boolean openaccess) {
|
||||||
EntityInfo pi = new EntityInfo();
|
EntityInfo pi = new EntityInfo();
|
||||||
pi.id = id;
|
pi.id = id;
|
||||||
pi.journal_id = j_id;
|
pi.journal_id = j_id;
|
||||||
|
|
Loading…
Reference in New Issue