public enum TransitServiceTypeEnum extends Enum<TransitServiceTypeEnum>
Java class for TransitServiceTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TransitServiceTypeEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="air"/>
<enumeration value="bus"/>
<enumeration value="ferry"/>
<enumeration value="hydrofoil"/>
<enumeration value="rail"/>
<enumeration value="tram"/>
<enumeration value="undergroundMetro"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AIR |
BUS |
FERRY |
HYDROFOIL |
RAIL |
TRAM |
UNDERGROUND_METRO |
| Modifier and Type | Method and Description |
|---|---|
static TransitServiceTypeEnum |
fromValue(String v) |
String |
value() |
static TransitServiceTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransitServiceTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransitServiceTypeEnum AIR
public static final TransitServiceTypeEnum BUS
public static final TransitServiceTypeEnum FERRY
public static final TransitServiceTypeEnum HYDROFOIL
public static final TransitServiceTypeEnum RAIL
public static final TransitServiceTypeEnum TRAM
public static final TransitServiceTypeEnum UNDERGROUND_METRO
public static TransitServiceTypeEnum[] values()
for (TransitServiceTypeEnum c : TransitServiceTypeEnum.values()) System.out.println(c);
public static TransitServiceTypeEnum 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 TransitServiceTypeEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.