public interface Module extends DataNodeContainer, DocumentedNode, Immutable, NotificationNodeContainer, NamespaceRevisionAware
DocumentedNode.WithStatus
Modifier and Type | Method and Description |
---|---|
Set<AugmentationSchemaNode> |
getAugmentations()
Returns
AugmentationSchemaNode instances which contain data from augment statements defined
in the module. |
Optional<String> |
getContact()
Returns the module contact.
|
Set<Deviation> |
getDeviations()
Returns
Deviation instances which contain data from deviation statements defined in the module. |
List<ExtensionDefinition> |
getExtensionSchemaNodes()
Returns
ExtensionDefinition instances which contain data from extension statements defined in
the module. |
Set<FeatureDefinition> |
getFeatures()
Returns
FeatureDefinition instances which contain data from feature statements defined in the
module. |
Set<IdentitySchemaNode> |
getIdentities()
Returns
IdentitySchemaNode instances which contain data from identity statements defined in the
module. |
Set<ModuleImport> |
getImports()
Returns imports which represents YANG modules which are imported to this module via
import statement. |
String |
getName()
Returns the name of the module which is specified as argument of YANG
module statement. |
default URI |
getNamespace()
Returns the namespace of the module which is specified as argument of YANG
namespace
keyword. |
Optional<String> |
getOrganization()
Returns the module organization.
|
String |
getPrefix()
Returns the prefix of the module.
|
QNameModule |
getQNameModule()
Returns a
QNameModule , which contains the namespace and the revision of the module. |
default Optional<Revision> |
getRevision()
Returns the revision date for the module.
|
Set<RpcDefinition> |
getRpcs()
Returns
RpcDefinition instances which contain data from rpc statements defined in the module. |
Optional<SemVer> |
getSemanticVersion()
Returns the semantic version of YANG module.
|
Set<Module> |
getSubmodules() |
YangVersion |
getYangVersion()
Returns the YANG version.
|
findDataChildByName, findDataChildByName, findDataTreeChild, findDataTreeChild, findDataTreeChild, getChildNodes, getDataChildByName, getGroupings, getTypeDefinitions, getUses
getDescription, getReference, getUnknownSchemaNodes
findNotification, getNotifications
String getName()
module
statement.QNameModule getQNameModule()
QNameModule
, which contains the namespace and the revision of the module.default URI getNamespace()
namespace
keyword. If you need both namespace and revision, please consider using getQNameModule()
.getNamespace
in interface NamespaceRevisionAware
default Optional<Revision> getRevision()
getQNameModule()
.getRevision
in interface NamespaceRevisionAware
revison
statementOptional<SemVer> getSemanticVersion()
(urn:opendaylight:yang:extension:semantic-version?revision=2016-02-02)semantic-version
statementString getPrefix()
prefix
statementYangVersion getYangVersion()
Optional<String> getOrganization()
organization
statementOptional<String> getContact()
The contact represents the person or persons to whom technical queries concerning this module should be sent, such as their name, postal address, telephone number, and electronic mail address.
contact
statementSet<ModuleImport> getImports()
import
statement.import
statements.Set<FeatureDefinition> getFeatures()
FeatureDefinition
instances which contain data from feature
statements defined in the
module.
The feature is used to define a mechanism by which portions of the schema are marked as conditional.
feature
statements.Set<AugmentationSchemaNode> getAugmentations()
AugmentationSchemaNode
instances which contain data from augment
statements defined
in the module.augment
statement and are lexicographically orderedSet<RpcDefinition> getRpcs()
RpcDefinition
instances which contain data from rpc
statements defined in the module.rpc
statements and
are lexicographicaly orderedSet<Deviation> getDeviations()
Deviation
instances which contain data from deviation
statements defined in the module.Set<IdentitySchemaNode> getIdentities()
IdentitySchemaNode
instances which contain data from identity
statements defined in the
module.identity
statements and are lexicographically orderedList<ExtensionDefinition> getExtensionSchemaNodes()
ExtensionDefinition
instances which contain data from extension
statements defined in
the module.extension
statements and are lexicographically orderedCopyright © 2020 OpenDaylight. All rights reserved.