Added Historic flag and start time to request bean
This commit is contained in:
parent
e33963871a
commit
d030d93020
|
@ -16,6 +16,24 @@ public class CSVExportRequest {
|
|||
private Set<String> speciesIds=new HashSet<>();
|
||||
private Set<String> periods=new HashSet<>();
|
||||
|
||||
|
||||
private Boolean includeHistoric=false;
|
||||
private Integer startYear=0;
|
||||
|
||||
public Boolean getIncludeHistoric() {
|
||||
return includeHistoric;
|
||||
}
|
||||
|
||||
public Integer getStartYear() {
|
||||
return startYear;
|
||||
}
|
||||
public void setIncludeHistoric(Boolean includeHistoric) {
|
||||
this.includeHistoric = includeHistoric;
|
||||
}
|
||||
public void setStartYear(Integer startYear) {
|
||||
this.startYear = startYear;
|
||||
}
|
||||
|
||||
public Set<String> getAreas() {
|
||||
return areas;
|
||||
}
|
||||
|
@ -74,12 +92,15 @@ public class CSVExportRequest {
|
|||
periods.addAll(toAdd);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CSVExportRequest [type=" + type + ", farmIds=" + farmIds + ", quarters=" + quarters + ", areas=" + areas
|
||||
+ ", speciesIds=" + speciesIds + ", periods=" + periods + "]";
|
||||
+ ", speciesIds=" + speciesIds + ", periods=" + periods + ", includeHistoric=" + includeHistoric
|
||||
+ ", startYear=" + startYear + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue