public final class PersistenceTypeHandlerProviderCreating<D> extends PersistenceDataTypeHolder.Default<D> implements PersistenceTypeHandlerProvider<D>
PersistenceTypeManager.DefaultPersistenceTypeHandlerEnsurer.Default<D>dataTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitNewNewNewdataTypepublic static <D> PersistenceTypeHandlerProviderCreating<D> New(Class<D> dataType, PersistenceTypeManager typeManager, PersistenceTypeHandlerEnsurer<D> typeHandlerEnsurer)
public final <T> PersistenceTypeHandler<D,? super T> provideTypeHandler(Class<T> type)
provideTypeHandler in interface PersistenceTypeHandlerProvider<D>public final long ensureTypeId(Class<?> type)
ensureTypeId in interface PersistenceTypeManagerpublic final Class<?> ensureType(long typeId)
ensureType in interface PersistenceTypeManagerpublic final long currentTypeId()
currentTypeId in interface PersistenceTypeManagerpublic final boolean registerType(long tid,
Class<?> type)
throws PersistenceExceptionConsistency
registerType in interface PersistenceTypeRegistryPersistenceExceptionConsistencypublic final long lookupTypeId(Class<?> type)
lookupTypeId in interface PersistenceTypeIdLookuplookupTypeId in interface PersistenceTypeLookuppublic final <T> Class<T> lookupType(long typeId)
lookupType in interface PersistenceTypeLookuppublic boolean validateTypeMapping(long typeId,
Class<?> type)
throws PersistenceExceptionConsistency
validateTypeMapping in interface PersistenceTypeLookupPersistenceExceptionConsistencypublic boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency
validateTypeMappings in interface PersistenceTypeLookupPersistenceExceptionConsistencypublic boolean registerTypes(Iterable<? extends PersistenceTypeLink> types) throws PersistenceExceptionConsistency
registerTypes in interface PersistenceTypeRegistryPersistenceExceptionConsistencypublic final void updateCurrentHighestTypeId(long highestTypeId)
updateCurrentHighestTypeId in interface PersistenceTypeManagerpublic final <T> PersistenceTypeHandler<D,? super T> ensureTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable
ensureTypeHandler in interface PersistenceTypeHandlerEnsurer<D>ensureTypeHandler in interface PersistenceTypeHandlerProvider<D>PersistenceExceptionTypeNotPersistablepublic final <C extends Consumer<? super PersistenceTypeHandler<D,?>>> C iterateTypeHandlers(C iterator)
iterateTypeHandlers in interface PersistenceTypeHandlerIterable<D>public <C extends Consumer<? super PersistenceLegacyTypeHandler<D,?>>> C iterateLegacyTypeHandlers(C iterator)
iterateLegacyTypeHandlers in interface PersistenceTypeHandlerIterable<D>public <C extends Consumer<? super PersistenceTypeHandler<D,?>>> C iterateAllTypeHandlers(C iterator)
iterateAllTypeHandlers in interface PersistenceTypeHandlerIterable<D>public void iteratePerIds(BiConsumer<Long,? super Class<?>> consumer)
iteratePerIds in interface PersistenceTypeRegistryCopyright © 2022 MicroStream Software. All rights reserved.