Define a feature-parent
[yangtools.git] / model / rfc6536-model-api / src / main / java / org / opendaylight / yangtools / rfc6536 / model / api / NACMConstants.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies, 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.rfc6536.model.api;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.opendaylight.yangtools.yang.common.QNameModule;
12 import org.opendaylight.yangtools.yang.common.Revision;
13 import org.opendaylight.yangtools.yang.common.UnresolvedQName.Unqualified;
14 import org.opendaylight.yangtools.yang.common.XMLNamespace;
15
16 /**
17  * Constants associated with RFC6536.
18  */
19 @NonNullByDefault
20 public final class NACMConstants {
21     public static final Unqualified MODULE_NAME = Unqualified.of("ietf-netconf-acm").intern();
22     public static final XMLNamespace MODULE_NAMESPACE =
23         XMLNamespace.of("urn:ietf:params:xml:ns:yang:ietf-netconf-acm").intern();
24     /**
25      * RFC6536 model revision.
26      */
27     public static final Revision RFC6536_REVISION = Revision.of("2012-02-22");
28     /**
29      * RFC8341 model revision..
30      */
31     public static final Revision RFC8341_REVISION = Revision.of("2018-02-14");
32
33     /**
34      * Runtime RFC6536 identity.
35      */
36     public static final QNameModule RFC6536_MODULE = QNameModule.of(MODULE_NAMESPACE, RFC6536_REVISION).intern();
37
38     /**
39      * Runtime RFC8341 identity.
40      */
41     public static final QNameModule RFC8341_MODULE = QNameModule.of(MODULE_NAMESPACE, RFC8341_REVISION).intern();
42
43     /**
44      * Normative prefix to use when importing {@link #MODULE_NAME}.
45      */
46     public static final String MODULE_PREFIX = "nacm";
47
48     private NACMConstants() {
49         // Hidden on purpose
50     }
51 }