Package uk.org.siri.siri21
Enum CountingTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<CountingTypeEnumeration>
-
- uk.org.siri.siri21.CountingTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<CountingTypeEnumeration>
public enum CountingTypeEnumeration extends Enum<CountingTypeEnumeration>
Java class for CountingTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CountingTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="availabilityCount"/> <enumeration value="reservedCount"/> <enumeration value="inUseCount"/> <enumeration value="outOfOrderCount"/> <enumeration value="presentCount"/> <enumeration value="currentStateCount"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABILITY_COUNTCURRENT_STATE_COUNTIN_USE_COUNTOUT_OF_ORDER_COUNTPRESENT_COUNTRESERVED_COUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CountingTypeEnumerationfromValue(String v)Stringvalue()static CountingTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static CountingTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABILITY_COUNT
public static final CountingTypeEnumeration AVAILABILITY_COUNT
-
RESERVED_COUNT
public static final CountingTypeEnumeration RESERVED_COUNT
-
IN_USE_COUNT
public static final CountingTypeEnumeration IN_USE_COUNT
-
OUT_OF_ORDER_COUNT
public static final CountingTypeEnumeration OUT_OF_ORDER_COUNT
-
PRESENT_COUNT
public static final CountingTypeEnumeration PRESENT_COUNT
-
CURRENT_STATE_COUNT
public static final CountingTypeEnumeration CURRENT_STATE_COUNT
-
-
Method Detail
-
values
public static CountingTypeEnumeration[] 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 (CountingTypeEnumeration c : CountingTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CountingTypeEnumeration 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 CountingTypeEnumeration fromValue(String v)
-
-