Bug:129 Connection Manager Dashlet
[controller.git] / opendaylight / web / devices / src / main / java / org / opendaylight / controller / devices / web / NodeJsonBean.java
index 0fd933a5ec5da1eaf2d4f927cdb5701eb7c008df..e5f2b6a2c0ece9c671a21bbe87d4ada97a61f973 100644 (file)
@@ -13,7 +13,8 @@ import java.util.List;
 public class NodeJsonBean {
     String nodeId;
     String nodeName;
-    List<String> nodePorts;
+    String nodeType;
+    List<PortJsonBean> nodePorts;
 
     public String getNodeId() {
         return nodeId;
@@ -23,7 +24,11 @@ public class NodeJsonBean {
         return nodeName;
     }
 
-    public List<String> getNodePorts() {
+    public String getNodeType() {
+        return nodeType;
+    }
+
+    public List<PortJsonBean> getNodePorts() {
         return nodePorts;
     }
 
@@ -35,7 +40,11 @@ public class NodeJsonBean {
         this.nodeName = nodeName;
     }
 
-    public void setNodePorts(List<String> port) {
+    public void setNodeType(String nodeType) {
+        this.nodeType = nodeType;
+    }
+
+    public void setNodePorts(List<PortJsonBean> port) {
         this.nodePorts = port;
     }