2020-02-13 16:53:27 +01:00
|
|
|
package eu.dnetlib.dhp.graph.model;
|
2020-01-30 17:46:29 +01:00
|
|
|
|
|
|
|
import eu.dnetlib.dhp.schema.oaf.OafEntity;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
public class JoinedEntity implements Serializable {
|
|
|
|
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
private OafEntity entity;
|
|
|
|
|
2020-02-13 16:53:27 +01:00
|
|
|
private Links links;
|
2020-01-30 17:46:29 +01:00
|
|
|
|
|
|
|
public String getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public JoinedEntity setType(String type) {
|
|
|
|
this.type = type;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public OafEntity getEntity() {
|
|
|
|
return entity;
|
|
|
|
}
|
|
|
|
|
|
|
|
public JoinedEntity setEntity(OafEntity entity) {
|
|
|
|
this.entity = entity;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2020-02-13 16:53:27 +01:00
|
|
|
public Links getLinks() {
|
2020-01-30 17:46:29 +01:00
|
|
|
return links;
|
|
|
|
}
|
|
|
|
|
2020-02-13 16:53:27 +01:00
|
|
|
public JoinedEntity setLinks(Links links) {
|
2020-01-30 17:46:29 +01:00
|
|
|
this.links = links;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|