public interface PersistenceTypeDictionaryView extends PersistenceTypeDictionary
PersistenceTypeDictionary where all mutating methods throw an
UnsupportedOperationException.
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.
| Modifier and Type | Interface and Description |
|---|---|
static class |
PersistenceTypeDictionaryView.Default |
PersistenceTypeDictionary.SymbolsassembleTypesPerTypeId, determineHighestTypeId, determineHighestTypeId, fullQualifiedFieldName, fullQualifiedFieldName, fullQualifiedFieldNameSeparator, isEmpty, isInlinedComplexType, isInlinedVariableLengthType, isVariableLength, iterateAllTypeDefinitions, iterateLatestTypes, iterateRuntimeDefinitions, iterateTypeLineages, iterateTypeLineageViews, lookupTypeById, lookupTypeByName, New, New, registerTypes, resolveTypeIds, splitFullQualifiedFieldName, validateTypeId, validateTypeIdsone.microstream.collections.types.XGettingTable<Long,PersistenceTypeDefinition> allTypeDefinitions()
allTypeDefinitions in interface PersistenceTypeDictionaryone.microstream.collections.types.XGettingTable<String,? extends PersistenceTypeLineageView> typeLineages()
typeLineages in interface PersistenceTypeDictionaryPersistenceTypeLineageView lookupTypeLineage(Class<?> type)
lookupTypeLineage in interface PersistenceTypeDictionaryPersistenceTypeLineageView lookupTypeLineage(String typeName)
lookupTypeLineage in interface PersistenceTypeDictionarydefault PersistenceTypeDictionaryView view()
view in interface PersistenceTypeDictionarydefault PersistenceTypeLineage ensureTypeLineage(Class<?> type)
ensureTypeLineage in interface PersistenceTypeDictionarydefault boolean registerTypeDefinition(PersistenceTypeDefinition typeDefinition)
registerTypeDefinition in interface PersistenceTypeDictionarydefault boolean registerTypeDefinitions(Iterable<? extends PersistenceTypeDefinition> typeDefinitions)
registerTypeDefinitions in interface PersistenceTypeDictionarydefault boolean registerRuntimeTypeDefinition(PersistenceTypeDefinition typeDefinition)
registerRuntimeTypeDefinition in interface PersistenceTypeDictionarydefault boolean registerRuntimeTypeDefinitions(Iterable<? extends PersistenceTypeDefinition> typeDefinitions)
registerRuntimeTypeDefinitions in interface PersistenceTypeDictionarydefault PersistenceTypeDictionary setTypeDescriptionRegistrationObserver(PersistenceTypeDefinitionRegistrationObserver observer)
setTypeDescriptionRegistrationObserver in interface PersistenceTypeDictionarydefault PersistenceTypeDefinitionRegistrationObserver getTypeDescriptionRegistrationObserver()
getTypeDescriptionRegistrationObserver in interface PersistenceTypeDictionarystatic PersistenceTypeDictionaryView New(PersistenceTypeDictionary typeDictionary)
Copyright © 2022 MicroStream Software. All rights reserved.