-
-
Method Summary
Modifier and Type |
Method |
Description |
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) |
|
static <D,
T> PersistenceLegacyTypeMappingResult<D,T> |
createLegacyTypeMappingResult(PersistenceTypeDefinition legacyTypeDefinition,
PersistenceTypeHandler<D,T> currentTypeHandler,
XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings,
XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers,
MultiMatch<PersistenceTypeDefinitionMember> matchedMembers) |
|
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 ...
|
static <D> PersistenceLegacyTypeMappingResultor<D> |
New() |
|
-
Method Details
-
Override this method to implement various functions like ...
- user-callback-based validating/modifying
- rule-based automatically validating/modifying
- displaying
- logging
- persisting
... the created mapping.
- Type Parameters:
T
- the handled type
- Parameters:
legacyTypeDefinition
- the type definition
currentTypeHandler
- the type handler
explicitMappings
- given explicit mappings
explicitNewMembers
- given explicit new members
matchedMembers
- given matched members
- Returns:
- the calculated result
-
-
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)
-