Package org.goplanit.converter.idmapping
Class NetworkIdMapper
- java.lang.Object
-
- org.goplanit.converter.idmapping.PlanitComponentIdMapper
-
- org.goplanit.converter.idmapping.NetworkIdMapper
-
public class NetworkIdMapper extends PlanitComponentIdMapper
All network id mappers in a convenience class
-
-
Constructor Summary
Constructors Constructor Description NetworkIdMapper(IdMapperType type)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<Link,String>
getLinkIdMapper()
get id mapper for linksFunction<MacroscopicLinkSegment,String>
getLinkSegmentIdMapper()
get id mapper for link segmentsFunction<MacroscopicLinkSegmentType,String>
getLinkSegmentTypeIdMapper()
get id mapper for link segment typesFunction<MacroscopicNetwork,String>
getNetworkIdMapper()
get id mapper for networksFunction<MacroscopicNetworkLayer,String>
getNetworkLayerIdMapper()
get id mapper for network layersFunction<TimePeriod,String>
getTimePeriodIdMapper()
get id mapper for time periodsFunction<TravellerType,String>
getTravellerTypeIdMapper()
get id mapper for traveller typesFunction<UserClass,String>
getUserClassIdMapper()
get id mapper for user classesFunction<Vertex,String>
getVertexIdMapper()
get id mapper for nodes-
Methods inherited from class org.goplanit.converter.idmapping.PlanitComponentIdMapper
add, get, getModeIdMapper, getRaw
-
-
-
-
Constructor Detail
-
NetworkIdMapper
public NetworkIdMapper(IdMapperType type)
Constructor- Parameters:
type
- to use
-
-
Method Detail
-
getVertexIdMapper
public Function<Vertex,String> getVertexIdMapper()
get id mapper for nodes- Returns:
- id mapper
-
getLinkIdMapper
public Function<Link,String> getLinkIdMapper()
get id mapper for links- Returns:
- id mapper
-
getLinkSegmentIdMapper
public Function<MacroscopicLinkSegment,String> getLinkSegmentIdMapper()
get id mapper for link segments- Returns:
- id mapper
-
getLinkSegmentTypeIdMapper
public Function<MacroscopicLinkSegmentType,String> getLinkSegmentTypeIdMapper()
get id mapper for link segment types- Returns:
- id mapper
-
getTravellerTypeIdMapper
public Function<TravellerType,String> getTravellerTypeIdMapper()
get id mapper for traveller types- Returns:
- id mapper
-
getTimePeriodIdMapper
public Function<TimePeriod,String> getTimePeriodIdMapper()
get id mapper for time periods- Returns:
- id mapper
-
getUserClassIdMapper
public Function<UserClass,String> getUserClassIdMapper()
get id mapper for user classes- Returns:
- id mapper
-
getNetworkLayerIdMapper
public Function<MacroscopicNetworkLayer,String> getNetworkLayerIdMapper()
get id mapper for network layers- Returns:
- id mapper
-
getNetworkIdMapper
public Function<MacroscopicNetwork,String> getNetworkIdMapper()
get id mapper for networks- Returns:
- id mapper
-
-