Rework the Clamp db model
[clamp.git] / src / main / java / org / onap / clamp / clds / model / CldsVfData.java
index dbcfb34..aa5712c 100644 (file)
@@ -5,16 +5,16 @@
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  *                             reserved.
  * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License"); 
- * you may not use this file except in compliance with the License. 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software 
- * distributed under the License is distributed on an "AS IS" BASIS, 
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
- * See the License for the specific language governing permissions and 
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END============================================
  * ===================================================================
@@ -28,11 +28,20 @@ import java.util.List;
 
 public class CldsVfData implements Serializable {
 
-    private static final long serialVersionUID = 1L;
+    private static final long   serialVersionUID = -5069670140274203606L;
+    private String              vfName;
+    private String              vfInvariantResourceUUID;
+    private List<CldsVfcData>   cldsVfcs;
 
-    private String vfName;
-    private String vfInvariantResourceUUID;
-    private List<CldsVfcData> cldsVfcs;
+    private List<CldsVfKPIData> cldsKPIList;
+
+    public List<CldsVfKPIData> getCldsKPIList() {
+        return cldsKPIList;
+    }
+
+    public void setCldsKPIList(List<CldsVfKPIData> cldsKPIList) {
+        this.cldsKPIList = cldsKPIList;
+    }
 
     public String getVfName() {
         return vfName;