Class PrintingLegacyTypeMappingResultor<M>
- java.lang.Object
-
- one.microstream.persistence.internal.PrintingLegacyTypeMappingResultor<M>
-
- All Implemented Interfaces:
PersistenceLegacyTypeMappingResultor<M>
public class PrintingLegacyTypeMappingResultor<M> extends Object implements PersistenceLegacyTypeMappingResultor<M>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceLegacyTypeMappingResultor
PersistenceLegacyTypeMappingResultor.Default<M>, PersistenceLegacyTypeMappingResultor.Static
-
-
Constructor Summary
Constructors Constructor Description PrintingLegacyTypeMappingResultor()
-
Method Summary
-
-
-
Method Detail
-
assembleMappingWithHeader
public static String assembleMappingWithHeader(XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers, PersistenceLegacyTypeMappingResult<?,?> result)
-
assembleMappingHeader
public static VarString assembleMappingHeader(VarString vs, PersistenceLegacyTypeMappingResult<?,?> result)
-
assembleMapping
public static VarString assembleMapping(VarString vs, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers, PersistenceLegacyTypeMappingResult<?,?> result)
-
assembleMemberName
public static final VarString assembleMemberName(VarString vs, PersistenceTypeDefinitionMember member)
-
New
public static <M> PrintingLegacyTypeMappingResultor<M> New(PersistenceLegacyTypeMappingResultor<M> delegate)
-
createMappingResult
public <T> PersistenceLegacyTypeMappingResult<M,T> createMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<M,T> currentTypeHandler, XGettingMap<PersistenceTypeDefinitionMember,PersistenceTypeDefinitionMember> explicitMappings, XGettingSet<PersistenceTypeDefinitionMember> explicitNewMembers, MultiMatch<PersistenceTypeDefinitionMember> matchedMembers)
Description copied from interface:PersistenceLegacyTypeMappingResultor
Override this method to implement various functions like ...- user-callback-based validating/modifying
- rule-based automatically validating/modifying
- displaying
- logging
- persisting
- Specified by:
createMappingResult
in interfacePersistenceLegacyTypeMappingResultor<M>
-
-