public interface Module extends ChildOf<ModuleList>, Augmentable<Module>, SchemaLeaf, CommonLeafs, Identifiable<ModuleKey>
This class represents the following YANG schema fragment defined in module ietf-yang-library
list module {
key "name revision";
uses common-leafs;
uses schema-leaf;
leaf namespace {
type inet:uri;
}
leaf-list feature {
type yang:yang-identifier;
}
list deviation {
key "name revision";
uses common-leafs;
}
leaf conformance-type {
type enumeration {
enum implement {
}
enum import {
}
}
}
list submodule {
key "name revision";
uses common-leafs;
uses schema-leaf;
}
}
The schema path to identify an instance is
ietf-yang-library/module-list/module
To create instances of this class use ModuleBuilder.
ModuleBuilder,
ModuleKey| Modifier and Type | Interface and Description |
|---|---|
static class |
Module.ConformanceType |
CommonLeafs.Revision| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Module.ConformanceType |
getConformanceType()
Indicates the type of conformance the server is claimingfor the YANG module
identified by this entry.
|
@Nullable List<Deviation> |
getDeviation()
List of YANG deviation module names and revisionsused by this server to modify
the conformance ofthe module associated with this entry.
|
@Nullable List<YangIdentifier> |
getFeature()
List of YANG feature names from this module that aresupported by the server,
regardless of whether they aredefined in the module or any included submodule.
|
@Nullable Uri |
getNamespace()
The XML namespace identifier for this module.
|
@Nullable List<Submodule> |
getSubmodule()
Each entry represents one submodule within theparent module.
|
ModuleKey |
key()
Returns an unique key for the object.
|
default @NonNull List<Deviation> |
nonnullDeviation() |
default @NonNull List<Submodule> |
nonnullSubmodule() |
augmentationgetSchemagetName, getRevisiongetImplementedInterface@Nullable Uri getNamespace()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri namespace, or null if not present@Nullable List<YangIdentifier> getFeature()
java.util.List feature, or null if not present@Nullable List<Deviation> getDeviation()
java.util.List deviation, or null if not presentdefault @NonNull List<Deviation> nonnullDeviation()
java.util.List deviation, or an empty list if it is not present@Nullable Module.ConformanceType getConformanceType()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.library.rev160621.module.list.Module.ConformanceType conformanceType, or null if not present@Nullable List<Submodule> getSubmodule()
java.util.List submodule, or null if not presentdefault @NonNull List<Submodule> nonnullSubmodule()
java.util.List submodule, or an empty list if it is not presentModuleKey key()
Identifiablekey in interface Identifiable<ModuleKey>Copyright © 2019 OpenDaylight. All rights reserved.