diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-10-08 12:23:26 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-10-08 12:23:26 +0200 |
commit | 7a2bd50dc6d80b2c6271d6feaff7ca4c178958f8 (patch) | |
tree | 9c06400dd28a1318f2dd2f0dd8cfef3ba82c7523 /id/server/idserverlib/src/main/java/at/gv/util/xsd/persondata/SexType.java | |
parent | bfa66b41e723daf7ac7da7cef694ed52c43dbb39 (diff) | |
download | moa-id-spss-7a2bd50dc6d80b2c6271d6feaff7ca4c178958f8.tar.gz moa-id-spss-7a2bd50dc6d80b2c6271d6feaff7ca4c178958f8.tar.bz2 moa-id-spss-7a2bd50dc6d80b2c6271d6feaff7ca4c178958f8.zip |
remove unused files
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/util/xsd/persondata/SexType.java')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/util/xsd/persondata/SexType.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/util/xsd/persondata/SexType.java b/id/server/idserverlib/src/main/java/at/gv/util/xsd/persondata/SexType.java deleted file mode 100644 index eacf4a13e..000000000 --- a/id/server/idserverlib/src/main/java/at/gv/util/xsd/persondata/SexType.java +++ /dev/null @@ -1,54 +0,0 @@ - -package at.gv.util.xsd.persondata; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SexType. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * <p> - * <pre> - * <simpleType name="SexType"> - * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> - * <enumeration value="male"/> - * <enumeration value="female"/> - * <enumeration value="unknown"/> - * </restriction> - * </simpleType> - * </pre> - * - */ -@XmlType(name = "SexType") -@XmlEnum -public enum SexType { - - @XmlEnumValue("male") - MALE("male"), - @XmlEnumValue("female") - FEMALE("female"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"); - private final String value; - - SexType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static SexType fromValue(String v) { - for (SexType c: SexType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} |