[#21890] Passed to mongoID. Component moved to 1.0.1-SNAPSHOT
This commit is contained in:
parent
fd4aa2e9a3
commit
9672681179
|
@ -4,6 +4,11 @@
|
||||||
All notable changes to this project will be documented in this file.
|
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).
|
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
|
## [v1.0.0] - 2020-12-01
|
||||||
|
|
||||||
First release
|
First release
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.application</groupId>
|
<groupId>org.gcube.application</groupId>
|
||||||
<artifactId>geoportal-data-common</artifactId>
|
<artifactId>geoportal-data-common</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.1-SNAPSHOT</version>
|
||||||
<description>GeoPortal Data Common is common library used by GUI components developed for GeoNA</description>
|
<description>GeoPortal Data Common is common library used by GUI components developed for GeoNA</description>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>gcube-bom</artifactId>
|
<artifactId>gcube-bom</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>2.0.1</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -2,13 +2,12 @@ package org.gcube.application.geoportalcommon.shared;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Class GeoNaItemRef.
|
* The Class GeoNaItemRef.
|
||||||
*
|
*
|
||||||
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
||||||
*
|
*
|
||||||
* Dec 1, 2020
|
* Dec 1, 2020
|
||||||
*/
|
*/
|
||||||
public class GeoNaItemRef implements Serializable {
|
public class GeoNaItemRef implements Serializable {
|
||||||
|
|
||||||
|
@ -17,7 +16,8 @@ public class GeoNaItemRef implements Serializable {
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -7021431511279022193L;
|
private static final long serialVersionUID = -7021431511279022193L;
|
||||||
|
|
||||||
private Long itemId;
|
// this is the mongoID
|
||||||
|
private String itemId;
|
||||||
private String itemType;
|
private String itemType;
|
||||||
private String itemName;
|
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 itemId the item id
|
||||||
* @param itemType the item type
|
* @param itemType the item type
|
||||||
*/
|
*/
|
||||||
public GeoNaItemRef(Long itemId, String itemType) {
|
public GeoNaItemRef(String itemId, String itemType) {
|
||||||
super();
|
super();
|
||||||
this.itemId = itemId;
|
this.itemId = itemId;
|
||||||
this.itemType = itemType;
|
this.itemType = itemType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
public String getItemId() {
|
||||||
* Gets the item id.
|
|
||||||
*
|
|
||||||
* @return the item id
|
|
||||||
*/
|
|
||||||
public Long getItemId() {
|
|
||||||
return itemId;
|
return itemId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
public void setItemId(String itemId) {
|
||||||
* Sets the item id.
|
|
||||||
*
|
|
||||||
* @param itemId the new item id
|
|
||||||
*/
|
|
||||||
public void setItemId(Long itemId) {
|
|
||||||
this.itemId = itemId;
|
this.itemId = itemId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,8 +86,6 @@ public class GeoNaItemRef implements Serializable {
|
||||||
public void setItemName(String itemName) {
|
public void setItemName(String itemName) {
|
||||||
this.itemName = itemName;
|
this.itemName = itemName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the restricted link.
|
* Gets the restricted link.
|
||||||
|
@ -157,6 +145,4 @@ public class GeoNaItemRef implements Serializable {
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue