Interface PersistenceLegacyTypeMappingResultor<M>
-
- All Known Implementing Classes:
InquiringLegacyTypeMappingResultor
,PersistenceLegacyTypeMappingResultor.Default
,PrintingLegacyTypeMappingResultor
public interface PersistenceLegacyTypeMappingResultor<M>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceLegacyTypeMappingResultor.Default<M>
static class
PersistenceLegacyTypeMappingResultor.Static
-
Method Summary
-
-
-
Method Detail
-
createMappingResult
default <T> PersistenceLegacyTypeMappingResult<M,T> createMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<M,T> currentTypeHandler, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers)
Override this method to implement various functions like ...- user-callback-based validating/modifying
- rule-based automatically validating/modifying
- displaying
- logging
- persisting
- Parameters:
legacyTypeDefinition
-currentTypeHandler
-explicitMappings
-matchedMembers
-
-
createLegacyTypeMappingResult
static <M,T> PersistenceLegacyTypeMappingResult<M,T> createLegacyTypeMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<M,T> currentTypeHandler, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers)
-
combineMappings
static void combineMappings(XTable<PersistenceTypeDefinitionMember,Similarity<PersistenceTypeDefinitionMember>> legacyToCurrentMembers, XTable<PersistenceTypeDefinitionMember,Similarity<PersistenceTypeDefinitionMember>> currentToLegacyMembers, XEnum<PersistenceTypeDefinitionMember> discardedLegacyMembers, XEnum<PersistenceTypeDefinitionMember> newCurrentMembers, PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<?,?> currentTypeHandler, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers)
-
New
static <M> PersistenceLegacyTypeMappingResultor<M> New()
-
-