Interface NamespaceStorage.GlobalStorage
- All Superinterfaces:
NamespaceStorage
- Enclosing interface:
- NamespaceStorage
NamespaceStorage for NamespaceStorage.StorageType.GLOBAL. This is sufficiently special to warrant a dedicated
interface, as there is only one instance of this storage in every parser build.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceStorage
NamespaceStorage.GlobalStorage, NamespaceStorage.StorageType -
Method Summary
Modifier and TypeMethodDescriptiondefault NamespaceStorageReturn the parentNamespaceStorage.default NamespaceStorage.StorageTypeReturn the type of this storage.Methods inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceStorage
getAllFromLocalStorage, getFromLocalStorage, putToLocalStorage, putToLocalStorageIfAbsent
-
Method Details
-
getStorageType
Description copied from interface:NamespaceStorageReturn the type of this storage.- Specified by:
getStorageTypein interfaceNamespaceStorage- Returns:
- The type of this storage
-
getParentStorage
Description copied from interface:NamespaceStorageReturn the parentNamespaceStorage. If this storage isNamespaceStorage.StorageType.GLOBAL, this method will returnnull.- Specified by:
getParentStoragein interfaceNamespaceStorage- Returns:
- Parent storage, if this is not the global storage
-