
ihe.iti.svs._2008.ConceptCodeRelationship Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ihe-iti Show documentation
Show all versions of ihe-iti Show documentation
Codegen for IHE ITI Profiles.
package ihe.iti.svs._2008;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ConceptCodeRelationship.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ConceptCodeRelationship">
* <restriction base="{urn:ihe:iti:svs:2008}cs">
* <enumeration value="hasPart"/>
* <enumeration value="hasSubtype"/>
* <enumeration value="smallerThan"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ConceptCodeRelationship")
@XmlEnum
public enum ConceptCodeRelationship {
@XmlEnumValue("hasPart")
HAS_PART("hasPart"),
@XmlEnumValue("hasSubtype")
HAS_SUBTYPE("hasSubtype"),
@XmlEnumValue("smallerThan")
SMALLER_THAN("smallerThan");
private final String value;
ConceptCodeRelationship(String v) {
value = v;
}
public String value() {
return value;
}
public static ConceptCodeRelationship fromValue(String v) {
for (ConceptCodeRelationship c: ConceptCodeRelationship.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy