Added biomass to stock endpoint for GRSF-Publication-Service refs #11464
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@165290 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3176df2f47
commit
2cf5b685b0
|
@ -59,6 +59,12 @@ public class StockRecord extends Common{
|
|||
@Valid
|
||||
private List<TimeSeriesBean<String, String>> abundanceLevel;
|
||||
|
||||
@JsonProperty(Constants.BIOMASS_JSON_KEY)
|
||||
@CustomField(key=Constants.BIOMASS_CUSTOM_KEY)
|
||||
@TimeSeries
|
||||
@Valid
|
||||
private List<TimeSeriesBean<String, String>> biomass;
|
||||
|
||||
@JsonProperty(Constants.FISHING_PRESSURE_FIRMS_JSON_KEY)
|
||||
@CustomField(key=Constants.FISHING_PRESSURE_FIRMS_CUSTOM_KEY)
|
||||
@TimeSeries
|
||||
|
@ -126,6 +132,7 @@ public class StockRecord extends Common{
|
|||
List<String> assessmentMethods,
|
||||
List<TimeSeriesBean<Abundance_Level, Void>> abundanceLevelStandard,
|
||||
List<TimeSeriesBean<String, String>> abundanceLevel,
|
||||
List<TimeSeriesBean<String, String>> biomass,
|
||||
List<TimeSeriesBean<Fishing_Pressure, Void>> fishingPressureStandard,
|
||||
List<TimeSeriesBean<String, String>> fishingPressure,
|
||||
List<TimeSeriesBean<String, Void>> narrativeState,
|
||||
|
@ -139,6 +146,7 @@ public class StockRecord extends Common{
|
|||
this.assessmentMethods = assessmentMethods;
|
||||
this.abundanceLevelStandard = abundanceLevelStandard;
|
||||
this.abundanceLevel = abundanceLevel;
|
||||
this.biomass = biomass;
|
||||
this.fishingPressureStandard = fishingPressureStandard;
|
||||
this.fishingPressure = fishingPressure;
|
||||
this.narrativeState = narrativeState;
|
||||
|
@ -228,6 +236,15 @@ public class StockRecord extends Common{
|
|||
this.abundanceLevel = abundanceLevel;
|
||||
}
|
||||
|
||||
public List<TimeSeriesBean<String, String>> getBiomass() {
|
||||
return biomass;
|
||||
}
|
||||
|
||||
public void setBiomass(
|
||||
List<TimeSeriesBean<String, String>> biomass) {
|
||||
this.biomass = biomass;
|
||||
}
|
||||
|
||||
public List<TimeSeriesBean<String, Void>> getNarrativeState() {
|
||||
return narrativeState;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue