public static enum ParkingBlock.ParkingSection.Zone extends Enum<ParkingBlock.ParkingSection.Zone>
Enum Constant and Description |
---|
CARPOOL_PARKING
Carpool parking only.
|
NO_PARKING
Parking is not allowed.
|
NO_PARKING_STREET_CLEANING
Parking is not allowed due to street cleaning.
|
NONE
Unknown zone.
|
NONPAID_PARKING
A non-paid parking.
|
PAID_PARKING
Paid parking.
|
RESTRICTED_PARKING
Parking is restricted.
|
TIME_LIMITED_PARKING
Parking zone limited by time.
|
UNRESTRICTED_PARKING
Unrestricted parking zone.
|
Modifier and Type | Method and Description |
---|---|
static ParkingBlock.ParkingSection.Zone |
fromValue(String value)
Gets the parking section
ParkingBlock.ParkingSection.Zone by the specified value. |
String |
getValue()
Gets the
ParkingBlock.ParkingSection.Zone as string. |
String |
toString() |
static ParkingBlock.ParkingSection.Zone |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingBlock.ParkingSection.Zone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingBlock.ParkingSection.Zone NONE
public static final ParkingBlock.ParkingSection.Zone NO_PARKING
public static final ParkingBlock.ParkingSection.Zone PAID_PARKING
public static final ParkingBlock.ParkingSection.Zone CARPOOL_PARKING
public static final ParkingBlock.ParkingSection.Zone RESTRICTED_PARKING
public static final ParkingBlock.ParkingSection.Zone NONPAID_PARKING
public static final ParkingBlock.ParkingSection.Zone UNRESTRICTED_PARKING
public static final ParkingBlock.ParkingSection.Zone TIME_LIMITED_PARKING
public static final ParkingBlock.ParkingSection.Zone NO_PARKING_STREET_CLEANING
public static ParkingBlock.ParkingSection.Zone[] values()
for (ParkingBlock.ParkingSection.Zone c : ParkingBlock.ParkingSection.Zone.values()) System.out.println(c);
public static ParkingBlock.ParkingSection.Zone valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
ParkingBlock.ParkingSection.Zone
as string.public String toString()
toString
in class Enum<ParkingBlock.ParkingSection.Zone>
public static ParkingBlock.ParkingSection.Zone fromValue(String value)
ParkingBlock.ParkingSection.Zone
by the specified value.value
- The ParkingBlock.ParkingSection.Zone
as string.ParkingBlock.ParkingSection.Zone
for the specified value, or ParkingBlock.ParkingSection.Side.OTHER
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.