Add serialVersionUID to all java.io.Serializable messages
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / transactions / MergeRequest.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.netconf.topology.singleton.messages.transactions;
10
11 import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
12 import org.opendaylight.netconf.topology.singleton.messages.NormalizedNodeMessage;
13
14 public class MergeRequest implements TransactionRequest {
15     private static final long serialVersionUID = 1L;
16
17     private final NormalizedNodeMessage data;
18     private final LogicalDatastoreType store;
19
20     public MergeRequest(final LogicalDatastoreType store, final NormalizedNodeMessage data) {
21         this.store = store;
22         this.data = data;
23     }
24
25     public NormalizedNodeMessage getNormalizedNodeMessage() {
26         return data;
27     }
28
29     public LogicalDatastoreType getStore() {
30         return store;
31     }
32 }