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()
YangModuleInfo
getName
in interface YangModuleInfo
public String getRevision()
YangModuleInfo
getRevision
in interface YangModuleInfo
public String getNamespace()
YangModuleInfo
getNamespace
in interface YangModuleInfo
public Optional<org.opendaylight.yangtools.concepts.SemVer> getSemanticVersion()
YangModuleInfo
getSemanticVersion
in interface YangModuleInfo
public org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation getModuleSourceRepresentation()
YangModuleInfo
getModuleSourceRepresentation
in interface YangModuleInfo
public InputStream getModuleSourceStream()
YangModuleInfo
getModuleSourceStream
in interface YangModuleInfo
public Set<YangModuleInfo> getImportedModules()
YangModuleInfo
getImportedModules
in interface YangModuleInfo
Copyright © 2019 OpenDaylight. All rights reserved.