Merge "Declare a property for commons-lang version in poms and use it."
[controller.git] / opendaylight / northbound / containermanager / src / main / java / org / opendaylight / controller / containermanager / northbound / FlowSpecConfigs.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.containermanager.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.containermanager.ContainerFlowConfig;
19
20
21 @XmlRootElement(name = "flow-spec-configs")
22 @XmlAccessorType(XmlAccessType.NONE)
23 public class FlowSpecConfigs {
24     @XmlElement(name = "flow-spec-config")
25     List<ContainerFlowConfig> containerFlowConfig;
26
27     // To satisfy JAXB
28     @SuppressWarnings("unused")
29     private FlowSpecConfigs() {
30
31     }
32
33     public FlowSpecConfigs(List<ContainerFlowConfig> containerFlowConfig) {
34         this.containerFlowConfig = containerFlowConfig;
35     }
36
37     public List<ContainerFlowConfig> getContainerFlowConfig() {
38         return containerFlowConfig;
39     }
40
41     public void setContainerFlowConfig(List<ContainerFlowConfig> containerFlowConfig) {
42         this.containerFlowConfig = containerFlowConfig;
43     }
44 }