using System.Collections.Generic;
using Core.Common.Base;
using Ringtoets.Common.Data;
using Ringtoets.Integration.Data.Placeholders;
using Ringtoets.Integration.Data.Properties;
namespace Ringtoets.Integration.Data
{
///
/// Base implementation of assessment sections.
///
public abstract class AssessmentSectionBase : Observable
{
///
/// Initializes a new instance of the class.
///
protected AssessmentSectionBase()
{
Name = "";
ReferenceLine = new InputPlaceholder(Resources.ReferenceLine_DisplayName);
FailureMechanismContribution = new InputPlaceholder(Resources.FailureMechanismContribution_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 InputPlaceholder FailureMechanismContribution { get; private 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();
}
}