683a9a2d906a285b37dab19bdb4b36b528aa8b57
[controller.git] / opendaylight / northbound / staticrouting / src / main / java / org / opendaylight / controller / forwarding / staticrouting / northbound / StaticRoutes.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  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
9 package org.opendaylight.controller.forwarding.staticrouting.northbound;
10
11 import java.util.List;
12
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
18 import org.opendaylight.controller.forwardingrulesmanager.FlowConfig;
19
20 @XmlRootElement
21 @XmlAccessorType(XmlAccessType.NONE)
22
23 public class StaticRoutes {
24         @XmlElement
25         List<StaticRoute> staticRoute;
26         //To satisfy JAXB
27         private StaticRoutes() {
28
29         }
30
31         public StaticRoutes(List<StaticRoute> staticRoute) {
32                 this.staticRoute = staticRoute;
33         }
34
35         public List<StaticRoute> getFlowConfig() {
36                 return staticRoute;
37         }
38
39         public void setFlowConfig(List<StaticRoute> staticRoute) {
40                 this.staticRoute = staticRoute;
41         }
42 }