Migrate users of deprecated QNameModule methods
[yangtools.git] / model / rfc8819-model-api / src / main / java / org / opendaylight / yangtools / rfc8819 / model / api / ModuleTagConstants.java
1 /*
2  * Copyright (c) 2022 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.rfc8819.model.api;
9
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.yang.common.QNameModule;
12 import org.opendaylight.yangtools.yang.common.Revision;
13 import org.opendaylight.yangtools.yang.common.XMLNamespace;
14
15 @Beta
16 public final class ModuleTagConstants {
17     private static final XMLNamespace RFC8819_NAMESPACE =
18             XMLNamespace.of("urn:ietf:params:xml:ns:yang:ietf-module-tags").intern();
19     private static final Revision RFC8819_REVISION = Revision.of("2021-01-04");
20     public static final QNameModule RFC8819_MODULE = QNameModule.of(RFC8819_NAMESPACE, RFC8819_REVISION).intern();
21
22     private ModuleTagConstants() {
23         // Hidden on purpose
24     }
25 }