Package org.goplanit.utils.mode
Interface UsabilityModeFeatures
-
- All Known Implementing Classes:
UsabilityModeFeaturesImpl
public interface UsabilityModeFeaturesClass to highlight the use of a particular mode, i.e., is it a public or private mode, ride-share, etc. Inspired by the categorisation as offered in open street maps as per https://wiki.openstreetmap.org/wiki/Key:access#Transport_mode_restrictions- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static UseOfModeTypeDEFAULT_USEOF_TYPEdefault use of mode is private use
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsabilityModeFeaturesdeepClone()deep copyUseOfModeTypegetUseOfType()collect how this mode is used via this type, e.g.UsabilityModeFeaturesshallowClone()Shallow copy
-
-
-
Field Detail
-
DEFAULT_USEOF_TYPE
static final UseOfModeType DEFAULT_USEOF_TYPE
default use of mode is private use
-
-
Method Detail
-
getUseOfType
UseOfModeType getUseOfType()
collect how this mode is used via this type, e.g. public, private, etc.- Returns:
- use of this type
-
shallowClone
UsabilityModeFeatures shallowClone()
Shallow copy- Returns:
- shallow copy of instance
-
deepClone
UsabilityModeFeatures deepClone()
deep copy- Returns:
- shallow copy of instance
-
-