2 * Copyright (c) 2013 Big Switch Networks, Inc. All rights reserved.
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
8 package org.opendaylight.controller.statistics.northbound;
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlElement;
14 import javax.xml.bind.annotation.XmlRootElement;
16 import org.opendaylight.controller.sal.core.Node;
17 import org.opendaylight.controller.sal.reader.NodeTableStatistics;
20 @XmlAccessorType(XmlAccessType.NONE)
21 public class TableStatistics {
24 @XmlElement(name="tableStat")
25 private List<NodeTableStatistics> tableStats;
28 @SuppressWarnings("unused")
29 private TableStatistics() {
32 public TableStatistics(Node node, List<NodeTableStatistics> tableStats) {
35 this.tableStats = tableStats;
38 public Node getNode() {
42 public void setNode(Node node) {
46 public List<NodeTableStatistics> getTableStats() {
50 public void setTableStats(List<NodeTableStatistics> tableStats) {
51 this.tableStats = tableStats;