diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/graph/Datasource.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/graph/Datasource.java new file mode 100644 index 0000000000..d5b1731bfa --- /dev/null +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/graph/Datasource.java @@ -0,0 +1,300 @@ + +package eu.dnetlib.dhp.schema.dump.oaf.graph; + +import java.io.Serializable; +import java.util.List; + +import eu.dnetlib.dhp.schema.dump.oaf.Container; +import eu.dnetlib.dhp.schema.dump.oaf.ControlledField; +import eu.dnetlib.dhp.schema.dump.oaf.KeyValue; + +public class Datasource implements Serializable { + + private String id; // string + + private List originalId; // list string + + private List pid; // list + + private ControlledField datasourcetype; // value + + private String openairecompatibility; // value + + private String officialname; // string + + private String englishname; // string + + private String websiteurl; // string + + private String logourl; // string + + private String dateofvalidation; // string + + private String description; // description + + private List subjects; // List + + // opendoar specific fields (od*) + // private String policies; //odpolicies string + + private List languages; // odlanguages List + + private List contenttypes; // odcontent types List + + // re3data fields + private String releasestartdate; // string + + private String releaseenddate; // string + + private String missionstatementurl; // string + + // {open, restricted or closed} + private String accessrights; // databaseaccesstype string + + // {open, restricted or closed} + private String uploadrights; // datauploadtype string + + // {feeRequired, registration, other} + private String databaseaccessrestriction; // string + + // {feeRequired, registration, other} + private String datauploadrestriction; // string + + private Boolean versioning; // boolean + + private String citationguidelineurl; // string + + // {yes, no, uknown} + + private String pidsystems; // string + + private String certificates; // string + + private List policies; // + + private Container journal; // issn etc del Journal + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public List getOriginalId() { + return originalId; + } + + public void setOriginalId(List originalId) { + this.originalId = originalId; + } + + public List getPid() { + return pid; + } + + public void setPid(List pid) { + this.pid = pid; + } + + public ControlledField getDatasourcetype() { + return datasourcetype; + } + + public void setDatasourcetype(ControlledField datasourcetype) { + this.datasourcetype = datasourcetype; + } + + public String getOpenairecompatibility() { + return openairecompatibility; + } + + public void setOpenairecompatibility(String openairecompatibility) { + this.openairecompatibility = openairecompatibility; + } + + public String getOfficialname() { + return officialname; + } + + public void setOfficialname(String officialname) { + this.officialname = officialname; + } + + public String getEnglishname() { + return englishname; + } + + public void setEnglishname(String englishname) { + this.englishname = englishname; + } + + public String getWebsiteurl() { + return websiteurl; + } + + public void setWebsiteurl(String websiteurl) { + this.websiteurl = websiteurl; + } + + public String getLogourl() { + return logourl; + } + + public void setLogourl(String logourl) { + this.logourl = logourl; + } + + public String getDateofvalidation() { + return dateofvalidation; + } + + public void setDateofvalidation(String dateofvalidation) { + this.dateofvalidation = dateofvalidation; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getSubjects() { + return subjects; + } + + public void setSubjects(List subjects) { + this.subjects = subjects; + } + +// public String getPolicies() { +// return policies; +// } +// +// public void setPolicies(String policies) { +// this.policies = policies; +// } + + public List getLanguages() { + return languages; + } + + public void setLanguages(List languages) { + this.languages = languages; + } + + public List getContenttypes() { + return contenttypes; + } + + public void setContenttypes(List contenttypes) { + this.contenttypes = contenttypes; + } + + public String getReleasestartdate() { + return releasestartdate; + } + + public void setReleasestartdate(String releasestartdate) { + this.releasestartdate = releasestartdate; + } + + public String getReleaseenddate() { + return releaseenddate; + } + + public void setReleaseenddate(String releaseenddate) { + this.releaseenddate = releaseenddate; + } + + public String getMissionstatementurl() { + return missionstatementurl; + } + + public void setMissionstatementurl(String missionstatementurl) { + this.missionstatementurl = missionstatementurl; + } + + public String getAccessrights() { + return accessrights; + } + + public void setAccessrights(String accessrights) { + this.accessrights = accessrights; + } + + public String getUploadrights() { + return uploadrights; + } + + public void setUploadrights(String uploadrights) { + this.uploadrights = uploadrights; + } + + public String getDatabaseaccessrestriction() { + return databaseaccessrestriction; + } + + public void setDatabaseaccessrestriction(String databaseaccessrestriction) { + this.databaseaccessrestriction = databaseaccessrestriction; + } + + public String getDatauploadrestriction() { + return datauploadrestriction; + } + + public void setDatauploadrestriction(String datauploadrestriction) { + this.datauploadrestriction = datauploadrestriction; + } + + public Boolean getVersioning() { + return versioning; + } + + public void setVersioning(Boolean versioning) { + this.versioning = versioning; + } + + public String getCitationguidelineurl() { + return citationguidelineurl; + } + + public void setCitationguidelineurl(String citationguidelineurl) { + this.citationguidelineurl = citationguidelineurl; + } + + public String getPidsystems() { + return pidsystems; + } + + public void setPidsystems(String pidsystems) { + this.pidsystems = pidsystems; + } + + public String getCertificates() { + return certificates; + } + + public void setCertificates(String certificates) { + this.certificates = certificates; + } + + public List getPolicies() { + return policies; + } + + public void setPolicies(List policiesr3) { + this.policies = policiesr3; + } + + public Container getJournal() { + return journal; + } + + public void setJournal(Container journal) { + this.journal = journal; + } +}