using System; using System.Collections.Generic; using System.IO; namespace Deltares.Maps { public interface IAttributeImporter { /// /// Gets or sets the target object lookup table /// IEnumerable Targets { set; } /// /// IFeatureRepository AttributeRepository { set; } /// /// IEnumerable Errors { get; } string FileName { set; } void AddError(Exception exception); /// /// Sets the attribute mappings /// IEnumerable> AttributeMappings { set; } /// /// /// /// Preconditions: /// - A valid data folder needs to given /// - A set of "targets" with their characteristic points table and initialized id's available from the waterboard /// - The required files need to be in the data folder (one for the characteristics points, /// - A set of (characteristic) lines wich have to be retrieved from the files /// Postconditions: /// - Some targets (the result of a join from the Location shape file and the existing location list from the /// Waterboard) have new characteristic point values /// /// /// /// /// void Import(); } }