Class PersistenceFoundation.Default<M,F extends PersistenceFoundation.Default<M,?>>
- java.lang.Object
-
- one.microstream.util.InstanceDispatcher.Default
-
- one.microstream.persistence.types.PersistenceFoundation.Default<M,F>
-
- All Implemented Interfaces:
ByteOrderTargeting<F>
,ByteOrderTargeting.Mutable<F>
,PersistenceFoundation<M,F>
,Unpersistable
,Cloneable<PersistenceFoundation<M,F>>
,InstanceDispatcher
- Direct Known Subclasses:
BinaryPersistenceFoundation.Default
- Enclosing interface:
- PersistenceFoundation<M,F extends PersistenceFoundation<M,?>>
public static class PersistenceFoundation.Default<M,F extends PersistenceFoundation.Default<M,?>> extends InstanceDispatcher.Default implements PersistenceFoundation<M,F>, Unpersistable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.ByteOrderTargeting
ByteOrderTargeting.Mutable<T extends ByteOrderTargeting.Mutable<?>>
-
Nested classes/interfaces inherited from interface one.microstream.util.InstanceDispatcher
InstanceDispatcher.Default
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceFoundation
PersistenceFoundation.Default<M,F extends PersistenceFoundation.Default<M,?>>
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
-
Methods inherited from class one.microstream.util.InstanceDispatcher.Default
setInstanceDispatcherLogic
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.ByteOrderTargeting
isByteOrderMismatch
-
Methods inherited from interface one.microstream.persistence.types.PersistenceFoundation
setTypeDictionaryIoHandler
-
-
-
-
Method Detail
-
Clone
public PersistenceFoundation.Default<M,F> Clone()
Description copied from interface:Cloneable
This method creates a new instance of the sameClass
, specified by, of the instance on which this method is called. Whatever initializations required to create a functional new instance are performed.However, this method does NOT create a copy of the current instance. (A common mistake is to confuse cloning with copying: cloning creates a duplicate with only equal initial state while copying creates a duplicate with equal full state. Example: a clone of an adult would not be an identical adult, but just an embryo with equal DNA. A state-wise identical adult would be a copy, not a clone.)
This method is effectively a constructor called on an existing instance. The use case of such a method is to eliminate the need to redundantly pass a second instance or constructor if a clone of an instance is needed.
To indicate the constructor-like character of this method, the pattern of starting the name with a capital letter is applied to this method (and to workaround the botch-job protected method the moronic JDK developers hardcoded in Object.)
- Specified by:
Clone
in interfaceCloneable<M>
- Specified by:
Clone
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
- Returns:
- a clone of this instance.
-
customTypeHandlers
public XMap<Class<?>,PersistenceTypeHandler<M,?>> customTypeHandlers()
- Specified by:
customTypeHandlers
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
registerCustomTypeHandlers
public F registerCustomTypeHandlers(HashTable<Class<?>,PersistenceTypeHandler<M,?>> customTypeHandlers)
- Specified by:
registerCustomTypeHandlers
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
registerCustomTypeHandlers
public F registerCustomTypeHandlers(PersistenceTypeHandler<M,?>... customTypeHandlers)
- Specified by:
registerCustomTypeHandlers
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
registerCustomTypeHandlers
public F registerCustomTypeHandlers(Iterable<? extends PersistenceTypeHandler<M,?>> customTypeHandlers)
- Specified by:
registerCustomTypeHandlers
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
registerCustomTypeHandler
public F registerCustomTypeHandler(PersistenceTypeHandler<M,?> customTypeHandler)
- Specified by:
registerCustomTypeHandler
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
customTypeInstantiators
public XMap<Class<?>,PersistenceTypeInstantiator<M,?>> customTypeInstantiators()
- Specified by:
customTypeInstantiators
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
registerCustomInstantiator
public <T> F registerCustomInstantiator(Class<T> type, PersistenceTypeInstantiator<M,T> typeInstantiator)
- Specified by:
registerCustomInstantiator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getInstanceDispatcherLogic
public InstanceDispatcherLogic getInstanceDispatcherLogic()
- Specified by:
getInstanceDispatcherLogic
in interfaceInstanceDispatcher
- Specified by:
getInstanceDispatcherLogic
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
- Overrides:
getInstanceDispatcherLogic
in classInstanceDispatcher.Default
-
getObjectIdProvider
public PersistenceObjectIdProvider getObjectIdProvider()
- Specified by:
getObjectIdProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeIdProvider
public PersistenceTypeIdProvider getTypeIdProvider()
- Specified by:
getTypeIdProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeLineageCreator
public PersistenceTypeLineageCreator getTypeLineageCreator()
- Specified by:
getTypeLineageCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getObjectRegistry
public PersistenceObjectRegistry getObjectRegistry()
- Specified by:
getObjectRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeRegistry
public PersistenceTypeRegistry getTypeRegistry()
- Specified by:
getTypeRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getObjectManager
public PersistenceObjectManager getObjectManager()
- Specified by:
getObjectManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeHandlerManager
public PersistenceTypeHandlerManager<M> getTypeHandlerManager()
- Specified by:
getTypeHandlerManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getContextDispatcher
public PersistenceContextDispatcher<M> getContextDispatcher()
- Specified by:
getContextDispatcher
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getStorerCreator
public PersistenceStorer.Creator<M> getStorerCreator()
- Specified by:
getStorerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRegistererCreator
public PersistenceRegisterer.Creator getRegistererCreator()
- Specified by:
getRegistererCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getBuilderCreator
public PersistenceLoader.Creator<M> getBuilderCreator()
- Specified by:
getBuilderCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getPersistenceTarget
public PersistenceTarget<M> getPersistenceTarget()
- Specified by:
getPersistenceTarget
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getPersistenceSource
public PersistenceSource<M> getPersistenceSource()
- Specified by:
getPersistenceSource
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeHandlerRegistry
public PersistenceTypeHandlerRegistry<M> getTypeHandlerRegistry()
- Specified by:
getTypeHandlerRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeHandlerProvider
public PersistenceTypeHandlerProvider<M> getTypeHandlerProvider()
- Specified by:
getTypeHandlerProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeManager
public PersistenceTypeManager getTypeManager()
- Specified by:
getTypeManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeHandlerEnsurer
public PersistenceTypeHandlerEnsurer<M> getTypeHandlerEnsurer()
- Specified by:
getTypeHandlerEnsurer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryProvider
public PersistenceTypeDictionaryProvider getTypeDictionaryProvider()
- Specified by:
getTypeDictionaryProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryManager
public PersistenceTypeDictionaryManager getTypeDictionaryManager()
- Specified by:
getTypeDictionaryManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryCreator
public PersistenceTypeDictionaryCreator getTypeDictionaryCreator()
- Specified by:
getTypeDictionaryCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryExporter
public PersistenceTypeDictionaryExporter getTypeDictionaryExporter()
- Specified by:
getTypeDictionaryExporter
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryParser
public PersistenceTypeDictionaryParser getTypeDictionaryParser()
- Specified by:
getTypeDictionaryParser
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryLoader
public PersistenceTypeDictionaryLoader getTypeDictionaryLoader()
- Specified by:
getTypeDictionaryLoader
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryBuilder
public PersistenceTypeDictionaryBuilder getTypeDictionaryBuilder()
- Specified by:
getTypeDictionaryBuilder
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryCompiler
public PersistenceTypeDictionaryCompiler getTypeDictionaryCompiler()
- Specified by:
getTypeDictionaryCompiler
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryAssembler
public PersistenceTypeDictionaryAssembler getTypeDictionaryAssembler()
- Specified by:
getTypeDictionaryAssembler
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDictionaryStorer
public PersistenceTypeDictionaryStorer getTypeDictionaryStorer()
- Specified by:
getTypeDictionaryStorer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeHandlerCreator
public PersistenceTypeHandlerCreator<M> getTypeHandlerCreator()
- Specified by:
getTypeHandlerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getCustomTypeHandlerRegistry
public PersistenceCustomTypeHandlerRegistry<M> getCustomTypeHandlerRegistry()
Description copied from interface:PersistenceFoundation
Creates if required and returns thePersistenceCustomTypeHandlerRegistry
containing all custom tailoredPersistenceTypeHandler
instances for specialized handling of instances.To avoid order problems caused by internal implicit dependencies (e.g. creating the default custom type handlers required
PersistenceFoundation.getReferenceFieldEagerEvaluator()
), usePersistenceFoundation.customTypeHandlers()
or one of theregisterCustomTypeHandler~
methods.- Specified by:
getCustomTypeHandlerRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
- Returns:
- the (on-demand created)
PersistenceCustomTypeHandlerRegistry
instance.
-
getTypeAnalyzer
public PersistenceTypeAnalyzer getTypeAnalyzer()
- Specified by:
getTypeAnalyzer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeResolver
public PersistenceTypeResolver getTypeResolver()
- Specified by:
getTypeResolver
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeMismatchValidator
public PersistenceTypeMismatchValidator<M> getTypeMismatchValidator()
- Specified by:
getTypeMismatchValidator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDefinitionCreator
public PersistenceTypeDefinitionCreator getTypeDefinitionCreator()
- Specified by:
getTypeDefinitionCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeEvaluatorPersistable
public PersistenceTypeEvaluator getTypeEvaluatorPersistable()
- Specified by:
getTypeEvaluatorPersistable
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getFieldFixedLengthResolver
public PersistenceFieldLengthResolver getFieldFixedLengthResolver()
- Specified by:
getFieldFixedLengthResolver
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getBufferSizeProvider
public BufferSizeProviderIncremental getBufferSizeProvider()
- Specified by:
getBufferSizeProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getFieldEvaluatorPersistable
public PersistenceFieldEvaluator getFieldEvaluatorPersistable()
- Specified by:
getFieldEvaluatorPersistable
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getFieldEvaluatorEnum
public PersistenceFieldEvaluator getFieldEvaluatorEnum()
- Specified by:
getFieldEvaluatorEnum
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getFieldEvaluatorCollection
public PersistenceFieldEvaluator getFieldEvaluatorCollection()
- Specified by:
getFieldEvaluatorCollection
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getReferenceFieldEagerEvaluator
public PersistenceEagerStoringFieldEvaluator getReferenceFieldEagerEvaluator()
- Specified by:
getReferenceFieldEagerEvaluator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRootResolverProvider
public PersistenceRootResolverProvider getRootResolverProvider()
- Specified by:
getRootResolverProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getUnreachableTypeHandlerCreator
public PersistenceUnreachableTypeHandlerCreator<M> getUnreachableTypeHandlerCreator()
- Specified by:
getUnreachableTypeHandlerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getLegacyTypeMapper
public PersistenceLegacyTypeMapper<M> getLegacyTypeMapper()
- Specified by:
getLegacyTypeMapper
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRefactoringMappingProvider
public PersistenceRefactoringMappingProvider getRefactoringMappingProvider()
- Specified by:
getRefactoringMappingProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeDescriptionResolverProvider
public PersistenceTypeDescriptionResolverProvider getTypeDescriptionResolverProvider()
- Specified by:
getTypeDescriptionResolverProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRefactoringLegacyTypeIdentifierBuilders
public XEnum<? extends PersistenceRefactoringTypeIdentifierBuilder> getRefactoringLegacyTypeIdentifierBuilders()
- Specified by:
getRefactoringLegacyTypeIdentifierBuilders
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRefactoringLegacyMemberIdentifierBuilders
public XEnum<? extends PersistenceRefactoringMemberIdentifierBuilder> getRefactoringLegacyMemberIdentifierBuilders()
- Specified by:
getRefactoringLegacyMemberIdentifierBuilders
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRefactoringCurrentMemberIdentifierBuilders
public XEnum<? extends PersistenceRefactoringMemberIdentifierBuilder> getRefactoringCurrentMemberIdentifierBuilders()
- Specified by:
getRefactoringCurrentMemberIdentifierBuilders
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTypeSimilarity
public TypeMapping<Float> getTypeSimilarity()
- Specified by:
getTypeSimilarity
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getLegacyMemberMatchingProvider
public PersistenceMemberMatchingProvider getLegacyMemberMatchingProvider()
- Specified by:
getLegacyMemberMatchingProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getLegacyTypeMappingResultor
public PersistenceLegacyTypeMappingResultor<M> getLegacyTypeMappingResultor()
- Specified by:
getLegacyTypeMappingResultor
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getLegacyTypeHandlerCreator
public PersistenceLegacyTypeHandlerCreator<M> getLegacyTypeHandlerCreator()
- Specified by:
getLegacyTypeHandlerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getLegacyTypeHandlingListener
public PersistenceLegacyTypeHandlingListener<M> getLegacyTypeHandlingListener()
- Specified by:
getLegacyTypeHandlingListener
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getSizedArrayLengthController
public PersistenceSizedArrayLengthController getSizedArrayLengthController()
- Specified by:
getSizedArrayLengthController
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getLambdaTypeRecognizer
public LambdaTypeRecognizer getLambdaTypeRecognizer()
- Specified by:
getLambdaTypeRecognizer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getRootsProvider
public PersistenceRootsProvider<M> getRootsProvider()
- Specified by:
getRootsProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getInstantiator
public PersistenceInstantiator<M> getInstantiator()
- Specified by:
getInstantiator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getInstantiatorProvider
public PersistenceTypeInstantiatorProvider<M> getInstantiatorProvider()
- Specified by:
getInstantiatorProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
getTargetByteOrder
public ByteOrder getTargetByteOrder()
- Specified by:
getTargetByteOrder
in interfaceByteOrderTargeting<M>
-
setInstanceDispatcher
public F setInstanceDispatcher(InstanceDispatcherLogic instanceDispatcher)
- Specified by:
setInstanceDispatcher
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setObjectIdProvider
public F setObjectIdProvider(PersistenceObjectIdProvider oidProvider)
- Specified by:
setObjectIdProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeIdProvider
public F setTypeIdProvider(PersistenceTypeIdProvider tidProvider)
- Specified by:
setTypeIdProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setIdProvider
public <P extends PersistenceTypeIdProvider & PersistenceObjectIdProvider> F setIdProvider(P typeIdProvider)
- Specified by:
setIdProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setObjectManager
public F setObjectManager(PersistenceObjectManager objectManager)
- Specified by:
setObjectManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setStorerCreator
public F setStorerCreator(PersistenceStorer.Creator<M> storerCreator)
- Specified by:
setStorerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeHandlerCreatorLookup
public F setTypeHandlerCreatorLookup(PersistenceTypeHandlerEnsurer<M> typeHandlerCreatorLookup)
- Specified by:
setTypeHandlerCreatorLookup
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeHandlerCreator
public F setTypeHandlerCreator(PersistenceTypeHandlerCreator<M> typeHandlerCreator)
- Specified by:
setTypeHandlerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeAnalyzer
public F setTypeAnalyzer(PersistenceTypeAnalyzer typeAnalyzer)
- Specified by:
setTypeAnalyzer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeResolver
public F setTypeResolver(PersistenceTypeResolver typeResolver)
- Specified by:
setTypeResolver
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeHandlerManager
public F setTypeHandlerManager(PersistenceTypeHandlerManager<M> typeHandlerManager)
- Specified by:
setTypeHandlerManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setContextDispatcher
public F setContextDispatcher(PersistenceContextDispatcher<M> contextDispatcher)
- Specified by:
setContextDispatcher
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setObjectRegistry
public F setObjectRegistry(PersistenceObjectRegistry objectRegistry)
- Specified by:
setObjectRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeRegistry
public F setTypeRegistry(PersistenceTypeRegistry typeRegistry)
- Specified by:
setTypeRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeManager
public F setTypeManager(PersistenceTypeManager typeManager)
- Specified by:
setTypeManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeHandlerRegistry
public F setTypeHandlerRegistry(PersistenceTypeHandlerRegistry<M> typeHandlerRegistry)
- Specified by:
setTypeHandlerRegistry
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeHandlerProvider
public F setTypeHandlerProvider(PersistenceTypeHandlerProvider<M> typeHandlerProvider)
- Specified by:
setTypeHandlerProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRegistererCreator
public F setRegistererCreator(PersistenceRegisterer.Creator registererCreator)
- Specified by:
setRegistererCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setBuilderCreator
public F setBuilderCreator(PersistenceLoader.Creator<M> builderCreator)
- Specified by:
setBuilderCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setPersistenceTarget
public F setPersistenceTarget(PersistenceTarget<M> target)
- Specified by:
setPersistenceTarget
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setPersistenceSource
public F setPersistenceSource(PersistenceSource<M> source)
- Specified by:
setPersistenceSource
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setPersistenceChannel
public F setPersistenceChannel(PersistenceChannel<M> persistenceChannel)
- Specified by:
setPersistenceChannel
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setSizedArrayLengthController
public F setSizedArrayLengthController(PersistenceSizedArrayLengthController sizedArrayLengthController)
- Specified by:
setSizedArrayLengthController
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryManager
public F setTypeDictionaryManager(PersistenceTypeDictionaryManager typeDictionaryManager)
- Specified by:
setTypeDictionaryManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryCreator
public F setTypeDictionaryCreator(PersistenceTypeDictionaryCreator typeDictionaryCreator)
- Specified by:
setTypeDictionaryCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryProvider
public F setTypeDictionaryProvider(PersistenceTypeDictionaryProvider typeDictionaryProvider)
- Specified by:
setTypeDictionaryProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryExporter
public F setTypeDictionaryExporter(PersistenceTypeDictionaryExporter typeDictionaryExporter)
- Specified by:
setTypeDictionaryExporter
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryParser
public F setTypeDictionaryParser(PersistenceTypeDictionaryParser typeDictionaryParser)
- Specified by:
setTypeDictionaryParser
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryAssembler
public F setTypeDictionaryAssembler(PersistenceTypeDictionaryAssembler typeDictionaryAssembler)
- Specified by:
setTypeDictionaryAssembler
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryLoader
public F setTypeDictionaryLoader(PersistenceTypeDictionaryLoader typeDictionaryLoader)
- Specified by:
setTypeDictionaryLoader
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryBuilder
public F setTypeDictionaryBuilder(PersistenceTypeDictionaryBuilder typeDictionaryBuilder)
- Specified by:
setTypeDictionaryBuilder
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryCompiler
public F setTypeDictionaryCompiler(PersistenceTypeDictionaryCompiler typeDictionaryCompiler)
- Specified by:
setTypeDictionaryCompiler
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryStorer
public F setTypeDictionaryStorer(PersistenceTypeDictionaryStorer typeDictionaryStorer)
- Specified by:
setTypeDictionaryStorer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDictionaryIoHandling
public <H extends PersistenceTypeDictionaryLoader & PersistenceTypeDictionaryStorer> F setTypeDictionaryIoHandling(H typeDictionaryStorageHandler)
- Specified by:
setTypeDictionaryIoHandling
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeLineageCreator
public F setTypeLineageCreator(PersistenceTypeLineageCreator typeLineageCreator)
- Specified by:
setTypeLineageCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeMismatchValidator
public F setTypeMismatchValidator(PersistenceTypeMismatchValidator<M> typeMismatchValidator)
- Specified by:
setTypeMismatchValidator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDescriptionBuilder
public F setTypeDescriptionBuilder(PersistenceTypeDefinitionCreator typeDefinitionCreator)
- Specified by:
setTypeDescriptionBuilder
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeEvaluatorPersistable
public F setTypeEvaluatorPersistable(PersistenceTypeEvaluator typeEvaluatorPersistable)
- Specified by:
setTypeEvaluatorPersistable
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setBufferSizeProvider
public F setBufferSizeProvider(BufferSizeProviderIncremental bufferSizeProvider)
- Specified by:
setBufferSizeProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setFieldFixedLengthResolver
public F setFieldFixedLengthResolver(PersistenceFieldLengthResolver fieldFixedLengthResolver)
- Specified by:
setFieldFixedLengthResolver
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setFieldEvaluatorPersistable
public F setFieldEvaluatorPersistable(PersistenceFieldEvaluator fieldEvaluator)
- Specified by:
setFieldEvaluatorPersistable
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setFieldEvaluatorEnum
public F setFieldEvaluatorEnum(PersistenceFieldEvaluator fieldEvaluator)
- Specified by:
setFieldEvaluatorEnum
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setFieldEvaluatorCollection
public F setFieldEvaluatorCollection(PersistenceFieldEvaluator fieldEvaluator)
- Specified by:
setFieldEvaluatorCollection
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setReferenceFieldEagerEvaluator
public F setReferenceFieldEagerEvaluator(PersistenceEagerStoringFieldEvaluator evaluator)
- Specified by:
setReferenceFieldEagerEvaluator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRootResolverProvider
public F setRootResolverProvider(PersistenceRootResolverProvider rootResolverProvider)
- Specified by:
setRootResolverProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setLambdaTypeRecognizer
public F setLambdaTypeRecognizer(LambdaTypeRecognizer lambdaTypeRecognizer)
- Specified by:
setLambdaTypeRecognizer
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRootsProvider
public F setRootsProvider(PersistenceRootsProvider<M> rootsProvider)
- Specified by:
setRootsProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setUnreachableTypeHandlerCreator
public F setUnreachableTypeHandlerCreator(PersistenceUnreachableTypeHandlerCreator<M> unreachableTypeHandlerCreator)
- Specified by:
setUnreachableTypeHandlerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setLegacyTypeMapper
public F setLegacyTypeMapper(PersistenceLegacyTypeMapper<M> legacyTypeMapper)
- Specified by:
setLegacyTypeMapper
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRefactoringMappingProvider
public F setRefactoringMappingProvider(PersistenceRefactoringMappingProvider refactoringMappingProvider)
- Specified by:
setRefactoringMappingProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeDescriptionResolverProvider
public F setTypeDescriptionResolverProvider(PersistenceTypeDescriptionResolverProvider typeDescriptionResolverProvi)
- Specified by:
setTypeDescriptionResolverProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRefactoringLegacyTypeIdentifierBuilders
public F setRefactoringLegacyTypeIdentifierBuilders(XEnum<? extends PersistenceRefactoringTypeIdentifierBuilder> refactoringTypeIdentifierBuilders)
- Specified by:
setRefactoringLegacyTypeIdentifierBuilders
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRefactoringLegacyMemberIdentifierBuilders
public F setRefactoringLegacyMemberIdentifierBuilders(XEnum<? extends PersistenceRefactoringMemberIdentifierBuilder> refactoringMemberIdentifierBuilders)
- Specified by:
setRefactoringLegacyMemberIdentifierBuilders
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setRefactoringCurrentMemberIdentifierBuilders
public F setRefactoringCurrentMemberIdentifierBuilders(XEnum<? extends PersistenceRefactoringMemberIdentifierBuilder> refactoringMemberIdentifierBuilders)
- Specified by:
setRefactoringCurrentMemberIdentifierBuilders
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTypeSimilarity
public F setTypeSimilarity(TypeMapping<Float> typeSimilarity)
- Specified by:
setTypeSimilarity
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setLegacyMemberMatchingProvider
public F setLegacyMemberMatchingProvider(PersistenceMemberMatchingProvider legacyMemberMatchingProvider)
- Specified by:
setLegacyMemberMatchingProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setLegacyTypeMappingResultor
public F setLegacyTypeMappingResultor(PersistenceLegacyTypeMappingResultor<M> legacyTypeMappingResultor)
- Specified by:
setLegacyTypeMappingResultor
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setLegacyTypeHandlerCreator
public F setLegacyTypeHandlerCreator(PersistenceLegacyTypeHandlerCreator<M> legacyTypeHandlerCreator)
- Specified by:
setLegacyTypeHandlerCreator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setLegacyTypeHandlingListener
public F setLegacyTypeHandlingListener(PersistenceLegacyTypeHandlingListener<M> legacyTypeHandlingListener)
- Specified by:
setLegacyTypeHandlingListener
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setInstantiator
public F setInstantiator(PersistenceInstantiator<M> instantiator)
- Specified by:
setInstantiator
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setInstantiatorProvider
public F setInstantiatorProvider(PersistenceTypeInstantiatorProvider<M> instantiatorProvider)
- Specified by:
setInstantiatorProvider
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
setTargetByteOrder
public F setTargetByteOrder(ByteOrder targetByteOrder)
- Specified by:
setTargetByteOrder
in interfaceByteOrderTargeting.Mutable<M>
-
executeTypeHandlerRegistration
public F executeTypeHandlerRegistration(PersistenceTypeHandlerRegistration<M> typeHandlerRegistration)
Description copied from interface:PersistenceFoundation
Executes the passedPersistenceTypeHandlerRegistration
logic while supplying this instance'sPersistenceCustomTypeHandlerRegistry
andPersistenceSizedArrayLengthController
instances. The passed instance itself will not be referenced after the method exits.- Specified by:
executeTypeHandlerRegistration
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
- Parameters:
typeHandlerRegistration
- thePersistenceTypeHandlerRegistration
to be executed.- Returns:
- this to allow method chaining.
-
createPersistenceManager
public PersistenceManager<M> createPersistenceManager()
- Specified by:
createPersistenceManager
in interfacePersistenceFoundation<M,F extends PersistenceFoundation.Default<M,?>>
-
-