X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fstatistics%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fstatistics%2Fnorthbound%2FAllFlowStatistics.java;h=18627285eaa7f7d834ccd96966d4691fa67101bf;hb=fba140bf09ffbf8694aa41f544caaa331c2ec29a;hp=0e96c5411c2c3e0649407dd5776b61eb11af4d09;hpb=59cc8f34c24d81a8890a94c11dedd4b21caa0adf;p=controller.git diff --git a/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java b/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java index 0e96c5411c..18627285ea 100644 --- a/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java +++ b/opendaylight/northbound/statistics/src/main/java/org/opendaylight/controller/statistics/northbound/AllFlowStatistics.java @@ -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; - //To satisfy JAXB - private AllFlowStatistics() { - } - - public AllFlowStatistics(List flowStatistics) { - this.flowStatistics = flowStatistics; - } - - public List getFlowStatistics() { - return flowStatistics; - } - - public void setFlowStatistics(List flowStatistics) { - this.flowStatistics = flowStatistics; - } + @XmlElement + List flowStatistics; + //To satisfy JAXB + @SuppressWarnings("unused") + private AllFlowStatistics() {} + + public AllFlowStatistics(List flowStatistics) { + this.flowStatistics = flowStatistics; + } + + public List getFlowStatistics() { + return flowStatistics; + } + + public void setFlowStatistics(List flowStatistics) { + this.flowStatistics = flowStatistics; + } }