49c6a40faf41b995860742cea658dcec84b12bd0
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / transactions / ReadRequest.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.yangtools.yang.data.api.YangInstanceIdentifier;
13
14 public class ReadRequest implements TransactionRequest {
15
16     private final LogicalDatastoreType store;
17     private final YangInstanceIdentifier path;
18
19     public ReadRequest(final LogicalDatastoreType store, final YangInstanceIdentifier path) {
20         this.store = store;
21         this.path = path;
22     }
23
24     public LogicalDatastoreType getStore() {
25         return store;
26     }
27
28     public YangInstanceIdentifier getPath() {
29         return path;
30     }
31 }