summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2017-12-29 15:56:25 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-12-31 08:00:42 +0000
commitb76cb9e8b02129cdf2f5b0b2c30584dad75ba2aa (patch)
tree73860fa78beeb1575a551003b69233e86ab43a46 /openecomp-be/lib
parent948a102be66b9a65652ba9c44249a726b6b00f7b (diff)
Default constructors in nosqldb-api module
Change-Id: I94f0828f73ad68c844bd984f04aa5d11e8cda1e7 Issue-ID: SDC-343 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be/lib')
-rw-r--r--openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-api/src/main/java/org/openecomp/core/dao/types/UniqueValueEntity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-api/src/main/java/org/openecomp/core/dao/types/UniqueValueEntity.java b/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-api/src/main/java/org/openecomp/core/dao/types/UniqueValueEntity.java
index 1147644253..5c3d300044 100644
--- a/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-api/src/main/java/org/openecomp/core/dao/types/UniqueValueEntity.java
+++ b/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-api/src/main/java/org/openecomp/core/dao/types/UniqueValueEntity.java
@@ -32,7 +32,13 @@ public class UniqueValueEntity {
@PartitionKey(value = 1)
private String value;
+ /**
+ * Every entity class must have a default constructor according to
+ * <a href="http://docs.datastax.com/en/developer/java-driver/2.1/manual/object_mapper/creating/">
+ * Definition of mapped classes</a>.
+ */
public UniqueValueEntity() {
+ // Don't delete! Default constructor is required by DataStax driver
}
public UniqueValueEntity(String type, String value) {