StochasticSoilModelUpdateDataStrategy.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merged back to trunk Related to Issue [WTI-1343]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@11252 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 8d38d0cfa5614fa51edcad7c422a8cda51ea6dd3

Former-commit-id: e8e09d7f5a02c59baf786142df4a1ffe8aae4202

    • -113
    • +0
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 176 more files in changeset.
Merge from branch 1289

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@10763 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ba3056d252e5c6e4ca7694457d6ac85073639d97

Former-commit-id: 7bce824a3d3e04d9e23e441c42e22972210259b3

    • -5
    • +3
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 151 more files in changeset.
Review related change: - UpdateObjectAndDependentData is served unequal objects - Removed equality check from derived classes Related to Issue [WTI-1172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9893 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: fe0b16453ae97948bdba955b74611b4ab702c365

Former-commit-id: c7c36b9727184fc11fb8354a5aea67b8819a698c

    • -4
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 7 more files in changeset.
Made StructureBase Observerable Updated UpdateDataStrategyBase to only accept Observerable objects to update Moved logic of adding *UpdatedObject* to the affected list to UpdateDataStrategyBase Related to Issue [WTI-1172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9863 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 52d7ad1eb8ed61b78ea3e3b9e94a00fdb81992ac

Former-commit-id: 15da2382f2138710ec8ff0f08768d6cf3c237161

    • -4
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 7 more files in changeset.
Removed StochasticSoilModelUpdateException Related to Issue [WTI-1172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9700 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f30320751a6c69c37bd026b15978d1eaaa68bb75

Former-commit-id: 3a66a72c19e29179899a1b516e3131c3d383b776

    • -14
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 12 more files in changeset.
Updated license headers in Piping. Related to Issue [WTI-1242]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9501 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: fda79840b5ca2b26234f71f990a231a69cefce05

Former-commit-id: 22decd2346491fae07602843fbe9b8931260bcc6

    • -1
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 394 more files in changeset.
Merged all revision(s) from branches/UpdateDikeProfilesFeature

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@9282 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 5f84130acb4bd2113b949015b4049e0c0b5795c4

Former-commit-id: 86ce2960f4b2cd6be35b62d7b6608749e29f1022

    • -23
    • +18
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 147 more files in changeset.
Incorporated comments review 1488: - Improved tests of StrategyBase: -- Replaced the return methods with properties to assert if they're called with the right input arguments -- Renamed several tests - Ran DeltaresClean - Inlined the ValidateItems function in the ObservableUniqueItemCollectionWithSourcePath Related to Issue [WTI-1075]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8450 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4ffcec0c1dcd11672904c2b637269d6a80545364

Former-commit-id: eee856fa71a461b074affbe52ed8d0429d4a7333

    • -2
    • +4
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 4 more files in changeset.
Incorporated comments review 1478: - Generalized Update and Removing data from the concrete UpdateStrategyBase class implementations and moved it to the base class -- Fixed affected tests - Added condition: observers of the target collection should be notified when the items are added or removed from the collection -- Added test to verify behaviour -- Added deepclone method for TestItem Related to Issue [WTI-1075]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8419 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b6a7ca74a432a9524fb4e100936403211e8c74e4

Former-commit-id: 78f360a48b04555133c0aac044cb8878e28ccdb4

    • -23
    • +9
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 5 more files in changeset.
Added DataUpdateHelper which can be used to update data imported by the DataImportHelper. Added Dr6_updated which has a removed stochastic soil model, removed stochastic soil profile and modified stochastic soil profile probability. PipingCalculationsView now refreshes when the stochastic soil profile is notified. It is notfied by returning it as an affected object from the StochasticSoilModelUpdateDataStrategy.

Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8418 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b5c75047671015c14f57e9b330a2ba5bb2031c40

Former-commit-id: c4f326bfe300d5a5c3ed3e1e4e1e1b16bd41721d

    • -0
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 11 more files in changeset.
Incorporated comments review 1478: - Updated XMLDoc - Refactored ObservableUniqueItemCollectionWithSourcePath: -- Turned class into an abstract class -- Removed generic TFeature, because explicit knowledge is not needed -- Adjusted inherited classes or classes that make direct use of the ObservableUniqueItemCollectionWithSourcePath

Related to Issue [WTI-1075]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8411 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 68cb3152a1c682b33bb73740c7d2e1300459cde2

Former-commit-id: 3e983eaebb15fdbe735d2ae5c62aa07d82a65242

    • -2
    • +2
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 17 more files in changeset.
Incorporated comments review 1478: - Adjusted sql script - Added tests for the strategy template classes to assert the correct function arguments are used when the protected functions are called - Updated XMLDocs Related to Issue [WTI-1075]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8409 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f4c9ff2c01986c8e24d309d3a1095352ede30c64

Former-commit-id: 668e94b92a17932f62f7583edae32491bec917d1

    • -9
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 9 more files in changeset.
Review related changes Related to Issue [WTI-1135]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8394 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 79b1c6bb86ceec6e05faa412e77c53419240048b

Former-commit-id: 4e6fb4e002026817f9837bba738e8ac1d44daabf

    • -0
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 42 more files in changeset.
Incorporated comments review 1468: - Refactored the UpdateDataStrategies by introducing a template class UpDataStrategyBase: -- Applied strategies for the StochasticSoilModelUpdateDataStrategy and RingtoetsPipingSurfaceLineUpdateDataStrategy -- Adjusted affected tests - Corrected UpdateTargetCollectionData algorithm in the template class: only updated target objects should be updated and not the already existing collection Related to Issue [WTI-1075]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8361 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 5481c6cdf30c56bc4774dac6fd49404e887715af

Former-commit-id: 0d9ddd9a773c4d9d8261c334d21af87069698d81

    • -96
    • +42
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 4 more files in changeset.
Incorporated comments review 1458: - Renamed interface - Improved XMLDoc - Fixed typos in functions, reran Deltares cleanup for to fix formatting - Removed unused reference - Added missing tests Related to Issue [WTI-1075]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8290 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 305e56fb79b3fae4b710b6eac5451aa2322c00da

Former-commit-id: 1ca1a584c8584647c595fc516e30304b66a09eb8

    • -4
    • +7
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 12 more files in changeset.
Changed ValidateItems interface so that only ArgumentExceptions are allowed to be thrown. Related to Issue [WTI-1093]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8238 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3dd7a95a6aa5d1d7c4f3ed36338c8e2ef7e93fdd

Former-commit-id: 3461c8453d85846474f5077c2f4aded4dd892db4

    • -1
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 1 more file in changeset.
Added verification of the database schema of DSoil-Model in which stochastic soil model names need to be unique. Introduced StochasticSoilModelCollection which has additional validation for the uniqueness of the StochasticSoilModel Name. Renamed files containing Table constants. Related to Issue [WTI-1093]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8216 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 80c9a9206c20d8fdfa23712d2c68f9f13cc67378

Former-commit-id: b1779cca6f30e7472f2c9620524f4f5ae6031db2

    • -4
    • +19
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 55 more files in changeset.
Cleaned up some code hierarchies Related to Issue [WTI-1135]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8197 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 852a743befd47106f8b3a7e330ab692dc77632bb

Former-commit-id: f66c0c339bd98568173cba1b25c66f7f366d644c

    • -1
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 30 more files in changeset.
Moved doc from method to class description for StochasticSoilModelUpdateDataStrategy. Completed test. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8094 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 372884a6a64d82bc3e90b61e91fcea0bd486a9ab

Former-commit-id: 7882e8dc5aa414ae01a7642dbe690810abfd09b3

    • -11
    • +6
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 3 more files in changeset.
Moved StochasticSoilModelImporter to IO namespace. Added IStochasticSoilModelChangeHandler to inquire user for change confirmation. Implemented TestStochasticSoilModelChangeHandler utility class to use in testing. Added Ringtoets.Piping.IO.TestUtil to house the utility class. Implemented StochasticSoilModelChangeHandler with a basic implementation. Extracted TestStochasticSoilModelUpdateModelStrategy from StochasticSoilModelImporterTest. Related to Issue [WTI-1093]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8091 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: daa6aaa9971d4c85b57003a53b2dff1138ea52cc

Former-commit-id: 79e4b525884bc0d7a9dc1f2a0af9d6aa57e7d9bf

    • -0
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 35 more files in changeset.
Implemented equality members for StochasticSoilProfile. StochasticSoilModel now returns StochasticSoilProfile if it has been updated. StochasticSoilModelUpdateDataStrategy is now responsible for the filtering profiles for which calculation output should be cleared. Removed probability restriction of the StochasticSoilProfile Probability. Headers restored, cleanups performed. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8068 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 0ea8e7c8039dd5d8f9d5b90ff4b3a8bc4d715b8c

Former-commit-id: c21afba1bf3646513a3e71ff3f5dbaaf2eea93fa

    • -12
    • +10
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 19 more files in changeset.
Turned the StochasticSoilModelCollection into a collection that uses generics: - Stores elements of type T and the source path (same functionality as the StochasticSoilModelCollection) - Modified influenced components, fixed failing tests Related to Issue [WTI-1083]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8063 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e49abec52fc1d6390fe033f62ed83ea72907ec2b

Former-commit-id: 512f88aa9067fcf94700873b63491b69b276b41a

    • -3
    • +6
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 23 more files in changeset.
Renamed IStochasticSoilModelUpdateStrategy to IStochasticSoilModelUpdateModelStrategy to better match intention. Refactored StochasticSoilModelImporterTest so that it is not dependent on StochasticSoilModelReplaceDataStrategy. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8050 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ac5e0a5ca10519b341140941114df4cc1c1d11fb

Former-commit-id: a5e2892a626326fc99d0d6460d367b4afa783c8e

    • -1
    • +1
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 7 more files in changeset.
Correctly add affected objects after Updating stochastic soil models. Made StochasticSoilModel Observable. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8049 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 68eef2621067ca1b652fe2eee53c0050d764e78d

Former-commit-id: 04510a384d0d4c131cad75b7a6ddd8023c18d151

    • -4
    • +7
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 6 more files in changeset.
Improved doc. Renamed methods to better match intention. Cleanups Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8030 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3a63fbf3a24ca37f052bb2c50f213aada85c638f

Former-commit-id: a71eef829fbde99a869689c7986a0aa196f42160

    • -7
    • +7
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 9 more files in changeset.
Added validation for Probability of StochasticSoilProfile. Added StochasticSoilmodelUpdateException. Provided base implementation of the DoPostImport (cancelable behavior) and an overridable DoPostImportUpdates to implement just the model updates. Added Strategy postfix to IStochasticSoilModelUpdateStrategy implementations. Fixed liskov issue with StochasticSoilModelUpdateDataStrategy. Related to Issue [WTI-1070]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@8026 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1b86b03430a8714c43abdb447dbf9a561426a94e

Former-commit-id: 781140c2712d3dd80e4e97c162a8455e54d8227d

    • -0
    • +193
    ./StochasticSoilModelUpdateDataStrategy.cs
  1. … 40 more files in changeset.