public static enum ParkingLot.Reservability extends Enum<ParkingLot.Reservability>
| Enum Constant and Description |
|---|
NOT_RESERVABLE
Not reservable.
|
PARTLY_RESERVABLE
Partly reservable.
|
RESERVABLE
Reservable.
|
RESERVATION_REQUIRED
Reservation required.
|
UNKNOWN
Unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static ParkingLot.Reservability |
fromValue(int value)
Gets the reservability by the specified value.
|
int |
getValue()
Gets the reservability as an int.
|
static ParkingLot.Reservability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingLot.Reservability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingLot.Reservability UNKNOWN
public static final ParkingLot.Reservability PARTLY_RESERVABLE
public static final ParkingLot.Reservability RESERVABLE
public static final ParkingLot.Reservability NOT_RESERVABLE
public static final ParkingLot.Reservability RESERVATION_REQUIRED
public static ParkingLot.Reservability[] values()
for (ParkingLot.Reservability c : ParkingLot.Reservability.values()) System.out.println(c);
public static ParkingLot.Reservability 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 int getValue()
public static ParkingLot.Reservability fromValue(int value)
value - The reservability as an int.ParkingLot.Reservability.UNKNOWN if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.