contains the specialized instance parameter for the dump of the result in the whole graph

This commit is contained in:
Miriam Baglioni 2020-08-19 11:44:46 +02:00
parent f5bae426f7
commit 4584cf6334
1 changed files with 20 additions and 1 deletions

View File

@ -1,4 +1,23 @@
package eu.dnetlib.dhp.schema.dump.oaf.graph; package eu.dnetlib.dhp.schema.dump.oaf.graph;
public class GraphResult { 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;
}
} }