aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java37
1 files changed, 4 insertions, 33 deletions
diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java b/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java
index ce0657240a..e0542369c4 100644
--- a/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java
+++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java
@@ -17,7 +17,11 @@
package org.onap.config.type;
import org.onap.config.Constants;
+import lombok.Getter;
+import lombok.ToString;
+@ToString
+@Getter
public class ConfigurationQuery {
private String tenant = Constants.DEFAULT_TENANT;
@@ -75,37 +79,4 @@ public class ConfigurationQuery {
public String getNamespace() {
return namespace.toUpperCase();
}
-
- public String getKey() {
- return key;
- }
-
- public boolean isFallback() {
- return fallback;
- }
-
- public boolean isNodeSpecific() {
- return nodeSpecific;
- }
-
- public boolean isExternalLookup() {
- return externalLookup;
- }
-
- public boolean isLatest() {
- return latest;
- }
-
- @Override
- public String toString() {
- return "ConfigurationQuery{" +
- "tenant='" + tenant + '\'' +
- ", namespace='" + namespace + '\'' +
- ", key='" + key + '\'' +
- ", fallback=" + fallback +
- ", externalLookup=" + externalLookup +
- ", latest=" + latest +
- ", nodeSpecific=" + nodeSpecific +
- '}';
- }
}