BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set
[controller.git] / opendaylight / northbound / statistics / src / main / java / org / opendaylight / controller / statistics / northbound / AllFlowStatistics.java
index 0e96c5411c2c3e0649407dd5776b61eb11af4d09..18627285eaa7f7d834ccd96966d4691fa67101bf 100644 (file)
@@ -15,26 +15,25 @@ import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlRootElement;
 
-@XmlRootElement
+@XmlRootElement(name = "list")
 @XmlAccessorType(XmlAccessType.NONE)
-
 public class AllFlowStatistics {
-       @XmlElement
-       List<FlowStatistics> flowStatistics;
-       //To satisfy JAXB
-       private AllFlowStatistics() {
-       }
-       
-       public AllFlowStatistics(List<FlowStatistics> flowStatistics) {
-               this.flowStatistics = flowStatistics;
-       }
-
-       public List<FlowStatistics> getFlowStatistics() {
-               return flowStatistics;
-       }
-
-       public void setFlowStatistics(List<FlowStatistics> flowStatistics) {
-               this.flowStatistics = flowStatistics;
-       }
+        @XmlElement
+        List<FlowStatistics> flowStatistics;
+        //To satisfy JAXB
+        @SuppressWarnings("unused")
+        private AllFlowStatistics() {}
+
+        public AllFlowStatistics(List<FlowStatistics> flowStatistics) {
+                this.flowStatistics = flowStatistics;
+        }
+
+        public List<FlowStatistics> getFlowStatistics() {
+                return flowStatistics;
+        }
+
+        public void setFlowStatistics(List<FlowStatistics> flowStatistics) {
+                this.flowStatistics = flowStatistics;
+        }
 
 }