Enum AccessAttributes
- Last UpdatedDec 18, 2024
- 2 minute read
Package com.here.sdk.routing
Enum AccessAttributes
- java.lang.Object
-
- java.lang.Enum<AccessAttributes>
-
- com.here.sdk.routing.AccessAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AccessAttributes>
public enum AccessAttributes extends java.lang.Enum<AccessAttributes>
Types of access attributes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_THROUGH
No access is permitted.OPEN
The access is open.TOLL_ROAD
The access is permited after paying a toll.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccessAttributes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AccessAttributes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final AccessAttributes OPEN
The access is open.
-
NO_THROUGH
public static final AccessAttributes NO_THROUGH
No access is permitted.
-
TOLL_ROAD
public static final AccessAttributes TOLL_ROAD
The access is permited after paying a toll.
-
-
Method Detail
-
values
public static AccessAttributes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessAttributes c : AccessAttributes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessAttributes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-