Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Weekday |
|
| 1.0;1 |
1 | // | |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 | |
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
5 | // Generated on: 2015.04.14 at 06:59:39 PM CEST | |
6 | // | |
7 | ||
8 | ||
9 | package de.jollyday.config; | |
10 | ||
11 | import javax.xml.bind.annotation.XmlEnum; | |
12 | import javax.xml.bind.annotation.XmlType; | |
13 | ||
14 | ||
15 | /** | |
16 | * <p>Java class for Weekday. | |
17 | * | |
18 | * <p>The following schema fragment specifies the expected content contained within this class. | |
19 | * <p> | |
20 | * <pre> | |
21 | * <simpleType name="Weekday"> | |
22 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> | |
23 | * <enumeration value="MONDAY"/> | |
24 | * <enumeration value="TUESDAY"/> | |
25 | * <enumeration value="WEDNESDAY"/> | |
26 | * <enumeration value="THURSDAY"/> | |
27 | * <enumeration value="FRIDAY"/> | |
28 | * <enumeration value="SATURDAY"/> | |
29 | * <enumeration value="SUNDAY"/> | |
30 | * </restriction> | |
31 | * </simpleType> | |
32 | * </pre> | |
33 | * | |
34 | */ | |
35 | 2 | @XmlType(name = "Weekday") |
36 | @XmlEnum | |
37 | 7 | public enum Weekday { |
38 | ||
39 | 1 | MONDAY, |
40 | 1 | TUESDAY, |
41 | 1 | WEDNESDAY, |
42 | 1 | THURSDAY, |
43 | 1 | FRIDAY, |
44 | 1 | SATURDAY, |
45 | 1 | SUNDAY; |
46 | ||
47 | public String value() { | |
48 | 622 | return name(); |
49 | } | |
50 | ||
51 | public static Weekday fromValue(String v) { | |
52 | 0 | return valueOf(v); |
53 | } | |
54 | ||
55 | } |