DataContainerChild is identified by NodeIdentifier
[yangtools.git] / data / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / LeafSetNode.java
1 /*
2  * Copyright (c) 2014 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.data.api.schema;
9
10 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
11
12 /**
13  * Node representing set of simple leaf nodes. Node containing instances of {@link LeafSetEntryNode}.
14  *
15  * <p>
16  * Schema and semantics of this node are described by instance of
17  * {@link org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode}.
18  *
19  * @param <T> Type of leaf node values.
20  */
21 public sealed interface LeafSetNode<T>
22         extends DistinctNodeContainer<NodeWithValue<?>, LeafSetEntryNode<T>>, DataContainerChild, MixinNode
23         permits SystemLeafSetNode, UserLeafSetNode {
24     @Override
25     @SuppressWarnings("rawtypes")
26     Class<? extends LeafSetNode> contract();
27 }