Uses of Class
org.insa.graphs.model.AccessRestrictions.AccessRestriction
-
Packages that use AccessRestrictions.AccessRestriction Package Description org.insa.graphs.model -
-
Uses of AccessRestrictions.AccessRestriction in org.insa.graphs.model
Fields in org.insa.graphs.model with type parameters of type AccessRestrictions.AccessRestriction Modifier and Type Field Description static java.util.EnumSet<AccessRestrictions.AccessRestriction>
AccessRestrictions.AccessRestriction. ALLOWED_FOR_SOMETHING
EnumSet
corresponding to restrictions that are not totally private.private java.util.EnumMap<AccessRestrictions.AccessMode,AccessRestrictions.AccessRestriction>
AccessRestrictions. restrictions
Methods in org.insa.graphs.model that return AccessRestrictions.AccessRestriction Modifier and Type Method Description AccessRestrictions.AccessRestriction
AccessRestrictions. getRestrictionFor(AccessRestrictions.AccessMode mode)
Retrieve the restriction corresponding to the given mode.static AccessRestrictions.AccessRestriction
AccessRestrictions.AccessRestriction. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AccessRestrictions.AccessRestriction[]
AccessRestrictions.AccessRestriction. 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.AccessRestriction Modifier and Type Method Description boolean
AccessRestrictions. isAllowedFor(AccessRestrictions.AccessMode mode, AccessRestrictions.AccessRestriction restriction)
Check if the restriction for the given mode corresponds to the given restriction.Method parameters in org.insa.graphs.model with type arguments of type AccessRestrictions.AccessRestriction Modifier and Type Method Description 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.Constructor parameters in org.insa.graphs.model with type arguments of type AccessRestrictions.AccessRestriction Constructor Description AccessRestrictions(java.util.EnumMap<AccessRestrictions.AccessMode,AccessRestrictions.AccessRestriction> restrictions)
Create a new AccessRestrictions instances with the given restrictions.
-