2 * Copyright (c) 2013 Cisco Systems, Inc. and others. 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;
17 import org.opendaylight.controller.sal.core.Node;
18 import org.opendaylight.controller.sal.reader.FlowOnNode;
21 @XmlAccessorType(XmlAccessType.NONE)
22 public class FlowStatistics {
25 @XmlElement(name="flowStat")
26 private List<FlowOnNode> flowStat;
29 @SuppressWarnings("unused")
30 private FlowStatistics() {
33 public FlowStatistics(Node node, List<FlowOnNode> flowStat) {
36 this.flowStat = flowStat;
39 public Node getNode() {
43 public void setNode(Node node) {
47 public List<FlowOnNode> getFlowStats() {
51 public void setFlowStats(List<FlowOnNode> flowStats) {
52 this.flowStat = flowStats;