Package org.goplanit.output.adapter
Class PhysicalLinkOutputTypeAdapterImpl
- java.lang.Object
-
- org.goplanit.output.adapter.OutputTypeAdapterImpl
-
- org.goplanit.output.adapter.PhysicalLinkOutputTypeAdapterImpl
-
- All Implemented Interfaces:
OutputTypeAdapter
,UntypedLinkOutputTypeAdapter<LinkSegment>
public abstract class PhysicalLinkOutputTypeAdapterImpl extends OutputTypeAdapterImpl implements UntypedLinkOutputTypeAdapter<LinkSegment>
Abstract class which defines the common methods required by Link output type adapters that specifically pertain to networks that have adopted physical layers for their network representation- Author:
- gman6028
-
-
Field Summary
-
Fields inherited from class org.goplanit.output.adapter.OutputTypeAdapterImpl
outputType
-
-
Constructor Summary
Constructors Constructor Description PhysicalLinkOutputTypeAdapterImpl(OutputType outputType, TrafficAssignment trafficAssignment)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphEntities<LinkSegment>
getPhysicalLinkSegments(long infrastructureLayerId)
Provide access to the link segments container-
Methods inherited from class org.goplanit.output.adapter.OutputTypeAdapterImpl
createConvertedUnitsValue, getAssignment, getIterationIndexForSubOutputType, getOutputType, getOutputTypeIndependentPropertyValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.output.adapter.OutputTypeAdapter
getIterationIndexForSubOutputType, getOutputType
-
Methods inherited from interface org.goplanit.output.adapter.UntypedLinkOutputTypeAdapter
getDownstreamNodeExternalId, getDownstreamNodeId, getDownstreamNodeLocation, getDownstreamNodeXmlId, getLength, getLinkSegmentExternalId, getLinkSegmentId, getLinkSegmentOutputPropertyValue, getLinkSegmentXmlId, getNumberOfLanes, getUpstreamNodeExternalId, getUpstreamNodeId, getUpstreamNodeLocation, getUpstreamNodeXmlId
-
-
-
-
Constructor Detail
-
PhysicalLinkOutputTypeAdapterImpl
public PhysicalLinkOutputTypeAdapterImpl(OutputType outputType, TrafficAssignment trafficAssignment)
Constructor- Parameters:
outputType
- the OutputType this adapter corresponds totrafficAssignment
- TrafficAssignment object which this adapter wraps
-
-
Method Detail
-
getPhysicalLinkSegments
public GraphEntities<LinkSegment> getPhysicalLinkSegments(long infrastructureLayerId)
Provide access to the link segments container- Specified by:
getPhysicalLinkSegments
in interfaceUntypedLinkOutputTypeAdapter<LinkSegment>
- Parameters:
infrastructureLayerId
- to use- Returns:
- a List of link segments for this assignment
-
-