Merge "Added Inventory Reader for SwitchManager"
[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<PortJsonBean> nodePorts;
17
18     public String getNodeId() {
19         return nodeId;
20     }
21
22     public String getNodeName() {
23         return nodeName;
24     }
25
26     public List<PortJsonBean> 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<PortJsonBean> port) {
39         this.nodePorts = port;
40     }
41
42 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.