riv.ehr.patientsummary._1.StrucDocRules Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for StrucDoc.Rules.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="StrucDoc.Rules">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="none"/>
* <enumeration value="groups"/>
* <enumeration value="rows"/>
* <enumeration value="cols"/>
* <enumeration value="all"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "StrucDoc.Rules")
@XmlEnum
public enum StrucDocRules {
@XmlEnumValue("none")
NONE("none"),
@XmlEnumValue("groups")
GROUPS("groups"),
@XmlEnumValue("rows")
ROWS("rows"),
@XmlEnumValue("cols")
COLS("cols"),
@XmlEnumValue("all")
ALL("all");
private final String value;
StrucDocRules(String v) {
value = v;
}
public String value() {
return value;
}
public static StrucDocRules fromValue(String v) {
for (StrucDocRules c: StrucDocRules.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy