Fix for Span Port added to a Switch should show port name or port id.
[controller.git] / opendaylight / web / devices / src / main / java / org / opendaylight / controller / devices / web / SpanPortJsonBean.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 public class SpanPortJsonBean {
12
13     private String nodeId;
14     private String spanPort;
15
16     public String getNodeId() {
17         return nodeId;
18     }
19
20     public void setNodeId(String nodeId) {
21         this.nodeId = nodeId;
22     }
23
24     public String getSpanPort() {
25         return spanPort;
26     }
27
28     public void setSpanPort(String spanPort) {
29         this.spanPort = spanPort;
30     }
31
32 }