Remove unused parameters
[netvirt.git] / vpnmanager / impl / src / main / java / org / opendaylight / netvirt / vpnmanager / UpdateData.java
1 /*
2  * Copyright (c) 2016 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.netvirt.vpnmanager;
10
11 import org.opendaylight.yang.gen.v1.urn.huawei.params.xml.ns.yang.l3vpn.rev140815.vpn.interfaces.VpnInterface;
12 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
13
14 public class UpdateData {
15     private InstanceIdentifier<VpnInterface> identifier;
16     private VpnInterface original;
17     private VpnInterface update;
18
19     protected UpdateData(InstanceIdentifier<VpnInterface> identifier, VpnInterface original, VpnInterface update) {
20         this.identifier = identifier;
21         this.original = original;
22         this.update = update;
23     }
24
25     protected InstanceIdentifier<VpnInterface> getIdentifier() {
26         return identifier;
27     }
28
29     protected VpnInterface getOriginal() {
30         return original;
31     }
32
33     protected VpnInterface getUpdate() {
34         return update;
35     }
36 }