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.forwarding.staticrouting.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.forwardingrulesmanager.FlowConfig;
21 * This class represents a list of static routes.
23 @XmlRootElement(name = "list")
24 @XmlAccessorType(XmlAccessType.NONE)
25 public class StaticRoutes {
27 List<StaticRoute> staticRoute;
29 private StaticRoutes() {
33 public StaticRoutes(List<StaticRoute> staticRoute) {
34 this.staticRoute = staticRoute;
37 public List<StaticRoute> getFlowConfig() {
41 public void setFlowConfig(List<StaticRoute> staticRoute) {
42 this.staticRoute = staticRoute;