Package org.goplanit.converter.idmapping
Class VirtualNetworkIdMapper
- java.lang.Object
-
- org.goplanit.converter.idmapping.PlanitComponentIdMapper
-
- org.goplanit.converter.idmapping.VirtualNetworkIdMapper
-
public class VirtualNetworkIdMapper extends PlanitComponentIdMapper
All virtual network id mappers in a convenience class
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkIdMapper(IdMapperType type)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<ConnectoidEdge,String>
getConnectoidEdgeIdMapper()
get id mapper for linksFunction<ConnectoidSegment,String>
getConnectoidSegmentIdMapper()
get id mapper for link segmentsFunction<Vertex,String>
getVertexIdMapper()
get id mapper for nodes-
Methods inherited from class org.goplanit.converter.idmapping.PlanitComponentIdMapper
add, get, getModeIdMapper, getRaw
-
-
-
-
Constructor Detail
-
VirtualNetworkIdMapper
public VirtualNetworkIdMapper(IdMapperType type)
Constructor- Parameters:
type
- to use
-
-
Method Detail
-
getVertexIdMapper
public Function<Vertex,String> getVertexIdMapper()
get id mapper for nodes- Returns:
- id mapper
-
getConnectoidEdgeIdMapper
public Function<ConnectoidEdge,String> getConnectoidEdgeIdMapper()
get id mapper for links- Returns:
- id mapper
-
getConnectoidSegmentIdMapper
public Function<ConnectoidSegment,String> getConnectoidSegmentIdMapper()
get id mapper for link segments- Returns:
- id mapper
-
-