Class EmbeddedIdMapper

    • Constructor Detail

    • Method Detail

      • mapToEntityFromMap

        public boolean mapToEntityFromMap​(Object obj,
                                          Map data)
        Specified by:
        mapToEntityFromMap in interface IdMapper
        obj - Object to map to.
        data - Data to map.
        True if data was mapped; false otherwise (when the id is null).
      • prefixMappedProperties

        public IdMapper prefixMappedProperties​(String prefix)
        Description copied from interface: IdMapper
        Creates a mapper with all mapped properties prefixed. A mapped property is a property which is directly mapped to values (not composite).
        Specified by:
        prefixMappedProperties in interface IdMapper
        prefix - Prefix to add to mapped properties
        A copy of the current property mapper, with mapped properties prefixed.