public static enum ParkingBlock.ParkingRestriction.RestrictionType extends Enum<ParkingBlock.ParkingRestriction.RestrictionType>
Enum Constant and Description |
---|
MAXIMUM_TIME
Maximum parking time enforced.
|
OTHER
Other parking restriction.
|
Modifier and Type | Method and Description |
---|---|
static ParkingBlock.ParkingRestriction.RestrictionType |
fromValue(String value)
Gets the parking section
ParkingBlock.ParkingRestriction.RestrictionType by the specified value. |
String |
getValue()
Gets the
ParkingBlock.ParkingRestriction.RestrictionType as string. |
String |
toString() |
static ParkingBlock.ParkingRestriction.RestrictionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingBlock.ParkingRestriction.RestrictionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingBlock.ParkingRestriction.RestrictionType MAXIMUM_TIME
public static final ParkingBlock.ParkingRestriction.RestrictionType OTHER
public static ParkingBlock.ParkingRestriction.RestrictionType[] values()
for (ParkingBlock.ParkingRestriction.RestrictionType c : ParkingBlock.ParkingRestriction.RestrictionType.values()) System.out.println(c);
public static ParkingBlock.ParkingRestriction.RestrictionType 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.ParkingRestriction.RestrictionType
as string.public String toString()
toString
in class Enum<ParkingBlock.ParkingRestriction.RestrictionType>
public static ParkingBlock.ParkingRestriction.RestrictionType fromValue(String value)
ParkingBlock.ParkingRestriction.RestrictionType
by the specified value.value
- The ParkingBlock.ParkingRestriction.RestrictionType
as string.ParkingBlock.ParkingRestriction.RestrictionType
for the specified value, or ParkingBlock.ParkingRestriction.RestrictionType.OTHER
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.