/// <summary> /// Check that data is valid. /// </summary> public override void CheckData() { base.CheckData(); if (Factors.IsNotEmpty()) { foreach (WebFactor factor in Factors) { factor.CheckData(); } } if (IndividualCategories.IsNotEmpty()) { foreach (WebIndividualCategory individualCategory in IndividualCategories) { individualCategory.CheckData(); } } if (SpeciesFactFieldConditions.IsNotEmpty()) { foreach (WebSpeciesFactFieldCondition speciesFactFieldCondition in SpeciesFactFieldConditions) { speciesFactFieldCondition.CheckData(); } } if (Periods.IsNotEmpty()) { foreach (WebPeriod period in Periods) { period.CheckData(); } } }