Revision 48975
Added by Claudio Atzori almost 7 years ago
OpenaireExporterConfig.java | ||
---|---|---|
26 | 26 |
private Project project; |
27 | 27 |
private Jdbc jdbc; |
28 | 28 |
private Swagger swagger; |
29 |
private Vocabularies vocabularies; |
|
29 | 30 |
|
30 | 31 |
public static class Datasource { |
31 | 32 |
// MONGODB |
... | ... | |
284 | 285 |
} |
285 | 286 |
} |
286 | 287 |
|
288 |
public static class Vocabularies { |
|
289 |
private String countriesEndpoint; |
|
290 |
|
|
291 |
public String getCountriesEndpoint() { |
|
292 |
return countriesEndpoint; |
|
293 |
} |
|
294 |
|
|
295 |
public void setCountriesEndpoint(final String countriesEndpoint) { |
|
296 |
this.countriesEndpoint = countriesEndpoint; |
|
297 |
} |
|
298 |
} |
|
299 |
|
|
287 | 300 |
public ClassPathResource getFindSolrIndexUrl() { |
288 | 301 |
return findSolrIndexUrl; |
289 | 302 |
} |
... | ... | |
355 | 368 |
public void setSwagger(final Swagger swagger) { |
356 | 369 |
this.swagger = swagger; |
357 | 370 |
} |
371 |
|
|
372 |
public Vocabularies getVocabularies() { |
|
373 |
return vocabularies; |
|
374 |
} |
|
375 |
|
|
376 |
public void setVocabularies(final Vocabularies vocabularies) { |
|
377 |
this.vocabularies = vocabularies; |
|
378 |
} |
|
379 |
|
|
358 | 380 |
} |
Also available in: Unified diff
method listCountries returns also the country name picked from the vocabulary countries