public class NodeJsonBean {
String nodeId;
String nodeName;
- List<String> nodePorts;
+ String nodeType;
+ List<PortJsonBean> nodePorts;
public String getNodeId() {
return nodeId;
return nodeName;
}
- public List<String> getNodePorts() {
+ public String getNodeType() {
+ return nodeType;
+ }
+
+ public List<PortJsonBean> getNodePorts() {
return nodePorts;
}
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;
}