V - public interface VersionedNetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>
| Modifier and Type | Method and Description |
|---|---|
Map<String,Collection<V>> |
getAllVersions()
Get all versions of all entities
|
Collection<V> |
getAllVersions(String id)
Lookup all versions of element with the given
id. |
V |
getLatestVersion(String id)
Return the element with the latest version with the given
id. |
V |
getVersion(String id,
String version)
Return the element with the given
id and version. |
void |
putAll(Collection<V> entities)
Put all entities into the collection
|
V getLatestVersion(String id)
id. Returns
null if no element is found.V getVersion(String id, String version)
id and version. Returns
null if no element is foundid - version - Collection<V> getAllVersions(String id)
id.Map<String,Collection<V>> getAllVersions()
void putAll(Collection<V> entities)
entities - Copyright © 2021 Entur AS. All rights reserved.