@ Override public void visit ( Visitable visitable ) { if ( isCommitable ( visitable ) ) { ObjectUtils . setField ( visitable , "lastModifiedBy" , ( ( Auditable ) visitable ) . getModifiedBy ( ) ) ; ObjectUtils . setField ( visitable , "lastModifiedOn" , ( ( Auditable ) visitable ) . getModifiedOn ( ) ) ; ObjectUtils . setField ( visitable , "lastModifiedWith" , ( ( Auditable ) visitable ) . getModifiedWith ( ) ) ; } }
Visits all objects in an application domain object graph hierarchy targeting objects to be committed .