public class DefaultYangModuleIdentifier extends Object implements YangModuleIdentifier, Comparator<YangModuleIdentifier>
| Modifier and Type | Method and Description |
|---|---|
int |
compare(YangModuleIdentifier id1,
YangModuleIdentifier id2) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
moduleName()
retrieves the name of the YANG module.
|
String |
revision()
Retrieves revision of the YANG module.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic String moduleName()
YangModuleIdentifiermoduleName in interface YangModuleIdentifierpublic String revision()
YangModuleIdentifierReference 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 YangModuleIdentifierpublic int compare(YangModuleIdentifier id1, YangModuleIdentifier id2)
compare in interface Comparator<YangModuleIdentifier>public boolean equals(Object obj)
equals in interface Comparator<YangModuleIdentifier>equals in class Object