GbProfile.java
package nl.logius.digikoppeling.gb._2010._10;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for gb-profile.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>
* <simpleType name="gb-profile">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="digikoppeling-gb-1.0"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "gb-profile")
@XmlEnum
public enum GbProfile {
@XmlEnumValue("digikoppeling-gb-1.0")
DIGIKOPPELING_GB_1_0("digikoppeling-gb-1.0");
private final String value;
GbProfile(String v) {
value = v;
}
public String value() {
return value;
}
public static GbProfile fromValue(String v) {
for (GbProfile c: GbProfile.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}