2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. and others. All rights reserved.
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
8 package org.opendaylight.mdsal.binding.javav2.api;
10 import org.opendaylight.mdsal.binding.javav2.spec.base.InstanceIdentifier;
11 import org.opendaylight.mdsal.binding.javav2.spec.base.TreeNode;
12 import org.opendaylight.mdsal.common.api.AsyncTransaction;
15 * A common parent for all transactions which operate on a conceptual data tree.
16 * See derived transaction types for more concrete behavior:
18 * <li>{@link ReadTransaction} - Read capabilities, user is able to read data from data tree</li>
19 * <li>{@link WriteTransaction} - Write capabilities, user is able to propose changes to data tree</li>
22 * <b>Implementation Note:</b> This interface is not intended to be implemented by users of MD-SAL.
24 public interface Transaction extends AsyncTransaction<InstanceIdentifier<?>, TreeNode> {
26 Object getIdentifier();