public interface Module extends ChildOf<Modules>, Augmentable<Module>, Identifiable<ModuleKey>
This class represents the following YANG schema fragment defined in module ietf-restconf
list module { key "name revision"; leaf name { type yang:yang-identifier; } leaf revision { type union { type revision-identifier; type string { length 0; } } } leaf namespace { type inet:uri; } leaf-list feature { type yang:yang-identifier; } leaf-list deviation { type yang:yang-identifier; } }The schema path to identify an instance is ietf-restconf/restconf/restconf/modules/module
To create instances of this class use ModuleBuilder
.
ModuleBuilder
,
ModuleKey
Modifier and Type | Interface and Description |
---|---|
static class |
Module.Revision |
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable List<YangIdentifier> |
getDeviation()
List of YANG deviation module names used by thisserver to modify the conformance
of the moduleassociated with this entry.
|
@Nullable List<YangIdentifier> |
getFeature()
List of YANG feature names from this module that aresupported by the server.
|
@Nullable YangIdentifier |
getName()
The YANG module name.
|
@Nullable Uri |
getNamespace()
The XML namespace identifier for this module.
|
@Nullable Module.Revision |
getRevision()
The YANG module revision date.
|
ModuleKey |
key()
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Nullable YangIdentifier getName()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.YangIdentifier
name
, or null
if not present@Nullable Module.Revision getRevision()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.restconf.restconf.modules.Module.Revision
revision
, or null
if not present@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<YangIdentifier> getDeviation()
java.util.List
deviation
, or null
if not presentModuleKey key()
Identifiable
key
in interface Identifiable<ModuleKey>
Copyright © 2019 OpenDaylight. All rights reserved.