package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ModelMediaType. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="ModelMediaType"> * <restriction base="{urn:hl7-org:v3}cs"> * <enumeration value="model/vrml"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "ModelMediaType") @XmlEnum public enum ModelMediaType { @XmlEnumValue("model/vrml") MODEL_VRML("model/vrml"); private final String value; ModelMediaType(String v) { value = v; } public String value() { return value; } public static ModelMediaType fromValue(String v) { for (ModelMediaType c: ModelMediaType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }