2 * Copyright (c) 2013 Cisco Systems, Inc. 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.controller.md.sal.common.api.data;
10 import org.opendaylight.yangtools.concepts.Immutable;
11 import org.opendaylight.yangtools.concepts.Path;
13 public interface DataChangeEvent<P extends Path<P>,D> extends DataChange<P, D>, Immutable {
16 * Returns a orignal subtree of data, which starts at the path
17 * where listener was registered.
20 D getOriginalConfigurationSubtree();
23 * Returns a new subtree of data, which starts at the path
24 * where listener was registered.
27 D getOriginalOperationalSubtree();
32 * Returns a updated subtree of data, which starts at the path
33 * where listener was registered.
36 D getUpdatedConfigurationSubtree();
39 * Returns a udpated subtree of data, which starts at the path
40 * where listener was registered.
43 D getUpdatedOperationalSubtree();