Interface ModuleImport
- All Superinterfaces:
DocumentedNode
,EffectiveStatementEquivalent<ImportEffectiveStatement>
- All Known Implementing Classes:
ImportEffectiveStatementImpl
public interface ModuleImport
extends DocumentedNode, EffectiveStatementEquivalent<ImportEffectiveStatement>
Interface describing YANG 'import' statement. The import statement makes definitions from one module available inside
another module or submodule.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull UnresolvedQName.Unqualified
Returns the name of the module to import.@NonNull String
Returns the prefix associated with the imported module.Returns the module revision to import.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveStatementEquivalent
asEffectiveStatement
-
Method Details
-
getModuleName
Returns the name of the module to import.- Returns:
- Name of the module to import
-
getRevision
Returns the module revision to import. May be null.- Returns:
- Revision of module to import
-
getPrefix
@NonNull String getPrefix()Returns the prefix associated with the imported module.- Returns:
- Prefix used to point to imported module
-