Populate model/ hierarchy
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / meta / IdentifierNamespace.java
1 /*
2  * Copyright (c) 2015 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.model.api.meta;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11
12 /**
13  * Common base class for various YANG statement namespaces.
14  *
15  * @param <K> Identifier type
16  * @param <V> Value type
17  */
18 @NonNullByDefault
19 public abstract class IdentifierNamespace<K, V> {
20     protected IdentifierNamespace() {
21         throw new UnsupportedOperationException(getClass() + " should never be instantiated");
22     }
23 }