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