Class EmbeddedIdMapper

    • Constructor Detail

    • Method Detail

      • mapToEntityFromMap

        public boolean mapToEntityFromMap​(Object obj,
                                          Map data)
        Specified by:
        mapToEntityFromMap in interface IdMapper
        Parameters:
        obj - Object to map to.
        data - Data to map.
        Returns:
        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
        Parameters:
        prefix - Prefix to add to mapped properties
        Returns:
        A copy of the current property mapper, with mapped properties prefixed.