64c04051e36bd22d5e61a03efed9d688a6d37b90
[netconf.git] / apps / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / messages / transactions / DeleteRequest.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 package org.opendaylight.netconf.topology.singleton.messages.transactions;
9
10 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
11 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
12
13 public class DeleteRequest implements WriteActorMessage {
14     private static final long serialVersionUID = 1L;
15
16     private final LogicalDatastoreType store;
17     private final YangInstanceIdentifier path;
18
19     public DeleteRequest(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 }