//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.06.13 at 12:42:16 PM CEST
//
package com.telefonica.schemas.unica.rest.sms.v1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for SMSFormat.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="SMSFormat">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Ems"/>
* <enumeration value="SmartMessaging"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "SMSFormat")
@XmlEnum
public enum SMSFormat {
/**
*
* Enhanced Messaging Service, standardized in TS 23.040 [7xxx], which defines a logo/ringtone format
*
*
*/
@XmlEnumValue("Ems")
EMS("Ems"),
/**
*
* Defines a logo/ringtone format
*
*
*/
@XmlEnumValue("SmartMessaging")
SMART_MESSAGING("SmartMessaging");
private final String value;
SMSFormat(String v) {
value = v;
}
public String value() {
return value;
}
public static SMSFormat fromValue(String v) {
for (SMSFormat c: SMSFormat.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}