Package uk.org.siri.siri20
Enum RemedyTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<RemedyTypeEnumeration>
-
- uk.org.siri.siri20.RemedyTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<RemedyTypeEnumeration>
public enum RemedyTypeEnumeration extends Enum<RemedyTypeEnumeration>
Java class for RemedyTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RemedyTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="replace"/> <enumeration value="repair"/> <enumeration value="remove"/> <enumeration value="otherRoute"/> <enumeration value="otherLocation"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OTHER_LOCATIONOTHER_ROUTEREMOVEREPAIRREPLACEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemedyTypeEnumerationfromValue(String v)Stringvalue()static RemedyTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static RemedyTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final RemedyTypeEnumeration UNKNOWN
-
REPLACE
public static final RemedyTypeEnumeration REPLACE
-
REPAIR
public static final RemedyTypeEnumeration REPAIR
-
REMOVE
public static final RemedyTypeEnumeration REMOVE
-
OTHER_ROUTE
public static final RemedyTypeEnumeration OTHER_ROUTE
-
OTHER_LOCATION
public static final RemedyTypeEnumeration OTHER_LOCATION
-
-
Method Detail
-
values
public static RemedyTypeEnumeration[] 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 (RemedyTypeEnumeration c : RemedyTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemedyTypeEnumeration 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 RemedyTypeEnumeration fromValue(String v)
-
-