Package uk.org.siri.siri21
Enum CallStatusEnumeration
- java.lang.Object
-
- java.lang.Enum<CallStatusEnumeration>
-
- uk.org.siri.siri21.CallStatusEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<CallStatusEnumeration>
public enum CallStatusEnumeration extends Enum<CallStatusEnumeration>
Java class for CallStatusEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CallStatusEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="onTime"/> <enumeration value="early"/> <enumeration value="delayed"/> <enumeration value="cancelled"/> <enumeration value="arrived"/> <enumeration value="departed"/> <enumeration value="missed"/> <enumeration value="noReport"/> <enumeration value="notExpected"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRIVEDService has arrived.CANCELLEDService is cancelled.DELAYEDService is delayed.DEPARTEDEARLYService is earlier than expected.MISSEDNO_REPORTThere is no information about the service.NOT_EXPECTEDService is not expected to call this stop.ON_TIMEService is on time.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallStatusEnumerationfromValue(String v)Stringvalue()static CallStatusEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static CallStatusEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_TIME
public static final CallStatusEnumeration ON_TIME
Service is on time.
-
EARLY
public static final CallStatusEnumeration EARLY
Service is earlier than expected.
-
DELAYED
public static final CallStatusEnumeration DELAYED
Service is delayed.
-
CANCELLED
public static final CallStatusEnumeration CANCELLED
Service is cancelled.
-
ARRIVED
public static final CallStatusEnumeration ARRIVED
Service has arrived.
-
DEPARTED
public static final CallStatusEnumeration DEPARTED
-
MISSED
public static final CallStatusEnumeration MISSED
-
NO_REPORT
public static final CallStatusEnumeration NO_REPORT
There is no information about the service.
-
NOT_EXPECTED
public static final CallStatusEnumeration NOT_EXPECTED
Service is not expected to call this stop. For instance a flexible service that has not yet been preordered.
-
-
Method Detail
-
values
public static CallStatusEnumeration[] 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 (CallStatusEnumeration c : CallStatusEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallStatusEnumeration 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 CallStatusEnumeration fromValue(String v)
-
-