public static final class PersistenceTypeRegistry.Default extends Object implements PersistenceTypeRegistry
PersistenceTypeRegistry.Default| Modifier and Type | Method and Description |
|---|---|
void |
iteratePerIds(BiConsumer<Long,? super Class<?>> consumer) |
<T> Class<T> |
lookupType(long typeId) |
long |
lookupTypeId(Class<?> type) |
boolean |
registerType(long typeId,
Class<?> type) |
boolean |
registerTypes(Iterable<? extends PersistenceTypeLink> types) |
boolean |
validateTypeMapping(long typeId,
Class<?> type) |
boolean |
validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitNewpublic final long lookupTypeId(Class<?> type)
lookupTypeId in interface PersistenceTypeIdLookuplookupTypeId in interface PersistenceTypeLookuppublic final <T> Class<T> lookupType(long typeId)
lookupType in interface PersistenceTypeLookuppublic final boolean validateTypeMapping(long typeId,
Class<?> type)
throws PersistenceExceptionConsistency
validateTypeMapping in interface PersistenceTypeLookupPersistenceExceptionConsistencypublic final boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency
validateTypeMappings in interface PersistenceTypeLookupPersistenceExceptionConsistencypublic final boolean registerType(long typeId,
Class<?> type)
throws PersistenceExceptionConsistency
registerType in interface PersistenceTypeRegistryPersistenceExceptionConsistencypublic final boolean registerTypes(Iterable<? extends PersistenceTypeLink> types) throws PersistenceExceptionConsistency
registerTypes in interface PersistenceTypeRegistryPersistenceExceptionConsistencypublic void iteratePerIds(BiConsumer<Long,? super Class<?>> consumer)
iteratePerIds in interface PersistenceTypeRegistryCopyright © 2022 MicroStream Software. All rights reserved.