public static enum ParkingLot.GateType extends Enum<ParkingLot.GateType>
Enum Constant and Description |
---|
PEDESTRIAN_ENTRANCE
Pedestrian entrance.
|
PEDESTRIAN_EXIT
Pedestrian exit.
|
UNKNOWN
Unknown.
|
VEHICLE_ENTRANCE
Vehicle entrance.
|
VEHICLE_EXIT
Vehicle exit.
|
VEHICLE_EXIT_AND_ENTRANCE
Vehicle exit and entrance.
|
VEHICLE_RENTAL_RETURN
Vehicle rental return.
|
Modifier and Type | Method and Description |
---|---|
static ParkingLot.GateType |
fromValue(String value)
Gets the gate type by the specified value.
|
String |
getValue()
Gets the gate type as string.
|
static ParkingLot.GateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingLot.GateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingLot.GateType UNKNOWN
public static final ParkingLot.GateType VEHICLE_ENTRANCE
public static final ParkingLot.GateType VEHICLE_EXIT
public static final ParkingLot.GateType VEHICLE_RENTAL_RETURN
public static final ParkingLot.GateType VEHICLE_EXIT_AND_ENTRANCE
public static final ParkingLot.GateType PEDESTRIAN_ENTRANCE
public static final ParkingLot.GateType PEDESTRIAN_EXIT
public static ParkingLot.GateType[] values()
for (ParkingLot.GateType c : ParkingLot.GateType.values()) System.out.println(c);
public static ParkingLot.GateType 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.GateType fromValue(String value)
value
- The gate type as string.ParkingLot.GateType.UNKNOWN
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.