question: public void loadDbfModelIntoGraphics ( OMGraphicList list ) { if ( list != null && dbfModel . getRowCount ( ) > 0 ) { int numgraphics = list . size ( ) ; for ( int i = 0 ; i < numgraphics ; i ++ ) { try { OMGraphic omg = list . getOMGraphicAt ( i ) ; Integer recnum = ( Integer ) ( omg . getAttribute ( ShapeConstants . SHAPE_INDEX_ATTRIBUTE ) ) ; Object inforec = dbfModel . getRecord ( recnum . intValue ( ) ) ; omg . putAttribute ( ShapeConstants . SHAPE_DBF_INFO_ATTRIBUTE , inforec ) ; } catch ( ClassCastException cce ) { if ( Debug . debugging ( "shape" ) ) { cce . printStackTrace ( ) ; } } catch ( NullPointerException npe ) { npe . printStackTrace ( ) ; } } } }
target:  This function takes an OMGraphicList and loads each one with the array representing the records in the dbf file. Each graphics stores the graphic in its object slot.