riv.ehr.patientsummary._1.StrucDocCellScope 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.CellScope.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="StrucDoc.CellScope">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="row"/>
* <enumeration value="col"/>
* <enumeration value="rowgroup"/>
* <enumeration value="colgroup"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "StrucDoc.CellScope")
@XmlEnum
public enum StrucDocCellScope {
@XmlEnumValue("row")
ROW("row"),
@XmlEnumValue("col")
COL("col"),
@XmlEnumValue("rowgroup")
ROWGROUP("rowgroup"),
@XmlEnumValue("colgroup")
COLGROUP("colgroup");
private final String value;
StrucDocCellScope(String v) {
value = v;
}
public String value() {
return value;
}
public static StrucDocCellScope fromValue(String v) {
for (StrucDocCellScope c: StrucDocCellScope.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy