minor fix for stockId field/name

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@142736 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2017-02-19 15:40:19 +00:00
parent 34e34c84af
commit 076534d455
1 changed files with 7 additions and 7 deletions

View File

@ -31,8 +31,8 @@ public class StockRecord extends Common{
private String stockName; private String stockName;
@JsonProperty("stock_id") @JsonProperty("stock_id")
@CustomField(key="Stock Id") @CustomField(key="Stock id")
private String stockID; private String stockId;
@JsonProperty("species") @JsonProperty("species")
@CustomField(key="Species") @CustomField(key="Species")
@ -143,7 +143,7 @@ public class StockRecord extends Common{
*/ */
public StockRecord( public StockRecord(
String stockName, String stockName,
String stockID, String stockId,
List<String> species, List<String> species,
List<String> area, List<String> area,
List<String> exploitingFishery, List<String> exploitingFishery,
@ -159,7 +159,7 @@ public class StockRecord extends Common{
List<String> waterArea, Stock_Type type) { List<String> waterArea, Stock_Type type) {
super(); super();
this.stockName = stockName; this.stockName = stockName;
this.stockID = stockID; this.stockId = stockId;
this.species = species; this.species = species;
this.area = area; this.area = area;
this.exploitingFishery = exploitingFishery; this.exploitingFishery = exploitingFishery;
@ -211,11 +211,11 @@ public class StockRecord extends Common{
} }
public String getStockID() { public String getStockID() {
return stockID; return stockId;
} }
public void setStockID(String stockID) { public void setStockID(String stockID) {
this.stockID = stockID; this.stockId = stockID;
} }
public List<String> getSpecies() { public List<String> getSpecies() {
@ -328,7 +328,7 @@ public class StockRecord extends Common{
@Override @Override
public String toString() { public String toString() {
return "StockRecord [stockName=" + stockName + ", stockID=" + stockID return "StockRecord [stockName=" + stockName + ", stockId=" + stockId
+ ", species=" + species + ", area=" + area + ", species=" + species + ", area=" + area
+ ", exploitingFishery=" + exploitingFishery + ", exploitingFishery=" + exploitingFishery
+ ", managementEntity=" + managementEntity + ", managementEntity=" + managementEntity