5045988f63af2fd22dce2e58c525a64a15e87226
[yangtools.git] / data / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / UserLeafSetNode.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 /**
11  * {@link LeafSetNode} which preserves user-supplied ordering. This node represents a data instance of
12  * a {@code leaf-list} with a {@code ordered-by user;} substatement.
13  *
14  * @param <T> Value type of Leaf entries
15  */
16 public interface UserLeafSetNode<T> extends LeafSetNode<T>, OrderedNodeContainer<LeafSetEntryNode<T>> {
17     @Override
18     @SuppressWarnings("rawtypes")
19     default Class<UserLeafSetNode> contract() {
20         return UserLeafSetNode.class;
21     }
22 }