2019-06-19 12:03:25 +02:00
|
|
|
package eu.dnetlib.enabling.datasources.common;
|
|
|
|
|
|
|
|
public class BrowseTermImpl implements BrowseTerm {
|
|
|
|
|
2019-10-02 17:32:21 +02:00
|
|
|
private String code;
|
2019-06-19 12:03:25 +02:00
|
|
|
private String term;
|
|
|
|
private long total;
|
|
|
|
|
|
|
|
public BrowseTermImpl() {}
|
|
|
|
|
2019-10-02 17:32:21 +02:00
|
|
|
public BrowseTermImpl(final String code, final String term, final int total) {
|
|
|
|
this.code = code;
|
2019-06-19 12:03:25 +02:00
|
|
|
this.term = term;
|
|
|
|
this.total = total;
|
|
|
|
}
|
|
|
|
|
2019-10-02 17:32:21 +02:00
|
|
|
@Override
|
|
|
|
public String getCode() {
|
|
|
|
return code;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setCode(final String code) {
|
|
|
|
this.code = code;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2019-06-19 12:03:25 +02:00
|
|
|
public String getTerm() {
|
|
|
|
return term;
|
|
|
|
}
|
|
|
|
|
2019-10-02 17:32:21 +02:00
|
|
|
@Override
|
2019-06-19 12:03:25 +02:00
|
|
|
public void setTerm(final String term) {
|
|
|
|
this.term = term;
|
|
|
|
}
|
|
|
|
|
2019-10-02 17:32:21 +02:00
|
|
|
@Override
|
2019-06-19 12:03:25 +02:00
|
|
|
public long getTotal() {
|
|
|
|
return total;
|
|
|
|
}
|
|
|
|
|
2019-10-02 17:32:21 +02:00
|
|
|
@Override
|
2019-06-19 12:03:25 +02:00
|
|
|
public void setTotal(final long total) {
|
|
|
|
this.total = total;
|
|
|
|
}
|
|
|
|
}
|