GLS ShipIT
GLS ShipIT - REST services
 All Classes Namespaces Files Functions Variables Enumerator Pages
DayOfWeek.java
Go to the documentation of this file.
1 
2 package eu.glsgroup.fpcs.datatypes.soap.v1.common;
3 
4 import javax.xml.bind.annotation.XmlEnum;
5 import javax.xml.bind.annotation.XmlType;
6 
7 
28 @XmlType(name = "DayOfWeek")
29 @XmlEnum
30 public enum DayOfWeek {
31 
32  MON,
33  TUE,
34  WED,
35  THU,
36  FRI,
37  SAT,
38  SUN;
39 
40  public String value() {
41  return name();
42  }
43 
44  public static DayOfWeek fromValue(String v) {
45  return valueOf(v);
46  }
47 
48 }