Interface NetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>

  • Type Parameters:
    V -
    All Known Implementing Classes:
    NetexEntityMapByIdImpl

    public interface NetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>
    A simple index of NeTEx entities of a specific type
    • Method Detail

      • get

        V get​(String id)
        Get an entity by its id
        Parameters:
        id -
        Returns:
        The entity
      • getAll

        Collection<V> getAll()
        Get all entities in the index
        Returns:
        A collection of the entity type
      • putAll

        void putAll​(Collection<V> entities)
        Put all entities into the collection
        Parameters:
        entities -