summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-outbound/appc-network-inventory-client/provider/src/main/java/org/onap/appc/aai/data/AaiVnfInfo.java15
1 files changed, 7 insertions, 8 deletions
diff --git a/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/onap/appc/aai/data/AaiVnfInfo.java b/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/onap/appc/aai/data/AaiVnfInfo.java
index d990ae23d..84df4e2cb 100644
--- a/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/onap/appc/aai/data/AaiVnfInfo.java
+++ b/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/onap/appc/aai/data/AaiVnfInfo.java
@@ -24,11 +24,14 @@
package org.onap.appc.aai.data;
-import java.util.ArrayList;
+import java.util.List;
public class AaiVnfInfo {
- String vnfId;
+ private String vnfId;
+ private String vnfName;
+ private String vnfOamIpAddress;
+ private List<AaiVmInfo> vmInfo;
public String getVnfId() {
return vnfId;
@@ -54,15 +57,11 @@ public class AaiVnfInfo {
this.vnfOamIpAddress = vnfOamIpAddress;
}
- public ArrayList<AaiVmInfo> getVmInfo() {
+ public List<AaiVmInfo> getVmInfo() {
return vmInfo;
}
- public void setVmInfo(ArrayList<AaiVmInfo> vmInfo) {
+ public void setVmInfo(List<AaiVmInfo> vmInfo) {
this.vmInfo = vmInfo;
}
-
- String vnfName;
- String vnfOamIpAddress;
- ArrayList<AaiVmInfo> vmInfo;
}