Bug 5540 - ActionConvertor, ActionResponseConvertor
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / action / data / ActionResponseConvertorData.java
1 /*
2  * Copyright (c) 2016 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.openflowplugin.openflow.md.core.sal.convertor.action.data;
10
11 import org.opendaylight.openflowplugin.extension.api.path.ActionPath;
12 import org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.ConvertorData;
13
14 /**
15  * Convertor data used in {@link org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action.ActionResponseConvertor}
16  * containing Openflow version and {@link org.opendaylight.openflowplugin.extension.api.path.ActionPath}
17  */
18 public class ActionResponseConvertorData extends ConvertorData {
19     private ActionPath actionPath;
20
21     /**
22      * Instantiates a new Action response convertor data.
23      *
24      * @param version the version
25      */
26     public ActionResponseConvertorData(short version) {
27         super(version);
28     }
29
30     /**
31      * Gets action path.
32      *
33      * @return the action path
34      */
35     public ActionPath getActionPath() {
36         return actionPath;
37     }
38
39     /**
40      * Sets action path.
41      *
42      * @param actionPath the action path
43      */
44     public void setActionPath(ActionPath actionPath) {
45         this.actionPath = actionPath;
46     }
47 }