summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSindhuri.A <arcot.sindhuri@huawei.com>2019-04-19 14:15:08 +0530
committerSindhuri.A <arcot.sindhuri@huawei.com>2019-04-19 14:15:08 +0530
commitece7b2b8d4f53febbb63fbc8d05c98dd6f21618d (patch)
treedb900265b1a7e3b12eae05732637bac11f3a9b2b
parent074c0ebe9c1a0db0a5e0cc936898c35569ff4029 (diff)
Shifted getter setter for CustomQuery class
Shifted getter setter after constructor call for CustomQuery class Issue-ID: SO-1490 Change-Id: I5f836ad6e354610988f9a44bfbc1b2094c3b5cea Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
-rw-r--r--common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java b/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java
index af7ccf661e..3433e36151 100644
--- a/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java
+++ b/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java
@@ -34,15 +34,6 @@ public class CustomQuery {
private String query;
private String gremlin;
- public String getGremlin() {
- return gremlin;
- }
-
- public void setGremlin(String gremlin) {
- this.gremlin = gremlin;
- }
-
-
public CustomQuery(List<AAIResourceUri> start) {
this.setStart(start);
}
@@ -56,6 +47,14 @@ public class CustomQuery {
this.gremlin = gremlin;
}
+ public String getGremlin() {
+ return gremlin;
+ }
+
+ public void setGremlin(String gremlin) {
+ this.gremlin = gremlin;
+ }
+
public List<String> getStart() {
return start;
}