private void resolveName ( ConfigurationMetadataItem item ) { item . setName ( item . getId ( ) ) ; // fallback ConfigurationMetadataSource source = getSource ( item ) ; if ( source != null ) { String groupId = source . getGroupId ( ) ; String dottedPrefix = groupId + "." ; String id = item . getId ( ) ; if ( hasLength ( groupId ) && id . startsWith ( dottedPrefix ) ) { String name = id . substring ( dottedPrefix . length ( ) ) ; item . setName ( name ) ; } } }
Resolve the name of an item against this instance .