solr json payload model #30
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue