/* * Copyright (c) 2013 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.common.api.data; import java.util.Map; import java.util.Set; import org.opendaylight.yangtools.concepts.Path; public interface DataChange
, D> { /** * Returns a map of paths and newly created objects * * @return map of paths and newly created objects */ Map
getCreatedOperationalData(); /** * Returns a map of paths and newly created objects * * @return map of paths and newly created objects */ Map
getCreatedConfigurationData(); /** * Returns a map of paths and respective updated objects after update. * * Original state of the object is in * {@link #getOriginalOperationalData()} * * @return map of paths and newly created objects */ Map
getUpdatedOperationalData(); /** * Returns a map of paths and respective updated objects after update. * * Original state of the object is in * {@link #getOriginalConfigurationData()} * * @return map of paths and newly created objects */ Map
getUpdatedConfigurationData(); /** * Returns a set of paths of removed objects. * * Original state of the object is in * {@link #getOriginalConfigurationData()} * * @return map of paths and newly created objects */ Set
getRemovedConfigurationData(); /** * Returns a set of paths of removed objects. * * Original state of the object is in * {@link #getOriginalOperationalData()} * * @return map of paths and newly created objects */ Set
getRemovedOperationalData(); /** * Return a map of paths and original state of updated and removed objectd. * * @return map of paths and original state of updated and removed objectd. */ Map
getOriginalConfigurationData(); /** * Return a map of paths and original state of updated and removed objectd. * * @return map of paths and original state of updated and removed objectd. */ Map
getOriginalOperationalData(); }