updated the definition of the new fields

This commit is contained in:
Michele Artini 2021-07-27 11:20:45 +02:00
parent 937a6550c0
commit 08bab501dc
1 changed files with 18 additions and 18 deletions

View File

@ -91,22 +91,22 @@ public class Datasource extends OafEntity implements Serializable {
private Journal journal; private Journal journal;
// New field for EOSC // New field for EOSC
private List<Field<String>> providedentitytypes; private List<String> providedentitytypes;
// New field for EOSC // New field for EOSC
private List<Field<String>> providedproducttypes; private List<String> providedproducttypes;
// New field for EOSC // New field for EOSC
private Field<String> jurisdiction; private Qualifier jurisdiction;
// New field for EOSC // New field for EOSC
private Field<Boolean> thematic; private Boolean thematic;
// New field for EOSC // New field for EOSC
private Field<Boolean> knowledgegraph; private Boolean knowledgegraph;
// New field for EOSC // New field for EOSC
private List<Field<String>> contentpolicies; private List<Qualifier> contentpolicies;
public Qualifier getDatasourcetype() { public Qualifier getDatasourcetype() {
return datasourcetype; return datasourcetype;
@ -396,51 +396,51 @@ public class Datasource extends OafEntity implements Serializable {
this.journal = journal; this.journal = journal;
} }
public List<Field<String>> getProvidedentitytypes() { public List<String> getProvidedentitytypes() {
return providedentitytypes; return providedentitytypes;
} }
public void setProvidedentitytypes(final List<Field<String>> providedentitytypes) { public void setProvidedentitytypes(final List<String> providedentitytypes) {
this.providedentitytypes = providedentitytypes; this.providedentitytypes = providedentitytypes;
} }
public List<Field<String>> getProvidedproducttypes() { public List<String> getProvidedproducttypes() {
return providedproducttypes; return providedproducttypes;
} }
public void setProvidedproducttypes(final List<Field<String>> providedproducttypes) { public void setProvidedproducttypes(final List<String> providedproducttypes) {
this.providedproducttypes = providedproducttypes; this.providedproducttypes = providedproducttypes;
} }
public Field<String> getJurisdiction() { public Qualifier getJurisdiction() {
return jurisdiction; return jurisdiction;
} }
public void setJurisdiction(final Field<String> jurisdiction) { public void setJurisdiction(final Qualifier jurisdiction) {
this.jurisdiction = jurisdiction; this.jurisdiction = jurisdiction;
} }
public Field<Boolean> getThematic() { public Boolean getThematic() {
return thematic; return thematic;
} }
public void setThematic(final Field<Boolean> thematic) { public void setThematic(final Boolean thematic) {
this.thematic = thematic; this.thematic = thematic;
} }
public Field<Boolean> getKnowledgegraph() { public Boolean getKnowledgegraph() {
return knowledgegraph; return knowledgegraph;
} }
public void setKnowledgegraph(final Field<Boolean> knowledgegraph) { public void setKnowledgegraph(final Boolean knowledgegraph) {
this.knowledgegraph = knowledgegraph; this.knowledgegraph = knowledgegraph;
} }
public List<Field<String>> getContentpolicies() { public List<Qualifier> getContentpolicies() {
return contentpolicies; return contentpolicies;
} }
public void setContentpolicies(final List<Field<String>> contentpolicies) { public void setContentpolicies(final List<Qualifier> contentpolicies) {
this.contentpolicies = contentpolicies; this.contentpolicies = contentpolicies;
} }