Package uk.org.acbs.siri21
Enum EncumbranceEnumeration
- java.lang.Object
-
- java.lang.Enum<EncumbranceEnumeration>
-
- uk.org.acbs.siri21.EncumbranceEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<EncumbranceEnumeration>
public enum EncumbranceEnumeration extends Enum<EncumbranceEnumeration>
Java class for EncumbranceEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EncumbranceEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="luggageEncumbered"/> <enumeration value="pushchair"/> <enumeration value="baggageTrolley"/> <enumeration value="oversizeBaggage"/> <enumeration value="guideDog"/> <enumeration value="otherAnimal"/> <enumeration value="otherEncumbrance"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAGGAGE_TROLLEYGUIDE_DOGLUGGAGE_ENCUMBEREDOTHER_ANIMALOTHER_ENCUMBRANCEOVERSIZE_BAGGAGEPUSHCHAIR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncumbranceEnumerationfromValue(String v)Stringvalue()static EncumbranceEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static EncumbranceEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LUGGAGE_ENCUMBERED
public static final EncumbranceEnumeration LUGGAGE_ENCUMBERED
-
PUSHCHAIR
public static final EncumbranceEnumeration PUSHCHAIR
-
BAGGAGE_TROLLEY
public static final EncumbranceEnumeration BAGGAGE_TROLLEY
-
OVERSIZE_BAGGAGE
public static final EncumbranceEnumeration OVERSIZE_BAGGAGE
-
GUIDE_DOG
public static final EncumbranceEnumeration GUIDE_DOG
-
OTHER_ANIMAL
public static final EncumbranceEnumeration OTHER_ANIMAL
-
OTHER_ENCUMBRANCE
public static final EncumbranceEnumeration OTHER_ENCUMBRANCE
-
-
Method Detail
-
values
public static EncumbranceEnumeration[] 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 (EncumbranceEnumeration c : EncumbranceEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncumbranceEnumeration 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 EncumbranceEnumeration fromValue(String v)
-
-