Package uk.org.siri.siri10
Enum HireFacilityEnumeration
- java.lang.Object
-
- java.lang.Enum<HireFacilityEnumeration>
-
- uk.org.siri.siri10.HireFacilityEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<HireFacilityEnumeration>
public enum HireFacilityEnumeration extends Enum<HireFacilityEnumeration>
Java class for HireFacilityEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="HireFacilityEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="faccom_1"/> <enumeration value="carHire"/> <enumeration value="faccom_2"/> <enumeration value="taxi"/> <enumeration value="faccom_3"/> <enumeration value="cycleHire"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HireFacilityEnumerationfromValue(String v)Stringvalue()static HireFacilityEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static HireFacilityEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final HireFacilityEnumeration UNKNOWN
-
FACCOM_1
public static final HireFacilityEnumeration FACCOM_1
-
CAR_HIRE
public static final HireFacilityEnumeration CAR_HIRE
-
FACCOM_2
public static final HireFacilityEnumeration FACCOM_2
-
TAXI
public static final HireFacilityEnumeration TAXI
-
FACCOM_3
public static final HireFacilityEnumeration FACCOM_3
-
CYCLE_HIRE
public static final HireFacilityEnumeration CYCLE_HIRE
-
-
Method Detail
-
values
public static HireFacilityEnumeration[] 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 (HireFacilityEnumeration c : HireFacilityEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HireFacilityEnumeration 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 HireFacilityEnumeration fromValue(String v)
-
-