Bump mdsal to 5.0.2
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / data / XidConvertorData.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.data;
10
11 import org.opendaylight.yangtools.yang.common.Uint32;
12
13 /**
14  * Convertor data used in containing Openflow version and XID.
15  */
16 public class XidConvertorData extends VersionDatapathIdConvertorData {
17     private Uint32 xid;
18
19     /**
20      * Instantiates a new Xid convertor data.
21      *
22      * @param version the version
23      */
24     public XidConvertorData(final short version) {
25         super(version);
26     }
27
28     /**
29      * Gets xid.
30      *
31      * @return the xid
32      */
33     public Uint32 getXid() {
34         return xid;
35     }
36
37     /**
38      * Sets xid.
39      *
40      * @param xid the xid
41      */
42     public void setXid(final Uint32 xid) {
43         this.xid = xid;
44     }
45 }