Package org.entur.netex.index.api
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vget(String id)Get an entity by its idCollection<V>getAll()Get all entities in the indexvoidputAll(Collection<V> entities)Put all entities into the collection
-
-
-
Method Detail
-
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-
-
-