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.model.api;
10 import java.util.Optional;
13 * Schema Node which may be derived from other schema node using augmentation or uses statement.
15 * @deprecated This interface's sole purpose is to aid MD-SAL binding generator, which is now in a position to provide
16 * to implement its logic without this interface.
18 @Deprecated(since = "7.0.9", forRemoval = true)
19 public interface DerivableSchemaNode<T extends DerivableSchemaNode<T>> extends DataSchemaNode {
21 * If this node is added by uses, returns original node definition from grouping where it was defined.
23 * @return original node definition from grouping if this node is added by uses, absent otherwise
25 Optional<T> getOriginal();