public static enum ParkingLot.ParkingType extends Enum<ParkingLot.ParkingType>
Enum Constant and Description |
---|
CAMPGROUND
Campground.
|
CARPOOL
Carpool.
|
COVERED
Covered.
|
DOWNTOWN
Downtown.
|
DROP_OFF_MECHANICAL
Drop off mechanical.
|
DROP_OFF_WITH_VALET
Drop off with valet.
|
FIELD
Field.
|
HIGHWAY
Highway.
|
KISS_AND_RIDE
Kiss and ride.
|
MULTISTORY
Multistory.
|
NESTED
Nested.
|
OPEN_SPACE
Open space.
|
PARK_AND_RIDE
Park and ride.
|
PARKING_ZONE
Parking zone.
|
ROADSIDE
Roadside.
|
SPECIAL
Special.
|
TEMPORARY
Temporary.
|
UNDERGROUND
Underground.
|
UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static ParkingLot.ParkingType |
fromValue(String value)
Gets the parking type by the specified value.
|
String |
getValue()
Gets the type of parking lot as string.
|
static ParkingLot.ParkingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingLot.ParkingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingLot.ParkingType UNKNOWN
public static final ParkingLot.ParkingType SPECIAL
public static final ParkingLot.ParkingType OPEN_SPACE
public static final ParkingLot.ParkingType MULTISTORY
public static final ParkingLot.ParkingType UNDERGROUND
public static final ParkingLot.ParkingType COVERED
public static final ParkingLot.ParkingType NESTED
public static final ParkingLot.ParkingType FIELD
public static final ParkingLot.ParkingType ROADSIDE
public static final ParkingLot.ParkingType DROP_OFF_WITH_VALET
public static final ParkingLot.ParkingType DROP_OFF_MECHANICAL
public static final ParkingLot.ParkingType HIGHWAY
public static final ParkingLot.ParkingType PARK_AND_RIDE
public static final ParkingLot.ParkingType CARPOOL
public static final ParkingLot.ParkingType CAMPGROUND
public static final ParkingLot.ParkingType PARKING_ZONE
public static final ParkingLot.ParkingType DOWNTOWN
public static final ParkingLot.ParkingType TEMPORARY
public static final ParkingLot.ParkingType KISS_AND_RIDE
public static ParkingLot.ParkingType[] values()
for (ParkingLot.ParkingType c : ParkingLot.ParkingType.values()) System.out.println(c);
public static ParkingLot.ParkingType 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()
public static ParkingLot.ParkingType fromValue(String value)
value
- The parking type as string.ParkingLot.ParkingType.UNKNOWN
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.