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 Table-Type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="Table-Type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="NOT-SPECIFIED"/>
* <enumeration value="SYSTEM-TABLE"/>
* <enumeration value="PRIMARY-TABLE"/>
* <enumeration value="AUXILIARY-TABLE"/>
* <enumeration value="SYSTEM-AUXILIARY-TABLE"/>
* <enumeration value="ARCHIVE-TABLE"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "Table-Type")
@XmlEnum
public enum TableType {
@XmlEnumValue("NOT-SPECIFIED")
NOT_SPECIFIED("NOT-SPECIFIED"),
@XmlEnumValue("SYSTEM-TABLE")
SYSTEM_TABLE("SYSTEM-TABLE"),
@XmlEnumValue("PRIMARY-TABLE")
PRIMARY_TABLE("PRIMARY-TABLE"),
@XmlEnumValue("AUXILIARY-TABLE")
AUXILIARY_TABLE("AUXILIARY-TABLE"),
@XmlEnumValue("SYSTEM-AUXILIARY-TABLE")
SYSTEM_AUXILIARY_TABLE("SYSTEM-AUXILIARY-TABLE"),
@XmlEnumValue("ARCHIVE-TABLE")
ARCHIVE_TABLE("ARCHIVE-TABLE");
private final String value;
TableType(String v) {
value = v;
}
public String value() {
return value;
}
public static TableType fromValue(String v) {
for (TableType c: TableType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}