Package uk.org.acbs.siri13
Enum MobilityEnumeration
- java.lang.Object
-
- java.lang.Enum<MobilityEnumeration>
-
- uk.org.acbs.siri13.MobilityEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<MobilityEnumeration>
public enum MobilityEnumeration extends Enum<MobilityEnumeration>
Java class for MobilityEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MobilityEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="wheelchair"/> <enumeration value="assistedWheelchair"/> <enumeration value="motorizedWheelchair"/> <enumeration value="walkingFrame"/> <enumeration value="restrictedMobility"/> <enumeration value="otherMobilityNeed"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSISTED_WHEELCHAIRMOTORIZED_WHEELCHAIROTHER_MOBILITY_NEEDRESTRICTED_MOBILITYWALKING_FRAMEWHEELCHAIR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MobilityEnumerationfromValue(String v)Stringvalue()static MobilityEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static MobilityEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WHEELCHAIR
public static final MobilityEnumeration WHEELCHAIR
-
ASSISTED_WHEELCHAIR
public static final MobilityEnumeration ASSISTED_WHEELCHAIR
-
MOTORIZED_WHEELCHAIR
public static final MobilityEnumeration MOTORIZED_WHEELCHAIR
-
WALKING_FRAME
public static final MobilityEnumeration WALKING_FRAME
-
RESTRICTED_MOBILITY
public static final MobilityEnumeration RESTRICTED_MOBILITY
-
OTHER_MOBILITY_NEED
public static final MobilityEnumeration OTHER_MOBILITY_NEED
-
-
Method Detail
-
values
public static MobilityEnumeration[] 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 (MobilityEnumeration c : MobilityEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MobilityEnumeration 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 MobilityEnumeration fromValue(String v)
-
-