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.api.schema;
10 import javax.annotation.Nonnull;
11 import org.opendaylight.yangtools.concepts.Identifiable;
12 import org.opendaylight.yangtools.yang.common.QName;
13 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
16 * Node which is normalized according to the YANG schema
17 * is identifiable by a {@link org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier}.
20 * See subinterfaces of this interface for concretization of node.
22 * @param <K> Local identifier of node
23 * @param <V> Value of node
25 public interface NormalizedNode<K extends PathArgument, V> extends Identifiable<K> {
27 * QName of the node as defined in YANG schema.
29 * @return QName of this node, non-null.
34 * Locally unique identifier of the node.
36 * @return Node identifier, non-null.
39 @Nonnull K getIdentifier();
44 * @return Value of the node, may be null.
46 @Nonnull V getValue();