Class AbstractSubformDataMapper<T>

    • Method Detail

      • getByParentId

        @NullMarked
        public java.util.List<T> getByParentId​(int parentId)
        Loads a data set from database and maps it into destination data type
        Specified by:
        getByParentId in interface SubformDataMapper<T>
        Parameters:
        parentId - The database id of the parent procedure data set
        Returns:
        The data set to be loaded
      • map

        protected abstract @Nullable T map​(ResultSet resultSet)
        Maps a single result set into destination object
        Parameters:
        resultSet - The result set to start from
        Returns:
        The destination object