private AdvancedModelWrapper updateEOByUpdatedModel ( EDBModelObject reference , AdvancedModelWrapper model , Map < Object , AdvancedModelWrapper > updated ) { ModelDescription source = model . getModelDescription ( ) ; ModelDescription description = reference . getModelDescription ( ) ; AdvancedModelWrapper wrapper = updated . get ( reference . getOID ( ) ) ; Object ref = null ; if ( wrapper == null ) { ref = reference . getCorrespondingModel ( ) ; } else { ref = wrapper . getUnderlyingModel ( ) ; } Object transformResult = transformationEngine . performTransformation ( source , description , model . getUnderlyingModel ( ) , ref ) ; return AdvancedModelWrapper . wrap ( transformResult ) ; }
Updates an Engineering Object given as EDBObject based on the update on the given model which is referenced by the given Engineering Object .