Enum EVAccessRestrictionReason
Package com.here.sdk.search
Enum EVAccessRestrictionReason
- java.lang.Object
-
- java.lang.Enum<EVAccessRestrictionReason>
-
- com.here.sdk.search.EVAccessRestrictionReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EVAccessRestrictionReason>
public enum EVAccessRestrictionReason extends java.lang.Enum<EVAccessRestrictionReason>
Represents the restriction reason of an
EVChargingPool.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRAND_ONLYVehicle brand-restriction, e.g.CAR_SHARING_ONLYCharging for car sharing.CUSTOMERS_ONLYCharging for customers of a hotel, restaurant, store etc.OTHERCharging is restricted due to other reasonsTAXIS_ONLYCharging for taxis
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EVAccessRestrictionReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EVAccessRestrictionReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOMERS_ONLY
public static final EVAccessRestrictionReason CUSTOMERS_ONLY
Charging for customers of a hotel, restaurant, store etc.
-
BRAND_ONLY
public static final EVAccessRestrictionReason BRAND_ONLY
Vehicle brand-restriction, e.g. Tesla, BMW.
-
CAR_SHARING_ONLY
public static final EVAccessRestrictionReason CAR_SHARING_ONLY
Charging for car sharing.
-
TAXIS_ONLY
public static final EVAccessRestrictionReason TAXIS_ONLY
Charging for taxis
-
OTHER
public static final EVAccessRestrictionReason OTHER
Charging is restricted due to other reasons
-
-
Method Detail
-
values
public static EVAccessRestrictionReason[] 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 (EVAccessRestrictionReason c : EVAccessRestrictionReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EVAccessRestrictionReason 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
-
-