Annotate all serialVersionUID with @Serial
[netconf.git] / apps / 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 java.io.Serial;
12 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
13 import org.opendaylight.netconf.topology.singleton.messages.NormalizedNodeMessage;
14
15 public class MergeRequest implements WriteActorMessage {
16     @Serial
17     private static final long serialVersionUID = 1L;
18
19     private final NormalizedNodeMessage data;
20     private final LogicalDatastoreType store;
21
22     public MergeRequest(final LogicalDatastoreType store, final NormalizedNodeMessage data) {
23         this.store = store;
24         this.data = data;
25     }
26
27     public NormalizedNodeMessage getNormalizedNodeMessage() {
28         return data;
29     }
30
31     public LogicalDatastoreType getStore() {
32         return store;
33     }
34 }