Package org.planit.mode
Class LightRailMode
- java.lang.Object
-
- org.planit.mode.ModeImpl
-
- org.planit.mode.PredefinedModeImpl
-
- org.planit.mode.LightRailMode
-
- All Implemented Interfaces:
Comparable<Idable>
,ExternalIdable
,Idable
,Mode
,PredefinedMode
public class LightRailMode extends PredefinedModeImpl
the predefined lightrail mode- name: lightrail
- maxspeed (km/h): 70
- pcu: 6
- vehicular type: VEHICULAR
- motorisation: MOTORISED
- track: RAIL
- use: PUBLIC
- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEFAULT_MAX_SPEED_KMH
static double
DEFAULT_PCU
static PhysicalModeFeatures
LIGHTRAIL_PHYSICAL_FEATURES
static UsabilityModeFeatures
LIGHTRAIL_USABLITY_FEATURES
-
Fields inherited from class org.planit.mode.ModeImpl
DEFAULT_EXTERNAL_ID
-
Fields inherited from interface org.planit.utils.mode.Mode
DEFAULT_XML_ID, GLOBAL_DEFAULT_MAXIMUM_SPEED_KMH, GLOBAL_DEFAULT_PCU
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LightRailMode(IdGroupingToken groupId)
Constructor for lightrail mode
-
Method Summary
-
Methods inherited from class org.planit.mode.PredefinedModeImpl
getPredefinedModeType
-
Methods inherited from class org.planit.mode.ModeImpl
equals, getExternalId, getId, getMaximumSpeedKmH, getName, getPcu, getPhysicalFeatures, getUseFeatures, getXmlId, hasExternalId, hashCode, setExternalId, setXmlId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.planit.utils.id.ExternalIdable
getExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId
-
Methods inherited from interface org.planit.utils.id.Idable
compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.planit.utils.mode.Mode
getMaximumSpeedKmH, getName, getPcu, getPhysicalFeatures, getUseFeatures, hasName, hasPhysicalFeatures, hasUseFeatures
-
Methods inherited from interface org.planit.utils.mode.PredefinedMode
isPredefinedModeType
-
-
-
-
Field Detail
-
DEFAULT_MAX_SPEED_KMH
public static final double DEFAULT_MAX_SPEED_KMH
- See Also:
- Constant Field Values
-
DEFAULT_PCU
public static final double DEFAULT_PCU
- See Also:
- Constant Field Values
-
LIGHTRAIL_PHYSICAL_FEATURES
public static final PhysicalModeFeatures LIGHTRAIL_PHYSICAL_FEATURES
-
LIGHTRAIL_USABLITY_FEATURES
public static final UsabilityModeFeatures LIGHTRAIL_USABLITY_FEATURES
-
-
Constructor Detail
-
LightRailMode
protected LightRailMode(IdGroupingToken groupId)
Constructor for lightrail mode- Parameters:
groupId
- to generate unique id
-
-