Package org.goplanit.utils.mode
Interface UsabilityModeFeatures
-
- All Known Implementing Classes:
UsabilityModeFeaturesImpl
public interface UsabilityModeFeatures
Class 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 UseOfModeType
DEFAULT_USEOF_TYPE
default use of mode is private use
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsabilityModeFeatures
deepClone()
deep copyUseOfModeType
getUseOfType()
collect how this mode is used via this type, e.g.UsabilityModeFeatures
shallowClone()
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
-
-