Enum DelaysTypeEnum
- java.lang.Object
-
- java.lang.Enum<DelaysTypeEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.DelaysTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DelaysTypeEnum>
public enum DelaysTypeEnum extends Enum<DelaysTypeEnum>
Java class for DelaysTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DelaysTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="delays"/> <enumeration value="delaysOfUncertainDuration"/> <enumeration value="longDelays"/> <enumeration value="veryLongDelays"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELAYSDELAYS_OF_UNCERTAIN_DURATIONLONG_DELAYSVERY_LONG_DELAYS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DelaysTypeEnumfromValue(String v)Stringvalue()static DelaysTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DelaysTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELAYS
public static final DelaysTypeEnum DELAYS
-
DELAYS_OF_UNCERTAIN_DURATION
public static final DelaysTypeEnum DELAYS_OF_UNCERTAIN_DURATION
-
LONG_DELAYS
public static final DelaysTypeEnum LONG_DELAYS
-
VERY_LONG_DELAYS
public static final DelaysTypeEnum VERY_LONG_DELAYS
-
-
Method Detail
-
values
public static DelaysTypeEnum[] 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 (DelaysTypeEnum c : DelaysTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DelaysTypeEnum 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 DelaysTypeEnum fromValue(String v)
-
-