Seal NormalizedNode hierarchy
[yangtools.git] / data / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / AbstractUserMapNode.java
1 /*
2  * Copyright (c) 2023 PANTHEON.tech, s.r.o. 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 java.util.Collection;
11 import org.eclipse.jdt.annotation.NonNull;
12
13 /**
14  * Abstract base class for {@link UserMapNode} implementations.
15  */
16 public abstract non-sealed class AbstractUserMapNode
17         extends AbstractNormalizedValueNode<UserMapNode, @NonNull Collection<@NonNull MapEntryNode>>
18         implements UserMapNode {
19     @Override
20     protected final Class<UserMapNode> implementedType() {
21         return contract();
22     }
23 }