using System.Collections.Generic; using Core.Common.Base; using Core.Common.Base.Storage; using Ringtoets.Common.Data; using Ringtoets.Common.Placeholder; using Ringtoets.Integration.Data.Contribution; using Ringtoets.Integration.Data.Properties; namespace Ringtoets.Integration.Data { /// /// Base implementation of assessment sections. /// public abstract class AssessmentSectionBase : Observable, IStorable { /// /// Initializes a new instance of the class. /// protected AssessmentSectionBase() { Name = ""; ReferenceLine = new InputPlaceholder(Resources.ReferenceLine_DisplayName); HydraulicBoundaryDatabase = new InputPlaceholder(Resources.HydraulicBoundaryDatabase_DisplayName); } /// /// Gets or sets the name of the assessment section. /// public string Name { get; set; } /// /// Gets or sets the reference line defining the geometry of the dike assessment section. /// public InputPlaceholder ReferenceLine { get; private set; } /// /// Gets or sets the contribution of each failure mechanism available in this assessment section. /// public FailureMechanismContribution FailureMechanismContribution { get; protected set; } /// /// Gets or sets the hydraulic boundary database. /// public InputPlaceholder HydraulicBoundaryDatabase { get; private set; } /// /// Gets the failure mechanisms corresponding to the assessment section. /// public abstract IEnumerable GetFailureMechanisms(); /// /// Gets or sets the unique identifier for the storage of the class. /// public long StorageId { get; set; } } }