Package org.planit.mode
Class BicycleMode
- java.lang.Object
-
- org.planit.mode.ModeImpl
-
- org.planit.mode.PredefinedModeImpl
-
- org.planit.mode.BicycleMode
-
- All Implemented Interfaces:
Comparable<Idable>,ExternalIdable,Idable,Mode,PredefinedMode
public class BicycleMode extends PredefinedModeImpl
the predefined bicycle mode- name: bicycle
- maxspeed (km/h): 15
- pcu: 0.2
- vehicular type: VEHICULAR
- motorisation: NON_MOTORISED
- track: ROAD
- use: PRIVATE
- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static PhysicalModeFeaturesBICYCLE_PHYSICAL_FEATURESstatic UsabilityModeFeaturesBICYCLE_USABLITY_FEATURESstatic doubleDEFAULT_MAX_SPEED_KMHstatic doubleDEFAULT_PCU-
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 protectedBicycleMode(IdGroupingToken groupId)Constructor for bicycle 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
-
BICYCLE_PHYSICAL_FEATURES
public static final PhysicalModeFeatures BICYCLE_PHYSICAL_FEATURES
-
BICYCLE_USABLITY_FEATURES
public static final UsabilityModeFeatures BICYCLE_USABLITY_FEATURES
-
-
Constructor Detail
-
BicycleMode
protected BicycleMode(IdGroupingToken groupId)
Constructor for bicycle mode- Parameters:
groupId- to generate unique id
-
-