public final class $YangModuleInfoImpl extends Object implements YangModuleInfo
| Modifier and Type | Method and Description |
|---|---|
Set<YangModuleInfo> |
getImportedModules()
Returns set of imported modules
|
static YangModuleInfo |
getInstance() |
org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation |
getModuleSourceRepresentation()
Transforms YangModuleInfo instance to its source representation
|
InputStream |
getModuleSourceStream()
Get stream of module source
|
String |
getName()
Returns yang module name
|
String |
getNamespace()
Returns XML namespace associated to the YANG module
|
String |
getRevision()
Returns revision of yang module.
|
Optional<org.opendaylight.yangtools.concepts.SemVer> |
getSemanticVersion()
Returns semantic version of yang module
|
String |
toString() |
public static YangModuleInfo getInstance()
public String getName()
YangModuleInfogetName in interface YangModuleInfopublic String getRevision()
YangModuleInfogetRevision in interface YangModuleInfopublic String getNamespace()
YangModuleInfogetNamespace in interface YangModuleInfopublic Optional<org.opendaylight.yangtools.concepts.SemVer> getSemanticVersion()
YangModuleInfogetSemanticVersion in interface YangModuleInfopublic org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation getModuleSourceRepresentation()
YangModuleInfogetModuleSourceRepresentation in interface YangModuleInfopublic InputStream getModuleSourceStream()
YangModuleInfogetModuleSourceStream in interface YangModuleInfopublic Set<YangModuleInfo> getImportedModules()
YangModuleInfogetImportedModules in interface YangModuleInfoCopyright © 2019 OpenDaylight. All rights reserved.