aboutsummaryrefslogtreecommitdiffstats
path: root/appc-outbound
diff options
context:
space:
mode:
authorJakub Dudycz <jakub.dudycz@nokia.com>2018-01-25 14:07:30 +0100
committerPatrick Brady <pb071s@att.com>2018-01-25 20:04:51 +0000
commit6d081931a8437c87e9b3e51ef2cfad56e3209c43 (patch)
treeebb65dd0705c4d8ce135554ca9671c31643b8c71 /appc-outbound
parentf65fdbba50c5a9be4b85c5c493f22502f014dcbb (diff)
AaiVnInfo refactor
Change-Id: I00d50d3970eba6325fffaaa73aab87b7f692fab0 Issue-ID: APPC-512 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Diffstat (limited to 'appc-outbound')
-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;
}