Enum DelayCodeEnum
- java.lang.Object
-
- java.lang.Enum<DelayCodeEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.DelayCodeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DelayCodeEnum>
public enum DelayCodeEnum extends Enum<DelayCodeEnum>
Java class for DelayCodeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DelayCodeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="delayBetweenOneHourAndThreeHours"/> <enumeration value="delayBetweenThirtyMinutesAndOneHour"/> <enumeration value="delayBetweenThreeHoursAndSixHours"/> <enumeration value="delayLessThanThirtyMinutes"/> <enumeration value="delayLongerThanSixHours"/> <enumeration value="negligible"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELAY_BETWEEN_ONE_HOUR_AND_THREE_HOURSDelay between one hour and three hours.DELAY_BETWEEN_THIRTY_MINUTES_AND_ONE_HOURDelay between thirty minutes and one hour.DELAY_BETWEEN_THREE_HOURS_AND_SIX_HOURSDelay between three hours and six hours.DELAY_LESS_THAN_THIRTY_MINUTESDelay less than thirty minutes.DELAY_LONGER_THAN_SIX_HOURSDelay longer than six hours.NEGLIGIBLENegligible delay.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DelayCodeEnumfromValue(String v)Stringvalue()static DelayCodeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DelayCodeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELAY_BETWEEN_ONE_HOUR_AND_THREE_HOURS
public static final DelayCodeEnum DELAY_BETWEEN_ONE_HOUR_AND_THREE_HOURS
Delay between one hour and three hours.
-
DELAY_BETWEEN_THIRTY_MINUTES_AND_ONE_HOUR
public static final DelayCodeEnum DELAY_BETWEEN_THIRTY_MINUTES_AND_ONE_HOUR
Delay between thirty minutes and one hour.
-
DELAY_BETWEEN_THREE_HOURS_AND_SIX_HOURS
public static final DelayCodeEnum DELAY_BETWEEN_THREE_HOURS_AND_SIX_HOURS
Delay between three hours and six hours.
-
DELAY_LESS_THAN_THIRTY_MINUTES
public static final DelayCodeEnum DELAY_LESS_THAN_THIRTY_MINUTES
Delay less than thirty minutes.
-
DELAY_LONGER_THAN_SIX_HOURS
public static final DelayCodeEnum DELAY_LONGER_THAN_SIX_HOURS
Delay longer than six hours.
-
NEGLIGIBLE
public static final DelayCodeEnum NEGLIGIBLE
Negligible delay.
-
-
Method Detail
-
values
public static DelayCodeEnum[] 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 (DelayCodeEnum c : DelayCodeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DelayCodeEnum 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 DelayCodeEnum fromValue(String v)
-
-