Merge "Initial implementation of the ClusteredDataStore"
[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     String nodeType;
17     List<PortJsonBean> nodePorts;
18
19     public String getNodeId() {
20         return nodeId;
21     }
22
23     public String getNodeName() {
24         return nodeName;
25     }
26
27     public String getNodeType() {
28         return nodeType;
29     }
30
31     public List<PortJsonBean> getNodePorts() {
32         return nodePorts;
33     }
34
35     public void setNodeId(String nodeId) {
36         this.nodeId = nodeId;
37     }
38
39     public void setNodeName(String nodeName) {
40         this.nodeName = nodeName;
41     }
42
43     public void setNodeType(String nodeType) {
44         this.nodeType = nodeType;
45     }
46
47     public void setNodePorts(List<PortJsonBean> port) {
48         this.nodePorts = port;
49     }
50
51 }