Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / northbound / flowprogrammer / src / main / java / org / opendaylight / controller / flowprogrammer / northbound / FlowConfigs.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.flowprogrammer.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 (name = "list")
21 @XmlAccessorType(XmlAccessType.NONE)
22
23 public class FlowConfigs {
24         @XmlElement
25         List<FlowConfig> flowConfig;
26         //To satisfy JAXB
27         private FlowConfigs() {
28
29         }
30
31         public FlowConfigs(List<FlowConfig> flowConfig) {
32                 this.flowConfig = flowConfig;
33         }
34
35         public List<FlowConfig> getFlowConfig() {
36                 return flowConfig;
37         }
38
39         public void setFlowConfig(List<FlowConfig> flowConfig) {
40                 this.flowConfig = flowConfig;
41         }
42 }