2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.model.api;
10 import com.google.common.annotations.Beta;
13 * Trait interface for {@link SchemaNode}s, which have the {@link #isAddedByUses()} method.
16 //FIXME: 8.0.0: refactor this interface to take into account DerivableSchemaNode
17 public interface AddedByUsesAware {
19 * Returns <code>true</code> if this node was added by uses statement,
20 * otherwise returns <code>false</code>.
22 * @return <code>true</code> if this node was added by uses statement,
23 * otherwise returns <code>false</code>
25 boolean isAddedByUses();