package eu.dnetlib.dhp.schema.dump.oaf.graph; import java.io.Serializable; import java.util.List; import com.github.imifou.jsonschema.module.addon.annotation.JsonSchema; import eu.dnetlib.dhp.schema.dump.oaf.Country; /** * 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 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 pid to store the list of pids for the organization */ public class Organization implements Serializable { private String legalshortname; private String legalname; private String websiteurl; @JsonSchema(description="Alternative names that identify the organisation") private List alternativenames; @JsonSchema(description="The organisation country") private Country country; @JsonSchema(description="The OpenAIRE id for the organisation") private String id; @JsonSchema(description="Persistent identifiers for the organisation i.e. isni 0000000090326370") private List pid; 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 getAlternativenames() { return alternativenames; } public void setAlternativenames(List alternativenames) { this.alternativenames = alternativenames; } public Country getCountry() { return country; } public void setCountry(Country country) { this.country = country; } public String getId() { return id; } public void setId(String id) { this.id = id; } public List getPid() { return pid; } public void setPid(List pid) { this.pid = pid; } }