public void populateSMMetadata ( final SoftwareModule swModule ) { removeAllItems ( ) ; if ( null == swModule ) { return ; } selectedSWModuleId = swModule . getId ( ) ; final List < SoftwareModuleMetadata > swMetadataList = softwareModuleManagement . findMetaDataBySoftwareModuleId ( PageRequest . of ( 0 , MAX_METADATA_QUERY ) , selectedSWModuleId ) . getContent ( ) ; if ( ! CollectionUtils . isEmpty ( swMetadataList ) ) { swMetadataList . forEach ( this :: setMetadataProperties ) ; } }
Populate software module metadata table .