Merge "Fixing a bug to show node name if present instead of node id while adding...
[controller.git] / opendaylight / web / devices / src / main / java / org / opendaylight / controller / devices / web / NodeJsonBean.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.devices.web;
10
11 import java.util.List;
12
13 public class NodeJsonBean {
14     String nodeId;
15     String nodeName;
16     List<String> nodePorts;
17
18     public String getNodeId() {
19         return nodeId;
20     }
21
22     public String getNodeName() {
23         return nodeName;
24     }
25
26     public List<String> getNodePorts() {
27         return nodePorts;
28     }
29
30     public void setNodeId(String nodeId) {
31         this.nodeId = nodeId;
32     }
33
34     public void setNodeName(String nodeName) {
35         this.nodeName = nodeName;
36     }
37
38     public void setNodePorts(List<String> port) {
39         this.nodePorts = port;
40     }
41
42 }