Package uk.org.siri.siri10
Enum VehicleMonitoringDetailEnumeration
- java.lang.Object
-
- java.lang.Enum<VehicleMonitoringDetailEnumeration>
-
- uk.org.siri.siri10.VehicleMonitoringDetailEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<VehicleMonitoringDetailEnumeration>
public enum VehicleMonitoringDetailEnumeration extends Enum<VehicleMonitoringDetailEnumeration>
Java class for VehicleMonitoringDetailEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VehicleMonitoringDetailEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="minimum"/> <enumeration value="basic"/> <enumeration value="normal"/> <enumeration value="calls"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASICReturn minimum and other avaialble basic details for each stop event.CALLSReturn all available data for each stop event, including previous and onward journey patterns passing times.MINIMUMReturn only the minimum amount of optional data for each stop event to provide a display, A time, line name and destination name.NORMALReturn all basic data, and also arrival times at destination.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VehicleMonitoringDetailEnumerationfromValue(String v)Stringvalue()static VehicleMonitoringDetailEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static VehicleMonitoringDetailEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINIMUM
public static final VehicleMonitoringDetailEnumeration MINIMUM
Return only the minimum amount of optional data for each stop event to provide a display, A time, line name and destination name.
-
BASIC
public static final VehicleMonitoringDetailEnumeration BASIC
Return minimum and other avaialble basic details for each stop event. Do not include data on time at next stop or destination.
-
NORMAL
public static final VehicleMonitoringDetailEnumeration NORMAL
Return all basic data, and also arrival times at destination.
-
CALLS
public static final VehicleMonitoringDetailEnumeration CALLS
Return all available data for each stop event, including previous and onward journey patterns passing times.
-
-
Method Detail
-
values
public static VehicleMonitoringDetailEnumeration[] 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 (VehicleMonitoringDetailEnumeration c : VehicleMonitoringDetailEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VehicleMonitoringDetailEnumeration 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 VehicleMonitoringDetailEnumeration fromValue(String v)
-
-