contains the specialized instance parameter for the dump of the result in the whole graph
This commit is contained in:
parent
f5bae426f7
commit
4584cf6334
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue