package at.gv.egiz.pdfas.api.ws; import javax.xml.bind.annotation.XmlType; @XmlType(name = "VerificationLevel") public enum VerificationLevel { INTEGRITY_ONLY("intOnly"), FULL_CERT_PATH("full"); private final String name; private VerificationLevel(String s) { name = s; } public boolean equalsName(String otherName) { return (otherName == null) ? false : name.equals(otherName); } public String toString() { return name; } }