Bug 8568: Remove deprecated HydrogenDataBrokerAdapter
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / DataChangeEvent.java
1 /*
2  * Copyright (c) 2013 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.controller.md.sal.common.api.data;
9
10 import org.opendaylight.yangtools.concepts.Immutable;
11 import org.opendaylight.yangtools.concepts.Path;
12
13 /**
14  *
15  *
16  *
17  * @param <P>
18  * @param <D>
19  * @deprecated Replaced by {@link AsyncDataChangeEvent}
20  */
21 @Deprecated
22 public interface DataChangeEvent<P extends Path<P>,D> extends DataChange<P, D>, Immutable {
23
24     /**
25      * Returns a orignal subtree of data, which starts at the path
26      * where listener was registered.
27      *
28      */
29     D getOriginalConfigurationSubtree();
30
31     /**
32      * Returns a new subtree of data, which starts at the path
33      * where listener was registered.
34      *
35      */
36     D getOriginalOperationalSubtree();
37
38
39
40     /**
41      * Returns a updated subtree of data, which starts at the path
42      * where listener was registered.
43      *
44      */
45     D getUpdatedConfigurationSubtree();
46
47     /**
48      * Returns a udpated subtree of data, which starts at the path
49      * where listener was registered.
50      *
51      */
52     D getUpdatedOperationalSubtree();
53 }