public void addDifference ( Field field , Object before , Object after ) { ModelDiffEntry entry = new ModelDiffEntry ( ) ; entry . setBefore ( before ) ; entry . setAfter ( after ) ; entry . setField ( field ) ; differences . put ( field , entry ) ; }
Adds a difference to the list of differences of this ModelDiff instance .