org.hl7.elm.r1.AccessModifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elm Show documentation
Show all versions of elm Show documentation
The elm library for the Clinical Quality Language Java reference implementation
The newest version!
//
// 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.20 at 10:51:29 AM MST
//
package org.hl7.elm.r1;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for AccessModifier.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="AccessModifier">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Public"/>
* <enumeration value="Private"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AccessModifier", namespace = "urn:hl7-org:elm:r1")
@XmlEnum
public enum AccessModifier {
@XmlEnumValue("Public")
PUBLIC("Public"),
@XmlEnumValue("Private")
PRIVATE("Private");
private final String value;
AccessModifier(String v) {
value = v;
}
public String value() {
return value;
}
public static AccessModifier fromValue(String v) {
for (AccessModifier c: AccessModifier.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy