Uses of Class
org.insa.graphs.model.AccessRestrictions.AccessMode
-
Packages that use AccessRestrictions.AccessMode Package Description org.insa.graphs.model -
-
Uses of AccessRestrictions.AccessMode in org.insa.graphs.model
Fields in org.insa.graphs.model with type parameters of type AccessRestrictions.AccessMode Modifier and Type Field Description static java.util.EnumSet<AccessRestrictions.AccessMode>
AccessRestrictions.AccessMode. ALL
EnumSet
containing all possible transport modes.static java.util.EnumSet<AccessRestrictions.AccessMode>
AccessRestrictions.AccessMode. MOTOR_VEHICLE
EnumSet
containing all motorized vehicle transport modes.private java.util.EnumMap<AccessRestrictions.AccessMode,AccessRestrictions.AccessRestriction>
AccessRestrictions. restrictions
static java.util.EnumSet<AccessRestrictions.AccessMode>
AccessRestrictions.AccessMode. VEHICLE
EnumSet
containing all vehicle transport modes.Methods in org.insa.graphs.model that return AccessRestrictions.AccessMode Modifier and Type Method Description static AccessRestrictions.AccessMode
AccessRestrictions.AccessMode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AccessRestrictions.AccessMode[]
AccessRestrictions.AccessMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.insa.graphs.model with parameters of type AccessRestrictions.AccessMode Modifier and Type Method Description AccessRestrictions.AccessRestriction
AccessRestrictions. getRestrictionFor(AccessRestrictions.AccessMode mode)
Retrieve the restriction corresponding to the given mode.boolean
AccessRestrictions. isAllowedFor(AccessRestrictions.AccessMode mode, AccessRestrictions.AccessRestriction restriction)
Check if the restriction for the given mode corresponds to the given restriction.boolean
AccessRestrictions. isAllowedForAny(AccessRestrictions.AccessMode mode, java.util.EnumSet<AccessRestrictions.AccessRestriction> restrictions)
Check if the restriction associated with the given mode is one of the given restrictions.Method parameters in org.insa.graphs.model with type arguments of type AccessRestrictions.AccessMode Modifier and Type Method Description boolean
AccessRestrictions. areAllAllowedForAny(java.util.EnumSet<AccessRestrictions.AccessMode> modes, java.util.EnumSet<AccessRestrictions.AccessRestriction> restrictions)
Check if the restriction associated to each given mode is one of the restrictions.Constructor parameters in org.insa.graphs.model with type arguments of type AccessRestrictions.AccessMode Constructor Description AccessRestrictions(java.util.EnumMap<AccessRestrictions.AccessMode,AccessRestrictions.AccessRestriction> restrictions)
Create a new AccessRestrictions instances with the given restrictions.
-