Package uk.org.siri.siri21
Enum DaysOfWeekEnumerationx
- java.lang.Object
-
- java.lang.Enum<DaysOfWeekEnumerationx>
-
- uk.org.siri.siri21.DaysOfWeekEnumerationx
-
- All Implemented Interfaces:
Serializable,Comparable<DaysOfWeekEnumerationx>
public enum DaysOfWeekEnumerationx extends Enum<DaysOfWeekEnumerationx>
Java class for DaysOfWeekEnumerationx.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DaysOfWeekEnumerationx"> <restriction base="{http://www.siri.org.uk/siri}DayTypeEnumeration"> <enumeration value="unknown"/> <enumeration value="monday"/> <enumeration value="tuesday"/> <enumeration value="wednesday"/> <enumeration value="thursday"/> <enumeration value="friday"/> <enumeration value="saturday"/> <enumeration value="sunday"/> <enumeration value="mondayToFriday"/> <enumeration value="mondayToSaturday"/> <enumeration value="weekdays"/> <enumeration value="weekends"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DaysOfWeekEnumerationxfromValue(DayTypeEnumeration v)DayTypeEnumerationvalue()static DaysOfWeekEnumerationxvalueOf(String name)Returns the enum constant of this type with the specified name.static DaysOfWeekEnumerationx[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final DaysOfWeekEnumerationx UNKNOWN
-
MONDAY
public static final DaysOfWeekEnumerationx MONDAY
-
TUESDAY
public static final DaysOfWeekEnumerationx TUESDAY
-
WEDNESDAY
public static final DaysOfWeekEnumerationx WEDNESDAY
-
THURSDAY
public static final DaysOfWeekEnumerationx THURSDAY
-
FRIDAY
public static final DaysOfWeekEnumerationx FRIDAY
-
SATURDAY
public static final DaysOfWeekEnumerationx SATURDAY
-
SUNDAY
public static final DaysOfWeekEnumerationx SUNDAY
-
MONDAY_TO_FRIDAY
public static final DaysOfWeekEnumerationx MONDAY_TO_FRIDAY
-
MONDAY_TO_SATURDAY
public static final DaysOfWeekEnumerationx MONDAY_TO_SATURDAY
-
WEEKDAYS
public static final DaysOfWeekEnumerationx WEEKDAYS
-
WEEKENDS
public static final DaysOfWeekEnumerationx WEEKENDS
-
-
Method Detail
-
values
public static DaysOfWeekEnumerationx[] 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 (DaysOfWeekEnumerationx c : DaysOfWeekEnumerationx.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DaysOfWeekEnumerationx 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 DayTypeEnumeration value()
-
fromValue
public static DaysOfWeekEnumerationx fromValue(DayTypeEnumeration v)
-
-