dnet-hadoop/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/model/JoinedEntity.java

40 lines
794 B
Java
Raw Normal View History

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;
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;
}
public void setEntity(OafEntity entity) {
2020-01-30 17:46:29 +01:00
this.entity = entity;
}
public Links getLinks() {
2020-01-30 17:46:29 +01:00
return links;
}
public void setLinks(Links links) {
2020-01-30 17:46:29 +01:00
this.links = links;
}
}