1
0
Fork 0

refactoring due to compilation

This commit is contained in:
Miriam Baglioni 2020-08-24 17:03:06 +02:00
parent 8a069a4fea
commit bd5a72929b
3 changed files with 39 additions and 45 deletions

View File

@ -6,19 +6,15 @@ import java.util.List;
/** /**
* Represents the manifestations (i.e. different versions) of the result. For example: the pre-print and the published * Represents the manifestations (i.e. different versions) of the result. For example: the pre-print and the published
* versions are two manifestations of the same research result. It has the following parameters: * versions are two manifestations of the same research result. It has the following parameters: - license of type
* - license of type
* String to store the license applied to the instance. It corresponds to the value of the licence in the instance to be * String to store the license applied to the instance. It corresponds to the value of the licence in the instance to be
* dumped * dumped - accessright of type eu.dnetlib.dhp.schema.dump.oaf.AccessRight to store the accessright of the instance. -
* - accessright of type eu.dnetlib.dhp.schema.dump.oaf.AccessRight to store the accessright of the instance. * type of type String to store the type of the instance as defined in the corresponding dnet vocabulary
* - type of type String to store the type of the instance as defined in the corresponding dnet vocabulary * (dnet:pubication_resource). It corresponds to the instancetype.classname of the instance to be mapped - url of type
* (dnet:pubication_resource). It corresponds to the instancetype.classname of the instance to be mapped * List<String> list of locations where the instance is accessible. It corresponds to url of the instance to be dumped -
* - url of type List<String> list of locations where the instance * publicationdate of type String to store the publication date of the instance ;// dateofacceptance; - refereed of type
* is accessible. It corresponds to url of the instance to be dumped * String to store information abour tthe review status of the instance. Possible values are 'Unknown',
* - publicationdate of type String to store the * 'nonPeerReviewed', 'peerReviewed'. It corresponds to refereed.classname of the instance to be dumped
* publication date of the instance ;// dateofacceptance; - refereed of type String to store information abour tthe
* review status of the instance. Possible values are 'Unknown', 'nonPeerReviewed', 'peerReviewed'. It corresponds to
* refereed.classname of the instance to be dumped
*/ */
public class Instance implements Serializable { public class Instance implements Serializable {

View File

@ -4,11 +4,10 @@ package eu.dnetlib.dhp.schema.dump.oaf;
import java.io.Serializable; import java.io.Serializable;
/** /**
* This class to store the common information about the project that will be dumped for community and for the whole graph * This class to store the common information about the project that will be dumped for community and for the whole
* - private String id to store the id of the project (OpenAIRE id) * graph - private String id to store the id of the project (OpenAIRE id) - private String code to store the grant
* - private String code to store the grant agreement of the project * agreement of the project - private String acronym to store the acronym of the project - private String title to store
* - private String acronym to store the acronym of the project * the tile of the project
* - private String title to store the tile of the project
*/ */
public class Project implements Serializable { public class Project implements Serializable {
protected String id;// OpenAIRE id protected String id;// OpenAIRE id

View File

@ -34,37 +34,36 @@ import eu.dnetlib.dhp.schema.dump.oaf.community.Project;
* to the list of coverage.value in the result represented in the internal model - bestaccessright of type * to the list of coverage.value in the result represented in the internal model - bestaccessright of type
* eu.dnetlib.dhp.schema.dump.oaf.AccessRight to store informatin about the openest access right associated to the * eu.dnetlib.dhp.schema.dump.oaf.AccessRight to store informatin about the openest access right associated to the
* manifestations of this research results. It corresponds to the same parameter in the result represented in the * manifestations of this research results. It corresponds to the same parameter in the result represented in the
* internal model - container of * internal model - container of type eu.dnetlib.dhp.schema/dump.oaf.Container (only for result of type publication). It
* type eu.dnetlib.dhp.schema/dump.oaf.Container (only for result of type publication). It corresponds to the parameter * corresponds to the parameter journal of the result represented in the internal model - documentationUrl of type
* journal of the result represented in the internal model - documentationUrl of type List<String> (only for results of * List<String> (only for results of type software) to store the URLs to the software documentation. It corresponds to
* type software) to store the URLs to the software documentation. It corresponds to the list of documentationUrl.value * the list of documentationUrl.value of the result represented in the internal model - codeRepositoryUrl of type String
* of the result represented in the internal model - codeRepositoryUrl of type String (only for results of type * (only for results of type software) to store the URL to the repository with the source code. It corresponds to
* software) to store the URL to the repository with the source code. It corresponds to codeRepositoryUrl.value of the * codeRepositoryUrl.value of the result represented in the internal model - programmingLanguage of type String (only
* result represented in the internal model - programmingLanguage of type String (only for results of type software) to * for results of type software) to store the programming language. It corresponds to programmingLanguaga.classid of the
* store the programming language. It corresponds to programmingLanguaga.classid of the result represented in the * result represented in the internal model - contactperson of type List<String> (only for results of type other) to
* internal model - contactperson of type List<String> (only for results of type other) to store the contact person for * store the contact person for this result. It corresponds to the list of contactperson.value of the result represented
* this result. It corresponds to the list of contactperson.value of the result represented in the internal model - * in the internal model - contactgroup of type List<String> (only for results of type other) to store the information
* contactgroup of type List<String> (only for results of type other) to store the information for the contact group. It * for the contact group. It corresponds to the list of contactgroup.value of the result represented in the internal
* corresponds to the list of contactgroup.value of the result represented in the internal model - tool of type * model - tool of type List<String> (only fro results of type other) to store information about tool useful for the
* List<String> (only fro results of type other) to store information about tool useful for the interpretation and/or * interpretation and/or re-used of the research product. It corresponds to the list of tool.value in the result
* re-used of the research product. It corresponds to the list of tool.value in the result represented in the internal * represented in the internal modelt - size of type String (only for results of type dataset) to store the size of the
* modelt - size of type String (only for results of type dataset) to store the size of the dataset. It corresponds to * dataset. It corresponds to size.value in the result represented in the internal model - version of type String (only
* size.value in the result represented in the internal model - version of type String (only for results of type * for results of type dataset) to store the version. It corresponds to version.value of the result represented in the
* dataset) to store the version. It corresponds to version.value of the result represented in the internal model - * internal model - geolocation fo type List<eu.dnetlib.dhp.schema.dump.oaf.GeoLocation> (only for results of type
* geolocation fo type List<eu.dnetlib.dhp.schema.dump.oaf.GeoLocation> (only for results of type dataset) to store * dataset) to store geolocation information. For each geolocation element in the result represented in the internal
* geolocation information. For each geolocation element in the result represented in the internal model a GeoLocation * model a GeoLocation in the external model il produced - id of type String to store the OpenAIRE id of the result. It
* in the external model il produced - id of type String to store the OpenAIRE id of the result. It corresponds to the * corresponds to the id of the result represented in the internal model - originalId of type List<String> to store the
* id of the result represented in the internal model - originalId of type List<String> to store the original ids of the * original ids of the result. It corresponds to the originalId of the result represented in the internal model - pid of
* result. It corresponds to the originalId of the result represented in the internal model - pid of type * type List<eu.dnetlib.dhp.schema.dump.oaf.ControlledField> to store the persistent identifiers for the result. For
* List<eu.dnetlib.dhp.schema.dump.oaf.ControlledField> to store the persistent identifiers for the result. For each pid * each pid in the results represented in the internal model one pid in the external model is produced. The value
* in the results represented in the internal model one pid in the external model is produced. The value correspondence * correspondence is: - scheme corresponds to pid.qualifier.classid of the result represented in the internal model -
* is: - scheme corresponds to pid.qualifier.classid of the result represented in the internal model - value corresponds * value corresponds to the pid.value of the result represented in the internal model - dateofcollection of type String
* to the pid.value of the result represented in the internal model - dateofcollection of type String to store * to store information about the time OpenAIRE collected the record. It corresponds to dateofcollection of the result
* information about the time OpenAIRE collected the record. It corresponds to dateofcollection of the result
* represented in the internal model - lasteupdatetimestamp of type String to store the timestamp of the last update of * represented in the internal model - lasteupdatetimestamp of type String to store the timestamp of the last update of
* the record. It corresponds to lastupdatetimestamp of the resord represented in the internal model * the record. It corresponds to lastupdatetimestamp of the resord represented in the internal model
*/ */
public class Result implements Serializable { public class Result implements Serializable {
private List<Author> author; private List<Author> author;