private List < AdvancedModelWrapper > recursiveUpdateEnhancement ( List < AdvancedModelWrapper > updates , Map < Object , AdvancedModelWrapper > updated , EKBCommit commit ) { List < AdvancedModelWrapper > additionalUpdates = enhanceUpdates ( updates , updated , commit ) ; for ( AdvancedModelWrapper model : updates ) { updated . put ( model . getCompleteModelOID ( ) , model ) ; } if ( ! additionalUpdates . isEmpty ( ) ) { additionalUpdates . addAll ( recursiveUpdateEnhancement ( additionalUpdates , updated , commit ) ) ; } return additionalUpdates ; }
Recursive function for calculating all models which need to be updated due to the original updates of the EKBCommit .