2021-04-23 12:15:36 +02:00
|
|
|
|
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf.graph;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.List;
|
|
|
|
|
2021-11-18 09:16:59 +01:00
|
|
|
import com.github.imifou.jsonschema.module.addon.annotation.JsonSchema;
|
|
|
|
|
|
|
|
import eu.dnetlib.dhp.schema.dump.oaf.Country;
|
2021-04-23 12:15:36 +02:00
|
|
|
|
|
|
|
/**
|
2021-11-18 09:16:59 +01:00
|
|
|
* To represent the generic organizaiton. It has the following parameters:
|
|
|
|
* - private String legalshortname to store the legalshortname of the organizaiton
|
|
|
|
* - private String legalname to store the legal name of the organization
|
|
|
|
* - private String websiteurl to store the websiteurl of the organization
|
|
|
|
* - private List<String> alternativenames to store the alternative names of the organization
|
|
|
|
* - private Country country to store the country of the organization
|
|
|
|
* - private String id to store the openaire id of the organization
|
|
|
|
* - private List<OrganizationPid> pid to store the list of pids for the organization
|
2021-04-23 12:15:36 +02:00
|
|
|
*/
|
|
|
|
public class Organization implements Serializable {
|
|
|
|
private String legalshortname;
|
|
|
|
private String legalname;
|
|
|
|
private String websiteurl;
|
2021-11-18 09:16:59 +01:00
|
|
|
|
|
|
|
@JsonSchema(description="Alternative names that identify the organisation")
|
2021-04-23 12:15:36 +02:00
|
|
|
private List<String> alternativenames;
|
2021-11-18 09:16:59 +01:00
|
|
|
|
|
|
|
@JsonSchema(description="The organisation country")
|
|
|
|
private Country country;
|
|
|
|
|
|
|
|
@JsonSchema(description="The OpenAIRE id for the organisation")
|
2021-04-23 12:15:36 +02:00
|
|
|
private String id;
|
2021-11-18 09:16:59 +01:00
|
|
|
|
|
|
|
@JsonSchema(description="Persistent identifiers for the organisation i.e. isni 0000000090326370")
|
|
|
|
private List<OrganizationPid> pid;
|
2021-04-23 12:15:36 +02:00
|
|
|
|
|
|
|
public String getLegalshortname() {
|
|
|
|
return legalshortname;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLegalshortname(String legalshortname) {
|
|
|
|
this.legalshortname = legalshortname;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLegalname() {
|
|
|
|
return legalname;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLegalname(String legalname) {
|
|
|
|
this.legalname = legalname;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getWebsiteurl() {
|
|
|
|
return websiteurl;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setWebsiteurl(String websiteurl) {
|
|
|
|
this.websiteurl = websiteurl;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getAlternativenames() {
|
|
|
|
return alternativenames;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAlternativenames(List<String> alternativenames) {
|
|
|
|
this.alternativenames = alternativenames;
|
|
|
|
}
|
|
|
|
|
2021-11-18 09:16:59 +01:00
|
|
|
public Country getCountry() {
|
2021-04-23 12:15:36 +02:00
|
|
|
return country;
|
|
|
|
}
|
|
|
|
|
2021-11-18 09:16:59 +01:00
|
|
|
public void setCountry(Country country) {
|
2021-04-23 12:15:36 +02:00
|
|
|
this.country = country;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setId(String id) {
|
|
|
|
this.id = id;
|
|
|
|
}
|
|
|
|
|
2021-11-18 09:16:59 +01:00
|
|
|
public List<OrganizationPid> getPid() {
|
2021-04-23 12:15:36 +02:00
|
|
|
return pid;
|
|
|
|
}
|
|
|
|
|
2021-11-18 09:16:59 +01:00
|
|
|
public void setPid(List<OrganizationPid> pid) {
|
2021-04-23 12:15:36 +02:00
|
|
|
this.pid = pid;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2021-11-18 09:16:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
|