Class PrintingLegacyTypeMappingResultor<D>
java.lang.Object
one.microstream.persistence.internal.PrintingLegacyTypeMappingResultor<D>
- All Implemented Interfaces:
PersistenceLegacyTypeMappingResultor<D>
public class PrintingLegacyTypeMappingResultor<D> extends Object implements PersistenceLegacyTypeMappingResultor<D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceLegacyTypeMappingResultor
PersistenceLegacyTypeMappingResultor.Default<D>, PersistenceLegacyTypeMappingResultor.Static
-
Constructor Summary
Constructors Constructor Description PrintingLegacyTypeMappingResultor()
-
Method Summary
-
Constructor Details
-
PrintingLegacyTypeMappingResultor
public PrintingLegacyTypeMappingResultor()
-
-
Method Details
-
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 <D> PrintingLegacyTypeMappingResultor<D> New(PersistenceLegacyTypeMappingResultor<D> delegate) -
createMappingResult
public <T> PersistenceLegacyTypeMappingResult<D,T> createMappingResult(PersistenceTypeDefinition legacyTypeDefinition, PersistenceTypeHandler<D,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<D>
-