Enum ServiceDisruptionTypeEnum
- java.lang.Object
-
- java.lang.Enum<ServiceDisruptionTypeEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.ServiceDisruptionTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ServiceDisruptionTypeEnum>
public enum ServiceDisruptionTypeEnum extends Enum<ServiceDisruptionTypeEnum>
Java class for ServiceDisruptionTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ServiceDisruptionTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="barClosed"/> <enumeration value="dieselShortage"/> <enumeration value="fuelShortage"/> <enumeration value="lPGShortage"/> <enumeration value="methaneShortage"/> <enumeration value="noDieselForHeavyVehicles"/> <enumeration value="noDieselForLightVehicles"/> <enumeration value="noPublicTelephones"/> <enumeration value="noToiletFacilities"/> <enumeration value="noVehicleRepairFacilities"/> <enumeration value="petrolShortage"/> <enumeration value="restAreaBusy"/> <enumeration value="restAreaClosed"/> <enumeration value="restAreaOvercrowdedDriveToAnotherRestArea"/> <enumeration value="serviceAreaBusy"/> <enumeration value="serviceAreaClosed"/> <enumeration value="serviceAreaFuelStationClosed"/> <enumeration value="serviceAreaOvercrowdedDriveToAnotherServiceArea"/> <enumeration value="serviceAreaRestaurantClosed"/> <enumeration value="someCommercialServicesClosed"/> <enumeration value="waterShortage"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAR_CLOSEDBar closed.DIESEL_SHORTAGEThere is a shortage of diesel at the specified location.FUEL_SHORTAGEThere is a shortage of fuel (of one or more types) at the specified location.L_PG_SHORTAGEThere is a shortage of liquid petroleum gas at the specified location.METHANE_SHORTAGEThere is a shortage of methane at the specified location.NO_DIESEL_FOR_HEAVY_VEHICLESThere is no diesel available for heavy goods vehicles at the specified location.NO_DIESEL_FOR_LIGHT_VEHICLESThere is no diesel available for light vehicles at the specified location.NO_PUBLIC_TELEPHONESThere are no available public telephones at the specified location.NO_TOILET_FACILITIESThere are no available public toilet facilities at the specified location.NO_VEHICLE_REPAIR_FACILITIESThere are no available vehicle repair facilities at the specified location.PETROL_SHORTAGEThere is a shortage of petrol at the specified location.REST_AREA_BUSYThe rest area at the specified location is busy.REST_AREA_CLOSEDThe rest area at the specified location is closed.REST_AREA_OVERCROWDED_DRIVE_TO_ANOTHER_REST_AREAThe rest area at the specified location is close to capacity and motorists are advised to seek an alternative.SERVICE_AREA_BUSYThe service area at the specified location is close to capacity.SERVICE_AREA_CLOSEDThe service area at the specified location is closed.SERVICE_AREA_FUEL_STATION_CLOSEDThe fuel station at the specified service area is closed.SERVICE_AREA_OVERCROWDED_DRIVE_TO_ANOTHER_SERVICE_AREAThe service area at the specified location is close to capacity and motorists are advised to seek an alternative.SERVICE_AREA_RESTAURANT_CLOSEDThe restaurant at the specified service area is closed.SOME_COMMERCIAL_SERVICES_CLOSEDSome commercial services are closed at the specified location.WATER_SHORTAGEThere is a shortage of water at the specified location.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceDisruptionTypeEnumfromValue(String v)Stringvalue()static ServiceDisruptionTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ServiceDisruptionTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BAR_CLOSED
public static final ServiceDisruptionTypeEnum BAR_CLOSED
Bar closed.
-
DIESEL_SHORTAGE
public static final ServiceDisruptionTypeEnum DIESEL_SHORTAGE
There is a shortage of diesel at the specified location.
-
FUEL_SHORTAGE
public static final ServiceDisruptionTypeEnum FUEL_SHORTAGE
There is a shortage of fuel (of one or more types) at the specified location.
-
L_PG_SHORTAGE
public static final ServiceDisruptionTypeEnum L_PG_SHORTAGE
There is a shortage of liquid petroleum gas at the specified location.
-
METHANE_SHORTAGE
public static final ServiceDisruptionTypeEnum METHANE_SHORTAGE
There is a shortage of methane at the specified location.
-
NO_DIESEL_FOR_HEAVY_VEHICLES
public static final ServiceDisruptionTypeEnum NO_DIESEL_FOR_HEAVY_VEHICLES
There is no diesel available for heavy goods vehicles at the specified location.
-
NO_DIESEL_FOR_LIGHT_VEHICLES
public static final ServiceDisruptionTypeEnum NO_DIESEL_FOR_LIGHT_VEHICLES
There is no diesel available for light vehicles at the specified location.
-
NO_PUBLIC_TELEPHONES
public static final ServiceDisruptionTypeEnum NO_PUBLIC_TELEPHONES
There are no available public telephones at the specified location.
-
NO_TOILET_FACILITIES
public static final ServiceDisruptionTypeEnum NO_TOILET_FACILITIES
There are no available public toilet facilities at the specified location.
-
NO_VEHICLE_REPAIR_FACILITIES
public static final ServiceDisruptionTypeEnum NO_VEHICLE_REPAIR_FACILITIES
There are no available vehicle repair facilities at the specified location.
-
PETROL_SHORTAGE
public static final ServiceDisruptionTypeEnum PETROL_SHORTAGE
There is a shortage of petrol at the specified location.
-
REST_AREA_BUSY
public static final ServiceDisruptionTypeEnum REST_AREA_BUSY
The rest area at the specified location is busy.
-
REST_AREA_CLOSED
public static final ServiceDisruptionTypeEnum REST_AREA_CLOSED
The rest area at the specified location is closed.
-
REST_AREA_OVERCROWDED_DRIVE_TO_ANOTHER_REST_AREA
public static final ServiceDisruptionTypeEnum REST_AREA_OVERCROWDED_DRIVE_TO_ANOTHER_REST_AREA
The rest area at the specified location is close to capacity and motorists are advised to seek an alternative.
-
SERVICE_AREA_BUSY
public static final ServiceDisruptionTypeEnum SERVICE_AREA_BUSY
The service area at the specified location is close to capacity.
-
SERVICE_AREA_CLOSED
public static final ServiceDisruptionTypeEnum SERVICE_AREA_CLOSED
The service area at the specified location is closed.
-
SERVICE_AREA_FUEL_STATION_CLOSED
public static final ServiceDisruptionTypeEnum SERVICE_AREA_FUEL_STATION_CLOSED
The fuel station at the specified service area is closed.
-
SERVICE_AREA_OVERCROWDED_DRIVE_TO_ANOTHER_SERVICE_AREA
public static final ServiceDisruptionTypeEnum SERVICE_AREA_OVERCROWDED_DRIVE_TO_ANOTHER_SERVICE_AREA
The service area at the specified location is close to capacity and motorists are advised to seek an alternative.
-
SERVICE_AREA_RESTAURANT_CLOSED
public static final ServiceDisruptionTypeEnum SERVICE_AREA_RESTAURANT_CLOSED
The restaurant at the specified service area is closed.
-
SOME_COMMERCIAL_SERVICES_CLOSED
public static final ServiceDisruptionTypeEnum SOME_COMMERCIAL_SERVICES_CLOSED
Some commercial services are closed at the specified location.
-
WATER_SHORTAGE
public static final ServiceDisruptionTypeEnum WATER_SHORTAGE
There is a shortage of water at the specified location.
-
-
Method Detail
-
values
public static ServiceDisruptionTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServiceDisruptionTypeEnum c : ServiceDisruptionTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceDisruptionTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static ServiceDisruptionTypeEnum fromValue(String v)
-
-