Package org.goplanit.utils.mode
Interface PredefinedMode
-
- All Superinterfaces:
Comparable<IdAble>
,ExternalIdAble
,IdAble
,ManagedId
,Mode
- All Known Implementing Classes:
BicycleMode
,BusMode
,CarHighOccupancyMode
,CarMode
,CarShareMode
,FerryMode
,GoodsMode
,HeavyGoodsMode
,LargeHeavyGoodsMode
,LightRailMode
,MotorBikeMode
,PedestrianMode
,PredefinedModeImpl
,SubwayMode
,TrainMode
,TramMode
public interface PredefinedMode extends Mode
-
-
Field Summary
-
Fields inherited from interface org.goplanit.utils.mode.Mode
DEFAULT_XML_ID, GLOBAL_DEFAULT_MAXIMUM_SPEED_KMH, GLOBAL_DEFAULT_PCU, MODE_ID_CLASS
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isPredefinedModeType()
check if the mode is one of the PLANit predefined mode types or not-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, deepClone, getId, idEquals, idHashCode, shallowClone
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
recreateManagedIds, resetChildManagedIdEntities
-
Methods inherited from interface org.goplanit.utils.mode.Mode
containsExternalId, getIdClass, 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:
isPredefinedModeType
in interfaceMode
- Returns:
- true when predefined, false, when custom
-
-