Sonar Fixes policy/models, removing model-yaml
[policy/models.git] / models-interactions / model-yaml / src / main / java / org / onap / policy / controlloop / policy / Target.java
index b8432ba..bc99975 100644 (file)
@@ -37,6 +37,28 @@ public class Target implements Serializable {
     private String modelVersion;
     private String modelCustomizationId;
 
+    public Target() {
+        //Does Nothing Empty Constructor
+    }
+
+    public Target(TargetType type) {
+        this.type = type;
+    }
+
+    public Target(String resourceId) {
+        this.resourceId = resourceId;
+    }
+
+    public Target(TargetType type, String resourceId) {
+        this.type = type;
+        this.resourceId = resourceId;
+    }
+
+    public Target(Target target) {
+        this.type = target.type;
+        this.resourceId = target.resourceId;
+    }
+
     public String getModelInvariantId() {
         return modelInvariantId;
     }
@@ -77,28 +99,6 @@ public class Target implements Serializable {
         this.modelCustomizationId = modelCustomizationId;
     } //techm
 
-    public Target() {
-        //Does Nothing Empty Constructor
-    }
-
-    public Target(TargetType type) {
-        this.type = type;
-    }
-
-    public Target(String resourceId) {
-        this.resourceId = resourceId;
-    }
-
-    public Target(TargetType type, String resourceId) {
-        this.type = type;
-        this.resourceId = resourceId;
-    }
-
-    public Target(Target target) {
-        this.type = target.type;
-        this.resourceId = target.resourceId;
-    }
-
     public String getResourceID() {
         return resourceId;
     }