
org.hl7.v3.XPhoneOrEmailURLScheme Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.03.15 at 09:03:15 AM PDT
//
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for x_PhoneOrEmailURLScheme.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="x_PhoneOrEmailURLScheme">
* <restriction base="{urn:hl7-org:v3}cs">
* <enumeration value="fax"/>
* <enumeration value="mailto"/>
* <enumeration value="tel"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "x_PhoneOrEmailURLScheme")
@XmlEnum
public enum XPhoneOrEmailURLScheme {
@XmlEnumValue("fax")
FAX("fax"),
@XmlEnumValue("mailto")
MAILTO("mailto"),
@XmlEnumValue("tel")
TEL("tel");
private final String value;
XPhoneOrEmailURLScheme(String v) {
value = v;
}
public String value() {
return value;
}
public static XPhoneOrEmailURLScheme fromValue(String v) {
for (XPhoneOrEmailURLScheme c: XPhoneOrEmailURLScheme.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy