Interface PersistenceTypeDictionaryView

All Superinterfaces:
PersistenceTypeDictionary
All Known Implementing Classes:
PersistenceTypeDictionaryView.Default

public interface PersistenceTypeDictionaryView
extends PersistenceTypeDictionary
A read-only ("view") type of a PersistenceTypeDictionary where all mutating methods throw anUnsupportedOperationException.

Conceptual note:
The natural concept would be to design the reading type as the base type with an immutable implementation and extend a mutating type from that base type. The intial concept was exactely that. But it turned out that the the way type dictionaries are used contradicts that and could better incorporate the described reversed hierarchy.
That way is:
Mutating operations are encaspulated by ~Manager types and are rejected with an exception for immutable usage. Reading operations work seamless in both concepts, anyway.