Update MRI upstreams for Phosphorus
[openflowplugin.git] / extension / openflowplugin-extension-api / src / main / java / org / opendaylight / openflowplugin / extension / api / ExtensionConvertorData.java
1 /*
2  * Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. 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.extension.api;
10
11 import org.opendaylight.yangtools.yang.common.Uint32;
12 import org.opendaylight.yangtools.yang.common.Uint64;
13 import org.opendaylight.yangtools.yang.common.Uint8;
14
15 public class ExtensionConvertorData extends ConvertorData {
16     private Uint32 xid;
17
18     private Uint64 datapathId;
19
20
21     /**
22      * Instantiates a new ExtensionConvertor data.
23      *
24      * @param version the version
25      */
26     public ExtensionConvertorData(final Uint8 version) {
27         super(version);
28     }
29
30     /**
31      * Gets xid.
32      *
33      * @return the xid
34      */
35     public Uint32 getXid() {
36         return xid;
37     }
38
39     /**
40      * Sets xid.
41      *
42      * @param xid the xid
43      */
44     public void setXid(final Uint32 xid) {
45         this.xid = xid;
46     }
47
48     /**
49      * Gets datapath id.
50      *
51      * @return the datapath id
52      */
53     public Uint64 getDatapathId() {
54         return datapathId;
55     }
56
57     /**
58      * Sets datapath id.
59      *
60      * @param datapathId the datapath id
61      */
62     public void setDatapathId(final Uint64 datapathId) {
63         this.datapathId = datapathId;
64     }
65 }