solr json payload model #30

Merged
claudio.atzori merged 6 commits from solr_json_model into master 2024-03-22 10:20:37 +01:00
1 changed files with 6 additions and 6 deletions
Showing only changes of commit da06e17041 - Show all commits

View File

@ -38,9 +38,9 @@ public class Result implements Serializable {
private String maintitle; private String maintitle;
/** /**
* Explanatory or alternative name by which a scientific result is known. * Explanatory or alternative names by which a scientific result is known.
*/ */
private String subtitle; private List<String> otherTitles;
private List<String> description; private List<String> description;
@ -211,12 +211,12 @@ public class Result implements Serializable {
this.maintitle = maintitle; this.maintitle = maintitle;
} }
public String getSubtitle() { public List<String> getOtherTitles() {
return subtitle; return otherTitles;
} }
public void setSubtitle(String subtitle) { public void setOtherTitles(List<String> otherTitles) {
this.subtitle = subtitle; this.otherTitles = otherTitles;
} }
public List<String> getDescription() { public List<String> getDescription() {