
org.hl7.fhir.UnitsOfTimeList Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.02 at 03:09:39 PM MST
//
package org.hl7.fhir;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for UnitsOfTime-list.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="UnitsOfTime-list">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="s"/>
* <enumeration value="min"/>
* <enumeration value="h"/>
* <enumeration value="d"/>
* <enumeration value="wk"/>
* <enumeration value="mo"/>
* <enumeration value="a"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "UnitsOfTime-list")
@XmlEnum
public enum UnitsOfTimeList {
@XmlEnumValue("s")
S("s"),
@XmlEnumValue("min")
MIN("min"),
@XmlEnumValue("h")
H("h"),
@XmlEnumValue("d")
D("d"),
@XmlEnumValue("wk")
WK("wk"),
@XmlEnumValue("mo")
MO("mo"),
@XmlEnumValue("a")
A("a");
private final java.lang.String value;
UnitsOfTimeList(java.lang.String v) {
value = v;
}
public java.lang.String value() {
return value;
}
public static UnitsOfTimeList fromValue(java.lang.String v) {
for (UnitsOfTimeList c: UnitsOfTimeList.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy