Class MappingsParser


  • public final class MappingsParser
    extends Object
    Internal class that decorates raw ClassMap objects and performs various validations on the explicit field mappings. It applies global configuration and class level attributes to raw class mappings. It also creates the ClassMap "prime" instance for bi-directional mappings. The ClassMap prime is created by copying the original ClassMap and reversing the attributes. Only intended for internal use.
    • Method Detail

      • processMappings

        public ClassMappings processMappings​(List<ClassMap> classMaps,
                                             Configuration globalConfiguration)
        Decorates raw ClassMap objects and performs various validations on the explicit field mappings. It applies global configuration and class level attributes to raw class mappings.
        Parameters:
        classMaps - Input class maps.
        globalConfiguration - Global configuration.
        Returns:
        Resulting class mappings.