Package uk.org.siri.siri20
Enum EndTimePrecisionEnumeration
- java.lang.Object
-
- java.lang.Enum<EndTimePrecisionEnumeration>
-
- uk.org.siri.siri20.EndTimePrecisionEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<EndTimePrecisionEnumeration>
public enum EndTimePrecisionEnumeration extends Enum<EndTimePrecisionEnumeration>
Java class for EndTimePrecisionEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EndTimePrecisionEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="day"/> <enumeration value="hour"/> <enumeration value="second"/> <enumeration value="milliSecond"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYHOURMILLI_SECONDSECOND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndTimePrecisionEnumerationfromValue(String v)Stringvalue()static EndTimePrecisionEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static EndTimePrecisionEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAY
public static final EndTimePrecisionEnumeration DAY
-
HOUR
public static final EndTimePrecisionEnumeration HOUR
-
SECOND
public static final EndTimePrecisionEnumeration SECOND
-
MILLI_SECOND
public static final EndTimePrecisionEnumeration MILLI_SECOND
-
-
Method Detail
-
values
public static EndTimePrecisionEnumeration[] 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 (EndTimePrecisionEnumeration c : EndTimePrecisionEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndTimePrecisionEnumeration 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 EndTimePrecisionEnumeration fromValue(String v)
-
-