summaryrefslogtreecommitdiffstats
path: root/openecomp-be
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2017-12-29 15:36:35 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-12-31 08:01:01 +0000
commited9d494caf774e4340bf9ac0fbf4e4436ef9750e (patch)
tree579a338d85855131c7a3d9dc469cddeac97d2664 /openecomp-be
parentb76cb9e8b02129cdf2f5b0b2c30584dad75ba2aa (diff)
Fixed default constructor in config-lib module
Change-Id: Iae1758b963141df4f6369672d219348242ec796e Issue-ID: SDC-343 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be')
-rw-r--r--openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java b/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java
index c73ce36744..b1382b4655 100644
--- a/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java
+++ b/openecomp-be/lib/openecomp-core-lib/openecomp-config-lib/src/main/java/org/openecomp/core/utilities/applicationconfig/dao/type/ApplicationConfigEntity.java
@@ -35,6 +35,15 @@ public class ApplicationConfigEntity {
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 ApplicationConfigEntity() {
+ // Don't delete! Default constructor is required by DataStax driver
+ }
+
+ /**
* Instantiates a new Application config entity.
*
* @param namespace the namespace
@@ -47,11 +56,6 @@ public class ApplicationConfigEntity {
this.value = value;
}
-
- public ApplicationConfigEntity() {
- }
-
-
public String getNamespace() {
return namespace;
}