public static enum ParkingLot.OpeningHoursType extends Enum<ParkingLot.OpeningHoursType>
Enum Constant and Description |
---|
ENTRY_HOURS
Entry hours.
|
EXIT_HOURS
Exit hours.
|
MAXIMUM_STAY_TIME
Maximum stay time.
|
UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static ParkingLot.OpeningHoursType |
fromValue(String value)
Gets the opening hours type by the specified value.
|
String |
getValue()
Gets the opening hours type as string.
|
static ParkingLot.OpeningHoursType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingLot.OpeningHoursType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingLot.OpeningHoursType UNKNOWN
public static final ParkingLot.OpeningHoursType ENTRY_HOURS
public static final ParkingLot.OpeningHoursType EXIT_HOURS
public static final ParkingLot.OpeningHoursType MAXIMUM_STAY_TIME
public static ParkingLot.OpeningHoursType[] values()
for (ParkingLot.OpeningHoursType c : ParkingLot.OpeningHoursType.values()) System.out.println(c);
public static ParkingLot.OpeningHoursType 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.OpeningHoursType fromValue(String value)
value
- The opening hours type as string.ParkingLot.OpeningHoursType.UNKNOWN
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.