class IdentifiableObjectUtils {

    public static Map<String, String> getUidPropertyMap( Collection<? extends IdentifiableObject> objects, IdentifiableProperty property )
    {
        Map<String, String> map = Maps.newHashMap();
        
        objects.forEach( obj -> map.put( obj.getUid(), obj.getPropertyValue( IdScheme.from( property ) ) ) );
        
        return map;
    }

}