Interface PersistenceTypeLookup
-
- All Superinterfaces:
PersistenceTypeIdLookup
- All Known Subinterfaces:
BinaryTypeHandlerLookup
,PersistenceTypeHandlerLookup<M>
,PersistenceTypeHandlerManager<M>
,PersistenceTypeHandlerProvider<M>
,PersistenceTypeHandlerRegistry<M>
,PersistenceTypeManager
,PersistenceTypeRegistry
- All Known Implementing Classes:
PersistenceTypeHandlerManager.Default
,PersistenceTypeHandlerProviderCreating
,PersistenceTypeHandlerProviderFailing
,PersistenceTypeHandlerRegistry.Default
,PersistenceTypeManager.Default
,PersistenceTypeRegistry.Default
public interface PersistenceTypeLookup extends PersistenceTypeIdLookup
-
-
Method Summary
Modifier and Type Method Description <T> Class<T>
lookupType(long typeId)
long
lookupTypeId(Class<?> type)
boolean
validateTypeMapping(long typeId, Class<?> type)
boolean
validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings)
-
-
-
Method Detail
-
lookupTypeId
long lookupTypeId(Class<?> type)
- Specified by:
lookupTypeId
in interfacePersistenceTypeIdLookup
-
lookupType
<T> Class<T> lookupType(long typeId)
-
validateTypeMapping
boolean validateTypeMapping(long typeId, Class<?> type) throws PersistenceExceptionConsistency
- Throws:
PersistenceExceptionConsistency
-
validateTypeMappings
boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency
- Throws:
PersistenceExceptionConsistency
-
-