2020-03-27 10:42:17 +01:00
|
|
|
package eu.dnetlib.dhp.oa.provision.model;
|
2020-01-30 17:46:29 +01:00
|
|
|
|
2020-04-04 14:03:43 +02:00
|
|
|
import eu.dnetlib.dhp.oa.provision.utils.GraphMappingUtils;
|
2020-01-30 17:46:29 +01:00
|
|
|
import eu.dnetlib.dhp.schema.oaf.OafEntity;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
public class JoinedEntity implements Serializable {
|
|
|
|
|
2020-04-04 14:03:43 +02:00
|
|
|
private GraphMappingUtils.EntityType type;
|
2020-01-30 17:46:29 +01:00
|
|
|
|
|
|
|
private OafEntity entity;
|
|
|
|
|
2020-02-13 16:53:27 +01:00
|
|
|
private Links links;
|
2020-01-30 17:46:29 +01:00
|
|
|
|
2020-04-04 14:03:43 +02:00
|
|
|
public GraphMappingUtils.EntityType getType() {
|
2020-01-30 17:46:29 +01:00
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
2020-04-04 14:03:43 +02:00
|
|
|
public void setType(GraphMappingUtils.EntityType type) {
|
2020-01-30 17:46:29 +01:00
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public OafEntity getEntity() {
|
|
|
|
return entity;
|
|
|
|
}
|
|
|
|
|
2020-04-01 14:56:57 +02:00
|
|
|
public void setEntity(OafEntity entity) {
|
2020-01-30 17:46:29 +01:00
|
|
|
this.entity = entity;
|
|
|
|
}
|
|
|
|
|
2020-02-13 16:53:27 +01:00
|
|
|
public Links getLinks() {
|
2020-01-30 17:46:29 +01:00
|
|
|
return links;
|
|
|
|
}
|
|
|
|
|
2020-04-01 14:56:57 +02:00
|
|
|
public void setLinks(Links links) {
|
2020-01-30 17:46:29 +01:00
|
|
|
this.links = links;
|
|
|
|
}
|
|
|
|
}
|