privatestaticfinalintMAX_PRINT=25;@OverridepublicvoidexecuteQuery(){System.out.println();System.out.println("EXECUTE QUERY");super.executeQuery();afterExecuteVO();System.out.println("EXECUTE QUERY");System.out.println();}publicvoidafterExecuteVO(){printViewObjectAttributeValue(super.getViewObject(),"myAttr");setVoData(super.getViewObject(),"myAttr");printViewObjectAttributeValue(super.getViewObject(),"myAttr");}privatestaticvoidsetVoData(ViewObjectvo,StringmyAttr){intmaxRowForPrint=25;vo.reset();vo.first();System.out.println("=== VO DATA =====");while((vo.getCurrentRow()!=null)){Rowrow=vo.getCurrentRow();row.setAttribute(myAttr,"Я устанавливаю аттрибут программно");vo.next();}System.out.println("=== NO MORE DATA =====");}privatestaticvoidprintViewObjectAttributeValue(ViewObjectvo,StringattrName){intmaxRowForPrint=MAX_PRINT;vo.reset();vo.first();System.out.println("=== VO ATTRIBUTE DATA =====");while((vo.getCurrentRow()!=null)&&(maxRowForPrint>0)){Rowrow=vo.getCurrentRow();StringrowDataStr="";ObjectattrData=row.getAttribute(attrName);rowDataStr+=(attrData+"\t");System.out.println((vo.getCurrentRowIndex()+1)+") "+rowDataStr);vo.next();maxRowForPrint--;}System.out.println("=== VO ATTRIBUTE DATA =====");}