|
|
|
@ -65,7 +65,7 @@ public class StockRecord extends Common{
|
|
|
|
|
@JsonProperty(Constants.BIOMASS_JSON_KEY)
|
|
|
|
|
@CustomField(key=Constants.BIOMASS_CUSTOM_KEY)
|
|
|
|
|
@TimeSeries
|
|
|
|
|
@Group(groupNameOverValue=Constants.BIOMASS_CUSTOM_KEY, prependSourceToGroupName=false)
|
|
|
|
|
// @Group(groupNameOverValue=Constants.BIOMASS_CUSTOM_KEY, prependSourceToGroupName=false)
|
|
|
|
|
@Valid
|
|
|
|
|
private List<TimeSeriesBean<String, String>> biomass;
|
|
|
|
|
|
|
|
|
@ -86,7 +86,7 @@ public class StockRecord extends Common{
|
|
|
|
|
@JsonProperty(Constants.STATE_AND_TREND_MARINE_RESOURCE_JSON_KEY)
|
|
|
|
|
@CustomField(key=Constants.STATE_AND_TREND_MARINE_RESOURCE_CUSTOM_KEY)
|
|
|
|
|
@TimeSeries
|
|
|
|
|
@Group(groupNameOverValue=Constants.STATE_AND_TREND_MARINE_RESOURCE_CUSTOM_KEY, prependSourceToGroupName=false)
|
|
|
|
|
@Group(groupNameOverValue="State and Trend of Marine Resource", prependSourceToGroupName=false)
|
|
|
|
|
@Valid
|
|
|
|
|
private List<TimeSeriesBean<String, Void>> narrativeState;
|
|
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ public class StockRecord extends Common{
|
|
|
|
|
@JsonProperty(Constants.SCIENTIFIC_ADVICE_JSON_KEY)
|
|
|
|
|
@CustomField(key=Constants.SCIENTIFIC_ADVICE_CUSTOM_KEY)
|
|
|
|
|
@Group(groupNameOverValue=Constants.SCIENTIFIC_ADVICE_CUSTOM_KEY, prependSourceToGroupName=false)
|
|
|
|
|
private List<String> scientificAdvice;
|
|
|
|
|
private List<TimeSeriesBean<String, Void>> scientificAdvice;
|
|
|
|
|
|
|
|
|
|
@JsonProperty(Constants.ASSESSOR_JSON_KEY)
|
|
|
|
|
@CustomField(key=Constants.ASSESSOR_CUSTOM_KEY)
|
|
|
|
@ -146,7 +146,7 @@ public class StockRecord extends Common{
|
|
|
|
|
List<TimeSeriesBean<String, String>> fishingPressure,
|
|
|
|
|
List<TimeSeriesBean<String, Void>> narrativeState,
|
|
|
|
|
List<TimeSeriesBean<String, Void>> faoState,
|
|
|
|
|
List<String> scientificAdvice, String assessor, Stock_Type type) {
|
|
|
|
|
List<TimeSeriesBean<String, Void>> scientificAdvice, String assessor, Stock_Type type) {
|
|
|
|
|
super();
|
|
|
|
|
this.stockName = stockName;
|
|
|
|
|
this.stockId = stockId;
|
|
|
|
@ -262,11 +262,11 @@ public class StockRecord extends Common{
|
|
|
|
|
this.narrativeState = narrativeState;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<String> getScientificAdvice() {
|
|
|
|
|
public List<TimeSeriesBean<String, Void>> getScientificAdvice() {
|
|
|
|
|
return scientificAdvice;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setScientificAdvice(List<String> scientificAdvice) {
|
|
|
|
|
public void setScientificAdvice(List<TimeSeriesBean<String, Void>> scientificAdvice) {
|
|
|
|
|
this.scientificAdvice = scientificAdvice;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|