Package uk.org.siri.siri10
Enum InterchangeManagementEnumeration
- java.lang.Object
-
- java.lang.Enum<InterchangeManagementEnumeration>
-
- uk.org.siri.siri10.InterchangeManagementEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<InterchangeManagementEnumeration>
public enum InterchangeManagementEnumeration extends Enum<InterchangeManagementEnumeration>
Java class for InterchangeManagementEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InterchangeManagementEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Planned"/> <enumeration value="Advertised"/> <enumeration value="Controlled"/> <enumeration value="Guaranteed"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERTISEDInterchange is advertised to public as a possible connection between journeys.CONTROLLEDInterchange is actively managed as a possible connection between journeys and passengers are informed of real-time alterations.GUARANTEEDInterchange is actively managed as a possible connection between journeys and distributor may be delayed in order to make a transfer possible.PLANNEDInterchange is considered a possible connection between journeys.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterchangeManagementEnumerationfromValue(String v)Stringvalue()static InterchangeManagementEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static InterchangeManagementEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLANNED
public static final InterchangeManagementEnumeration PLANNED
Interchange is considered a possible connection between journeys.
-
ADVERTISED
public static final InterchangeManagementEnumeration ADVERTISED
Interchange is advertised to public as a possible connection between journeys.
-
CONTROLLED
public static final InterchangeManagementEnumeration CONTROLLED
Interchange is actively managed as a possible connection between journeys and passengers are informed of real-time alterations.
-
GUARANTEED
public static final InterchangeManagementEnumeration GUARANTEED
Interchange is actively managed as a possible connection between journeys and distributor may be delayed in order to make a transfer possible.
-
-
Method Detail
-
values
public static InterchangeManagementEnumeration[] 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 (InterchangeManagementEnumeration c : InterchangeManagementEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterchangeManagementEnumeration 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 InterchangeManagementEnumeration fromValue(String v)
-
-