929fcea69935a45ed3c5f19912c170b0b36bf87a
[yangtools.git] / data / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / SystemMapNode.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 MapNode} which additionally preserves user-supplied ordering. This node represents a data instance of
12  * a {@code list} with {@code ordered-by user;} substatement and a {@code key} definition.
13  */
14 public interface SystemMapNode extends MapNode, OrderingAware.System {
15     @Override
16     default Class<SystemMapNode> contract() {
17         return SystemMapNode.class;
18     }
19
20     @Override
21     int hashCode();
22
23     @Override
24     boolean equals(Object obj);
25 }