ooodev.adapter.lang.type_provider_t module
- protocol ooodev.adapter.lang.type_provider_t.TypeProviderT[source]
Bases:
Protocol
Protocol class for
XTypeProvider
.Classes that implement this protocol must have the following methods / attributes:
- __init__(*args, **kwargs)
- getImplementationId()[source]
Obsolete unique identifier.
Originally returned a sequence of bytes which, when non-empty, was used as an ID to distinguish unambiguously between two sets of types, for example to realize hashing functionality when the object is introspected. Two objects that returned the same non-empty ID had to return the same set of types in getTypes(). (If a unique ID could not be provided, this method was always allowed to return an empty sequence, though).
- Return type:
ByteSequence