2021-04-23 12:15:36 +02:00
package eu.dnetlib.dhp.schema.dump.oaf.graph ;
import java.util.List ;
2021-11-18 09:16:59 +01:00
import com.github.imifou.jsonschema.module.addon.annotation.JsonSchema ;
2021-04-23 12:15:36 +02:00
import eu.dnetlib.dhp.schema.dump.oaf.Instance ;
import eu.dnetlib.dhp.schema.dump.oaf.Result ;
/ * *
* 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 {
2021-11-18 09:16:59 +01:00
@JsonSchema ( description = " Each instance is one specific materialisation or version of the result. For example, you can have one result with three instance: one is the pre-print, one is the post-print, one is te published version " )
2021-04-23 12:15:36 +02:00
private List < Instance > instance ;
public List < Instance > getInstance ( ) {
return instance ;
}
public void setInstance ( List < Instance > instance ) {
this . instance = instance ;
}
}