diff --git a/CHANGELOG.md b/CHANGELOG.md
index be61fca..d7f6bae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [v1.0.1-SNAPSHOT] - 2021-07-30
+
+[#21890] Pass to mongoID
+Passed to gcube-bom 2.0.1
+
## [v1.0.0] - 2020-12-01
First release
diff --git a/pom.xml b/pom.xml
index db1475d..b359db2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
org.gcube.application
geoportal-data-common
- 1.0.0
+ 1.0.1-SNAPSHOT
GeoPortal Data Common is common library used by GUI components developed for GeoNA
@@ -41,7 +41,7 @@
org.gcube.distribution
gcube-bom
- 2.0.0
+ 2.0.1
pom
import
diff --git a/src/main/java/org/gcube/application/geoportalcommon/shared/GeoNaItemRef.java b/src/main/java/org/gcube/application/geoportalcommon/shared/GeoNaItemRef.java
index 6396bdf..4e3679e 100644
--- a/src/main/java/org/gcube/application/geoportalcommon/shared/GeoNaItemRef.java
+++ b/src/main/java/org/gcube/application/geoportalcommon/shared/GeoNaItemRef.java
@@ -2,13 +2,12 @@ package org.gcube.application.geoportalcommon.shared;
import java.io.Serializable;
-
/**
* The Class GeoNaItemRef.
*
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
*
- * Dec 1, 2020
+ * Dec 1, 2020
*/
public class GeoNaItemRef implements Serializable {
@@ -17,7 +16,8 @@ public class GeoNaItemRef implements Serializable {
*/
private static final long serialVersionUID = -7021431511279022193L;
- private Long itemId;
+ // this is the mongoID
+ private String itemId;
private String itemType;
private String itemName;
@@ -32,32 +32,22 @@ public class GeoNaItemRef implements Serializable {
}
/**
- * Instantiates a new geo na object.
+ * Instantiates a new geo na item ref.
*
* @param itemId the item id
* @param itemType the item type
*/
- public GeoNaItemRef(Long itemId, String itemType) {
+ public GeoNaItemRef(String itemId, String itemType) {
super();
this.itemId = itemId;
this.itemType = itemType;
}
- /**
- * Gets the item id.
- *
- * @return the item id
- */
- public Long getItemId() {
+ public String getItemId() {
return itemId;
}
- /**
- * Sets the item id.
- *
- * @param itemId the new item id
- */
- public void setItemId(Long itemId) {
+ public void setItemId(String itemId) {
this.itemId = itemId;
}
@@ -96,8 +86,6 @@ public class GeoNaItemRef implements Serializable {
public void setItemName(String itemName) {
this.itemName = itemName;
}
-
-
/**
* Gets the restricted link.
@@ -157,6 +145,4 @@ public class GeoNaItemRef implements Serializable {
return builder.toString();
}
-
-
}