2020-07-24 17:21:48 +02:00
|
|
|
|
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf.community;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
|
|
|
|
import eu.dnetlib.dhp.schema.dump.oaf.Result;
|
|
|
|
|
2020-08-13 17:06:49 +02:00
|
|
|
/**
|
2020-08-13 18:23:24 +02:00
|
|
|
* extends eu.dnetlib.dhp.schema.dump.oaf.Result with the following parameters: - projects of type
|
|
|
|
* List<eu.dnetlib.dhp.schema.dump.oaf.community.Project> to store the list of projects related to the result. The
|
|
|
|
* information is added after the result is mapped to the external model - context of type
|
2020-08-19 11:46:20 +02:00
|
|
|
* List<eu.dnetlib.dhp.schema.dump.oaf.community.Context> to store information about the RC RI related to the result.
|
2020-08-13 18:23:24 +02:00
|
|
|
* For each context in the result represented in the internal model one context in the external model is produced -
|
|
|
|
* collectedfrom of type List<eu.dnetliv.dhp.schema.dump.oaf.KeyValue> to store information about the sources from which
|
|
|
|
* the record has been collected. For each collectedfrom in the result represented in the internal model one
|
2020-08-24 17:05:50 +02:00
|
|
|
* collectedfrom in the external model is produced - instance of type
|
|
|
|
* List<eu.dnetlib.dhp.schema.dump.oaf.community.CommunityInstance> to store all the instances associated to the result.
|
|
|
|
* It corresponds to the same parameter in the result represented in the internal model
|
2020-08-13 17:06:49 +02:00
|
|
|
*/
|
2020-07-24 17:21:48 +02:00
|
|
|
public class CommunityResult extends Result {
|
|
|
|
|
|
|
|
private List<Project> projects;
|
|
|
|
|
|
|
|
private List<Context> context;
|
|
|
|
|
|
|
|
protected List<KeyValue> collectedfrom;
|
|
|
|
|
2020-08-24 17:05:50 +02:00
|
|
|
private List<CommunityInstance> instance;
|
2020-08-19 11:46:20 +02:00
|
|
|
|
|
|
|
public List<CommunityInstance> getInstance() {
|
|
|
|
return instance;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setInstance(List<CommunityInstance> instance) {
|
|
|
|
this.instance = instance;
|
|
|
|
}
|
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
public List<KeyValue> getCollectedfrom() {
|
|
|
|
return collectedfrom;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCollectedfrom(List<KeyValue> collectedfrom) {
|
|
|
|
this.collectedfrom = collectedfrom;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<Project> getProjects() {
|
|
|
|
return projects;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setProjects(List<Project> projects) {
|
|
|
|
this.projects = projects;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<Context> getContext() {
|
|
|
|
return context;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setContext(List<Context> context) {
|
|
|
|
this.context = context;
|
|
|
|
}
|
2020-08-13 17:06:49 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
}
|