WIP: updated alternative titles definition

This commit is contained in:
Claudio Atzori 2024-03-04 10:58:35 +01:00
parent db99c7f113
commit da06e17041
1 changed files with 6 additions and 6 deletions

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() {