public void free ( RecordOwner recordOwner ) { if ( m_ScreenRecord != null ) if ( ( recordOwner == null ) || ( m_ScreenRecord . getRecordOwner ( ) == recordOwner ) ) { m_ScreenRecord . free ( ) ; // Delete the screen fields m_ScreenRecord = null ; } while ( this . size ( ) > 0 ) { Record record = ( Record ) this . elementAt ( 0 ) ; if ( ( recordOwner == null ) || ( record . getRecordOwner ( ) == recordOwner ) ) record . free ( ) ; else this . removeRecord ( record ) ; // Remove the query from this list } this . removeAllElements ( ) ; }
Free all the records in this list .