package net.brutex.sbm.wsclient; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** *

Java class for TimePreference. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="TimePreference">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="TIME-FORMAT-12HOUR"/>
 *     <enumeration value="TIME-FORMAT-24HOUR"/>
 *     <enumeration value="TIME-FORMAT-USE-GMT-OFFSET"/>
 *     <enumeration value="TIME-FORMAT-HONOR-DAYLIGHT"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "TimePreference") @XmlEnum public enum TimePreference { @XmlEnumValue("TIME-FORMAT-12HOUR") TIME_FORMAT_12_HOUR("TIME-FORMAT-12HOUR"), @XmlEnumValue("TIME-FORMAT-24HOUR") TIME_FORMAT_24_HOUR("TIME-FORMAT-24HOUR"), @XmlEnumValue("TIME-FORMAT-USE-GMT-OFFSET") TIME_FORMAT_USE_GMT_OFFSET("TIME-FORMAT-USE-GMT-OFFSET"), @XmlEnumValue("TIME-FORMAT-HONOR-DAYLIGHT") TIME_FORMAT_HONOR_DAYLIGHT("TIME-FORMAT-HONOR-DAYLIGHT"); private final String value; TimePreference(String v) { value = v; } public String value() { return value; } public static TimePreference fromValue(String v) { for (TimePreference c: TimePreference.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }