ImportRecord function ( String arg0 , Query arg1 ) { try { for ( MetadataSource loc0 : matchingImports ( arg0 ) ) { if ( loc0 . getRecord ( arg1 ) != null ) return loc0 . getRecord ( arg1 ) ; } return null ; } catch ( Exception loc0 ) { throw new MetadataSourceException ( loc0 ) ; } }
get a single record from the source . the first match will be returned concode_field_sep Logger log concode_elem_sep String ANY concode_elem_sep HashMap<String,MetadataSource> importSources concode_field_sep int getNbRecords concode_elem_sep int getNbRecords concode_elem_sep Collection<String> getImportUrls concode_elem_sep Map<String,MetadataSource> getImportSources concode_elem_sep Collection<MetadataSource> matchingImports concode_elem_sep void setImportSources concode_elem_sep Collection<ImportRecord> getRecords concode_elem_sep Collection<ImportRecord> getRecords concode_elem_sep void destroy concode_elem_sep Collection<ImportRecord> findMatchingRecords concode_elem_sep Collection<ImportRecord> findMatchingRecords