Rename {Data,Schema}TreeAwareEffectiveStatement.Namespace
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / CopyableNode.java
1 /*
2  * Copyright (c) 2017 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.yangtools.yang.model.api;
9
10 import com.google.common.annotations.Beta;
11
12 /**
13  * Represents a node that can be added by uses or by augmentation.
14  */
15 @Beta
16 @Deprecated(since = "8.0.0")
17 public interface CopyableNode extends AddedByUsesAware {
18     /**
19      * Returns {@code true} if this node was added by augmentation, otherwise returns {@code false}.
20      *
21      * @return {@code true} if this node was added by augmentation, otherwise returns {@code false}
22      */
23     boolean isAugmenting();
24 }