Interface PersistenceLegacyTypeMappingResultor<D>
-
- All Known Implementing Classes:
InquiringLegacyTypeMappingResultor
,PersistenceLegacyTypeMappingResultor.Default
,PrintingLegacyTypeMappingResultor
public interface PersistenceLegacyTypeMappingResultor<D>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceLegacyTypeMappingResultor.Default<D>
static class
PersistenceLegacyTypeMappingResultor.Static
-
Method Summary
-
-
-
Method Detail
-
createMappingResult
default <T> PersistenceLegacyTypeMappingResult<D,T> createMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<D,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 <D,T> PersistenceLegacyTypeMappingResult<D,T> createLegacyTypeMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<D,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 <D> PersistenceLegacyTypeMappingResultor<D> New()
-
-