Renamed base identity for match oxm_classes
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / deserialization / match / NxmTunnelIpv4DstDeserializer.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
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 package org.opendaylight.openflowjava.protocol.impl.deserialization.match;
9
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.MatchField;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.Nxm1Class;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.OxmClassBase;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev130731.TunnelIpv4Dst;
14
15 /**
16  * @author brent.salisbury
17  *
18  */
19 public class NxmTunnelIpv4DstDeserializer extends AbstractOxmIpv4AddressDeserializer {
20
21     @Override
22     protected Class<? extends MatchField> getOxmField() {
23         return TunnelIpv4Dst.class;
24     }
25
26     @Override
27     protected Class<? extends OxmClassBase> getOxmClass() {
28         return Nxm1Class.class;
29     }
30 }