private List < AdvancedModelWrapper > getReferenceBasedUpdates ( AdvancedModelWrapper model , Map < Object , AdvancedModelWrapper > updated , EKBCommit commit ) throws EKBException { List < AdvancedModelWrapper > updates = new ArrayList < AdvancedModelWrapper > ( ) ; List < EDBObject > references = model . getModelsReferringToThisModel ( edbService ) ; for ( EDBObject reference : references ) { EDBModelObject modelReference = new EDBModelObject ( reference , modelRegistry , edbConverter ) ; AdvancedModelWrapper ref = updateEOByUpdatedModel ( modelReference , model , updated ) ; if ( ! updated . containsKey ( ref . getCompleteModelOID ( ) ) ) { updates . add ( ref ) ; } } return updates ; }
Returns engineering objects to the commit which are changed by a model which was committed in the EKBCommit