Package org.goplanit.mode
Class CarShareMode
- java.lang.Object
-
- org.goplanit.utils.id.IdAbleImpl
-
- org.goplanit.utils.id.ExternalIdAbleImpl
-
- org.goplanit.mode.ModeImpl
-
- org.goplanit.mode.PredefinedModeImpl
-
- org.goplanit.mode.CarShareMode
-
- All Implemented Interfaces:
Cloneable
,Comparable<IdAble>
,ExternalIdAble
,IdAble
,ManagedId
,Mode
,PredefinedMode
public class CarShareMode extends PredefinedModeImpl
the predefined car share mode- name: car
- maxspeed (km/h): 130
- pcu: 1
- vehicular type: VEHICULAR
- motorisation: MOTORISED
- track: ROAD
- use: RIDE_SHARE
- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static PhysicalModeFeatures
CAR_SHARE_PHYSICAL_FEATURES
static UsabilityModeFeatures
CAR_SHARE_USABLITY_FEATURES
static double
DEFAULT_MAX_SPEED_KMH
static double
DEFAULT_PCU
-
Fields inherited from class org.goplanit.mode.ModeImpl
DEFAULT_EXTERNAL_ID
-
Fields inherited from interface org.goplanit.utils.mode.Mode
DEFAULT_XML_ID, GLOBAL_DEFAULT_MAXIMUM_SPEED_KMH, GLOBAL_DEFAULT_PCU, MODE_ID_CLASS
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CarShareMode(IdGroupingToken groupId)
Constructor for car share mode
-
Method Summary
-
Methods inherited from class org.goplanit.mode.PredefinedModeImpl
getPredefinedModeType
-
Methods inherited from class org.goplanit.mode.ModeImpl
generateId, getMaximumSpeedKmH, getName, getPcu, getPhysicalFeatures, getUseFeatures, recreateManagedIds
-
Methods inherited from class org.goplanit.utils.id.ExternalIdAbleImpl
clone, getExternalId, getXmlId, setExternalId, setXmlId
-
Methods inherited from class org.goplanit.utils.id.IdAbleImpl
equals, generateAndSetId, generateId, getId, hashCode, setId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
getExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
clone, compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
recreateManagedIds, resetChildManagedIdEntities
-
Methods inherited from interface org.goplanit.utils.mode.Mode
getIdClass, getMaximumSpeedKmH, getName, getPcu, getPhysicalFeatures, getUseFeatures, hasName, hasPhysicalFeatures, hasUseFeatures
-
Methods inherited from interface org.goplanit.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
-
CAR_SHARE_PHYSICAL_FEATURES
public static final PhysicalModeFeatures CAR_SHARE_PHYSICAL_FEATURES
-
CAR_SHARE_USABLITY_FEATURES
public static final UsabilityModeFeatures CAR_SHARE_USABLITY_FEATURES
-
-
Constructor Detail
-
CarShareMode
protected CarShareMode(IdGroupingToken groupId)
Constructor for car share mode- Parameters:
groupId
- to generate unique id
-
-