Merge "Move adsal into its own subdirectory."
[controller.git] / opendaylight / adsal / northbound / statistics / src / main / java / org / opendaylight / controller / statistics / northbound / AllTableStatistics.java
1 /*
2  * Copyright (c) 2013 Big Switch Networks, Inc.  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 package org.opendaylight.controller.statistics.northbound;
9
10 import java.util.List;
11
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16
17 @XmlRootElement(name = "list")
18 @XmlAccessorType(XmlAccessType.NONE)
19 public class AllTableStatistics {
20     @XmlElement
21     List<TableStatistics> tableStatistics;
22     //To satisfy JAXB
23     @SuppressWarnings("unused")
24     private AllTableStatistics() {}
25
26     public AllTableStatistics(List<TableStatistics> tableStatistics) {
27         this.tableStatistics = tableStatistics;
28     }
29
30     public List<TableStatistics> getTableStatistics() {
31         return tableStatistics;
32     }
33
34     public void setTableStatistics(List<TableStatistics> tableStatistics) {
35         this.tableStatistics = tableStatistics;
36     }
37
38 }