public class DefaultYangModuleId extends Object implements YangModuleId, Serializable
| Constructor and Description |
|---|
DefaultYangModuleId(String name,
String rev)
Creates an instance of default YANG module id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
moduleName()
Returns the name of the YANG module.
|
String |
revision()
Returns revision of the YANG module.
|
String |
toString() |
public String moduleName()
YangModuleIdmoduleName in interface YangModuleIdpublic String revision()
YangModuleIdReference RFC 7895 Each YANG module and submodule within the library has a revision. This is derived from the most recent revision statement within the module or submodule. If no such revision statement exists, the module's or submodule's revision is the zero-length string.
revision in interface YangModuleIdCopyright © 2018. All rights reserved.