2 * Copyright (c) 2014 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.yangtools.yang.data.impl.schema.tree;
10 import org.opendaylight.yangtools.yang.data.api.schema.tree.ModificationType;
13 * Enumeration of all possible node modification states. These are used in
14 * data tree modification context to quickly assess what sort of modification
15 * the node is undergoing. This is a superset of {@link ModificationType}:
16 * where this type represents a logical operation, {@link ModificationType}
17 * represents a physical operation.
19 enum LogicalOperation {
21 * Node is currently unmodified.
26 * A child node, either direct or indirect, has been modified. This means
27 * that the data representation of this node has potentially changed.
32 * This node has been placed into the tree, potentially completely replacing
33 * pre-existing contents.
38 * This node has been deleted along with any of its child nodes.
43 * Node has been written into the tree, but instead of replacing pre-existing
44 * contents, it has been merged. This means that any incoming nodes which
45 * were present in the tree have been replaced, but their child nodes have