
org.somda.sdc.biceps.model.participant.MdsOperatingMode Maven / Gradle / Ivy
package org.somda.sdc.biceps.model.participant;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* MdsOperatingMode defines the interpretation constraints of the data that is provided by an MDS.
*
* Java class for MdsOperatingMode
.
*
* The following schema fragment specifies the expected content contained within this class.
* {@code
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "MdsOperatingMode", namespace = "http://standards.ieee.org/downloads/11073/11073-10207-2017/participant")
@XmlEnum
public enum MdsOperatingMode {
/**
* Nml = Normal. The POC MEDICAL DEVICE operates in a mode that supports the fulfillment of its clinical functions.
*
*/
@XmlEnumValue("Nml")
NML("Nml"),
/**
* Dmo = Demo. The POC MEDICAL DEVICE operates in a mode that is intended for demonstration purposes only. Arbitrary values are generated.
*
*/
@XmlEnumValue("Dmo")
DMO("Dmo"),
/**
* Srv = Service. The POC MEDICAL DEVICE operates in a mode that is intended for services purposes only.
*
*/
@XmlEnumValue("Srv")
SRV("Srv"),
/**
* MTN = Maintenance. The POC MEDICAL DEVICE operates in a mode that is intended for maintenance purposes only.
*
*/
@XmlEnumValue("Mtn")
MTN("Mtn");
private final String value;
MdsOperatingMode(String v) {
value = v;
}
/**
* Gets the value associated to the enum constant.
*
* @return
* The value linked to the enum.
*/
public String value() {
return value;
}
/**
* Gets the enum associated to the value passed as parameter.
*
* @param v
* The value to get the enum from.
* @return
* The enum which corresponds to the value, if it exists.
* @throws IllegalArgumentException
* If no value matches in the enum declaration.
*/
public static MdsOperatingMode fromValue(String v) {
for (MdsOperatingMode c: MdsOperatingMode.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy