forked from D-Net/dnet-hadoop
24 lines
697 B
Java
24 lines
697 B
Java
package eu.dnetlib.dhp.schema.dump.oaf.graph;
|
|
|
|
import eu.dnetlib.dhp.schema.dump.oaf.Instance;
|
|
import eu.dnetlib.dhp.schema.dump.oaf.Result;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* It extends the eu.dnetlib.dhp.schema.dump.oaf.Result with
|
|
* - instance of type List<eu.dnetlib.dhp.schema.dump.oaf.Instance> to store all the instances associated
|
|
* to the result. It corresponds to the same parameter in the result represented in the internal model
|
|
*/
|
|
public class GraphResult extends Result {
|
|
private List<Instance> instance;
|
|
|
|
public List<Instance> getInstance() {
|
|
return instance;
|
|
}
|
|
|
|
public void setInstance(List<Instance> instance) {
|
|
this.instance = instance;
|
|
}
|
|
}
|