/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.md.sal.binding.api; import org.eclipse.jdt.annotation.NonNull; import org.opendaylight.yangtools.yang.binding.DataObject; /** * Represent root of modification. * * @author Tony Tkacik <ttkacik@cisco.com> * * @deprecated Use {@link org.opendaylight.mdsal.binding.api.DataTreeModification} instead. */ @Deprecated(forRemoval = true) public interface DataTreeModification { /** * Get the modification root path. This is the path of the root node * relative to the root of InstanceIdentifier namespace. * * @return absolute path of the root node */ @NonNull DataTreeIdentifier getRootPath(); /** * Get the modification root node. * * @return modification root node */ @NonNull DataObjectModification getRootNode(); }