View as "text/plain" | Blame | Last modification | View Log | Download | RSS feed
package net.brutex.sbm.wsclient;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Field-Type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="Field-Type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="FLDTYPE-UNKNOWN"/>
* <enumeration value="FLDTYPE-NUMERIC"/>
* <enumeration value="FLDTYPE-TEXT"/>
* <enumeration value="FLDTYPE-DATETIME"/>
* <enumeration value="FLDTYPE-SELECTION"/>
* <enumeration value="FLDTYPE-BINARY"/>
* <enumeration value="FLDTYPE-STATE"/>
* <enumeration value="FLDTYPE-USER"/>
* <enumeration value="FLDTYPE-PROJECT"/>
* <enumeration value="FLDTYPE-SUMMATION"/>
* <enumeration value="FLDTYPE-MULTIPLE-SELECTION"/>
* <enumeration value="FLDTYPE-CONTACT"/>
* <enumeration value="FLDTYPE-INCIDENT"/>
* <enumeration value="FLDTYPE-FOLDER"/>
* <enumeration value="FLDTYPE-RELATIONAL"/>
* <enumeration value="FLDTYPE-SUBRELATIONAL"/>
* <enumeration value="FLDTYPE-SYSTEM"/>
* <enumeration value="FLDTYPE-MULTIPLE-RELATIONAL"/>
* <enumeration value="FLDTYPE-MULTIPLE-GROUP"/>
* <enumeration value="FLDTYPE-MULTIPLE-USERGROUP"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "Field-Type")
@XmlEnum
public enum FieldType {
@XmlEnumValue("FLDTYPE-UNKNOWN")
FLDTYPE_UNKNOWN("FLDTYPE-UNKNOWN"),
@XmlEnumValue("FLDTYPE-NUMERIC")
FLDTYPE_NUMERIC("FLDTYPE-NUMERIC"),
@XmlEnumValue("FLDTYPE-TEXT")
FLDTYPE_TEXT("FLDTYPE-TEXT"),
@XmlEnumValue("FLDTYPE-DATETIME")
FLDTYPE_DATETIME("FLDTYPE-DATETIME"),
@XmlEnumValue("FLDTYPE-SELECTION")
FLDTYPE_SELECTION("FLDTYPE-SELECTION"),
@XmlEnumValue("FLDTYPE-BINARY")
FLDTYPE_BINARY("FLDTYPE-BINARY"),
@XmlEnumValue("FLDTYPE-STATE")
FLDTYPE_STATE("FLDTYPE-STATE"),
@XmlEnumValue("FLDTYPE-USER")
FLDTYPE_USER("FLDTYPE-USER"),
@XmlEnumValue("FLDTYPE-PROJECT")
FLDTYPE_PROJECT("FLDTYPE-PROJECT"),
@XmlEnumValue("FLDTYPE-SUMMATION")
FLDTYPE_SUMMATION("FLDTYPE-SUMMATION"),
@XmlEnumValue("FLDTYPE-MULTIPLE-SELECTION")
FLDTYPE_MULTIPLE_SELECTION("FLDTYPE-MULTIPLE-SELECTION"),
@XmlEnumValue("FLDTYPE-CONTACT")
FLDTYPE_CONTACT("FLDTYPE-CONTACT"),
@XmlEnumValue("FLDTYPE-INCIDENT")
FLDTYPE_INCIDENT("FLDTYPE-INCIDENT"),
@XmlEnumValue("FLDTYPE-FOLDER")
FLDTYPE_FOLDER("FLDTYPE-FOLDER"),
@XmlEnumValue("FLDTYPE-RELATIONAL")
FLDTYPE_RELATIONAL("FLDTYPE-RELATIONAL"),
@XmlEnumValue("FLDTYPE-SUBRELATIONAL")
FLDTYPE_SUBRELATIONAL("FLDTYPE-SUBRELATIONAL"),
@XmlEnumValue("FLDTYPE-SYSTEM")
FLDTYPE_SYSTEM("FLDTYPE-SYSTEM"),
@XmlEnumValue("FLDTYPE-MULTIPLE-RELATIONAL")
FLDTYPE_MULTIPLE_RELATIONAL("FLDTYPE-MULTIPLE-RELATIONAL"),
@XmlEnumValue("FLDTYPE-MULTIPLE-GROUP")
FLDTYPE_MULTIPLE_GROUP("FLDTYPE-MULTIPLE-GROUP"),
@XmlEnumValue("FLDTYPE-MULTIPLE-USERGROUP")
FLDTYPE_MULTIPLE_USERGROUP("FLDTYPE-MULTIPLE-USERGROUP");
private final String value;
FieldType(String v) {
value = v;
}
public String value() {
return value;
}
public static FieldType fromValue(String v) {
for (FieldType c: FieldType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}