Class EnrichableMap<K,​V>

  • All Implemented Interfaces:
    NavigationAware, Map<K,​V>

    public class EnrichableMap<K,​V>
    extends AbstractMap<K,​V>
    implements NavigationAware
    A map with the RestEnrichable annotation, indicating that this map should be converted to a RestEntity and enriched by the REST stack.

    This map can contains Collapsed entries - that is, it is aware of entry keys for which the value would be a collapsed reference. Collapsed entries cannot be retrieved with get() (which will throw an error), but the set of collapsed entries can be retrieved to identify which entries to add to the expandables map.