Interface Namespace
- All Known Implementing Classes:
ExtensionContext.Namespace
A
Namespace is used to provide a scope for data saved
within a Store.
Storing data in custom namespaces allows avoiding accidentally mixing data between different users of a store.
Two namespaces are equal if and only if their parts are equal, regardless of their concrete implementation class.
- Since:
- 6.2
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionCreate a new namespace by appending the suppliedpartsto the existing sequence of parts in this namespace.static NamespaceCreate a namespace which restricts access to data to all users which use the same sequence ofpartsfor creating a namespace.getParts()Returns the parts of this namespace.
-
Field Details
-
GLOBAL
The default, global namespace which allows access to stored data from all users of a store.
-
-
Method Details
-
create
Create a namespace which restricts access to data to all users which use the same sequence ofpartsfor creating a namespace.The order of the
partsis significant.Internally the
partsare compared usingObject.equals(Object). -
append
-
getParts
-