Interface AccessRestriction


public interface AccessRestriction
List of disjoint AccessRestrictionType values that can be combined to create more types using the AccessRestrictionType.union method. For example, an access denied to AccessRestriction.Automobile and AccessRestriction.Truck could be defined as:

AccessRestriction.Automobile.union(AccessRestriction.Truck)

Note that disjoint means that applying the method AccessRestrictionType.intersect to any pair of different values returns false. You can use the AccessRestriction.values() method to retrieve all these values.