
ihe.iti.svs._2008.IntegrityCheckAlgorithm 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 IntegrityCheckAlgorithm.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="IntegrityCheckAlgorithm">
* <restriction base="{urn:ihe:iti:svs:2008}cs">
* <enumeration value="SHA-1"/>
* <enumeration value="SHA-256"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "IntegrityCheckAlgorithm")
@XmlEnum
public enum IntegrityCheckAlgorithm {
@XmlEnumValue("SHA-1")
SHA_1("SHA-1"),
@XmlEnumValue("SHA-256")
SHA_256("SHA-256");
private final String value;
IntegrityCheckAlgorithm(String v) {
value = v;
}
public String value() {
return value;
}
public static IntegrityCheckAlgorithm fromValue(String v) {
for (IntegrityCheckAlgorithm c: IntegrityCheckAlgorithm.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy