Description
Metadata object can be declared unmodifiable. However there is at least one, maybe two, holes where aspects of unmodifiable metadata can still be modified:
- DefaultRepresentativeFraction is still mutable, because it extends Number rather than AbstractMetadata.
- We need to verify that EnumSet and CodeListSet are properly wrapped in unmodifiable set.
- We need an unmodifiable implementation of IdentifierMap.