de.gematik.ws.conn.certificateservicecommon.v2.CertRefEnum Maven / Gradle / Ivy
The newest version!
package de.gematik.ws.conn.certificateservicecommon.v2;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for CertRefEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="CertRefEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="C.AUT"/>
* <enumeration value="C.ENC"/>
* <enumeration value="C.SIG"/>
* <enumeration value="C.QES"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CertRefEnum")
@XmlEnum
public enum CertRefEnum {
@XmlEnumValue("C.AUT")
C_AUT("C.AUT"),
@XmlEnumValue("C.ENC")
C_ENC("C.ENC"),
@XmlEnumValue("C.SIG")
C_SIG("C.SIG"),
@XmlEnumValue("C.QES")
C_QES("C.QES");
private final String value;
CertRefEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static CertRefEnum fromValue(String v) {
for (CertRefEnum c: CertRefEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy