X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnorthbound%2Fflowprogrammer%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fflowprogrammer%2Fnorthbound%2FFlowConfigs.java;fp=opendaylight%2Fnorthbound%2Fflowprogrammer%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fflowprogrammer%2Fnorthbound%2FFlowConfigs.java;h=f6a757ec2919133af9a2604505f89d7d347eecea;hp=0000000000000000000000000000000000000000;hb=29f7cfb54b580928c7feac63abce028a7014b0d5;hpb=42210c03b0a4c54706320ba9f55794c0abd4d201 diff --git a/opendaylight/northbound/flowprogrammer/src/main/java/org/opendaylight/controller/flowprogrammer/northbound/FlowConfigs.java b/opendaylight/northbound/flowprogrammer/src/main/java/org/opendaylight/controller/flowprogrammer/northbound/FlowConfigs.java new file mode 100644 index 0000000000..f6a757ec29 --- /dev/null +++ b/opendaylight/northbound/flowprogrammer/src/main/java/org/opendaylight/controller/flowprogrammer/northbound/FlowConfigs.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.controller.flowprogrammer.northbound; + +import java.util.List; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; + +import org.opendaylight.controller.forwardingrulesmanager.FlowConfig; + +@XmlRootElement +@XmlAccessorType(XmlAccessType.NONE) + +public class FlowConfigs { + @XmlElement + List flowConfig; + //To satisfy JAXB + private FlowConfigs() { + + } + + public FlowConfigs(List flowConfig) { + this.flowConfig = flowConfig; + } + + public List getFlowConfig() { + return flowConfig; + } + + public void setFlowConfig(List flowConfig) { + this.flowConfig = flowConfig; + } +}