Package org.planit.utils.mode
Interface PredefinedMode
-
- All Superinterfaces:
Comparable<Idable>,ExternalIdable,Idable,Mode
- All Known Implementing Classes:
BicycleMode,BusMode,CarHighOccupancyMode,CarMode,CarShareMode,GoodsMode,HeavyGoodsMode,LargeHeavyGoodsMode,LightRailMode,MotorBikeMode,PedestrianMode,PredefinedModeImpl,SubwayMode,TrainMode,TramMode
public interface PredefinedMode extends Mode
-
-
Field Summary
-
Fields inherited from interface org.planit.utils.mode.Mode
DEFAULT_XML_ID, GLOBAL_DEFAULT_MAXIMUM_SPEED_KMH, GLOBAL_DEFAULT_PCU
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default booleanisPredefinedModeType()check if the mode is one of the PLANit predefined mode types or not-
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, getPredefinedModeType, getUseFeatures, hasName, hasPhysicalFeatures, hasUseFeatures
-
-
-
-
Method Detail
-
isPredefinedModeType
default boolean isPredefinedModeType()
check if the mode is one of the PLANit predefined mode types or not- Specified by:
isPredefinedModeTypein interfaceMode- Returns:
- true when predefined, false, when custom
-
-