public enum ParkingStayEnumeration extends Enum<ParkingStayEnumeration>
Java class for ParkingStayEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ParkingStayEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="shortStay"/>
<enumeration value="midTerm"/>
<enumeration value="longTerm"/>
<enumeration value="dropoff"/>
<enumeration value="unlimited"/>
<enumeration value="other"/>
<enumeration value="all"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL |
DROPOFF |
LONG_TERM |
MID_TERM |
OTHER |
SHORT_STAY |
UNLIMITED |
| Modifier and Type | Method and Description |
|---|---|
static ParkingStayEnumeration |
fromValue(String v) |
String |
value() |
static ParkingStayEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingStayEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingStayEnumeration SHORT_STAY
public static final ParkingStayEnumeration MID_TERM
public static final ParkingStayEnumeration LONG_TERM
public static final ParkingStayEnumeration DROPOFF
public static final ParkingStayEnumeration UNLIMITED
public static final ParkingStayEnumeration OTHER
public static final ParkingStayEnumeration ALL
public static ParkingStayEnumeration[] values()
for (ParkingStayEnumeration c : ParkingStayEnumeration.values()) System.out.println(c);
public static ParkingStayEnumeration 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 value()
public static ParkingStayEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.