Shifted getter setter for CustomQuery class 78/85778/1
authorSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 08:45:08 +0000 (14:15 +0530)
committerSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 08:45:08 +0000 (14:15 +0530)
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>
common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java

index af7ccf6..3433e36 100644 (file)
@@ -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;
     }