org.jibx.schema.org.hr_xml.ns._2_4.HR_XML_2_4.StandAlone.PositionOpening.CompetencyWeightType Maven / Gradle / Ivy
package org.jibx.schema.org.hr_xml.ns._2_4.HR_XML_2_4.StandAlone.PositionOpening;
/**
* Schema fragment(s) for this class:
*
* <xs:simpleType xmlns:ns="http://ns.hr-xml.org/2006-02-28" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CompetencyWeightType">
* <xs:restriction base="xs:string">
* <xs:enumeration value="levelOfInterest"/>
* <xs:enumeration value="skillLevel"/>
* </xs:restriction>
* </xs:simpleType>
*
*/
public enum CompetencyWeightType {
LEVEL_OF_INTEREST("levelOfInterest"), SKILL_LEVEL("skillLevel");
private final String value;
private CompetencyWeightType(String value) {
this.value = value;
}
public String xmlValue() {
return value;
}
public static CompetencyWeightType convert(String value) {
for (CompetencyWeightType inst : values()) {
if (inst.xmlValue().equals(value)) {
return inst;
}
}
return null;
}
}