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
9 package org.opendaylight.controller.statistics.northbound;
11 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
18 import org.opendaylight.controller.sal.core.Node;
19 import org.opendaylight.controller.sal.reader.NodeTableStatistics;
21 @XmlRootElement(name = "nodeTableStatistics")
22 @XmlAccessorType(XmlAccessType.NONE)
23 public class TableStatistics {
27 private List<NodeTableStatistics> tableStatistic;
30 @SuppressWarnings("unused")
31 private TableStatistics() {
34 public TableStatistics(Node node, List<NodeTableStatistics> tableStats) {
37 this.tableStatistic = tableStats;
40 public Node getNode() {
44 public void setNode(Node node) {
48 public List<NodeTableStatistics> getTableStats() {
49 return tableStatistic;
52 public void setTableStats(List<NodeTableStatistics> tableStats) {
53 this.tableStatistic = tableStats;