public String getSubRecordClassName ( ) { for ( int i = 0 ; i < m_rgstrRecordHierarchy . length - 1 ; i ++ ) { if ( m_rgstrRecordHierarchy [ i ] . equalsIgnoreCase ( m_strRecordName ) ) return m_rgstrRecordHierarchy [ i + 1 ] ; } return null ; // No further leafs //m_rgstrRecordHierarchy[0]; }
Get the next logical sub - record class given this record s class .