Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 brianR 1
 
2
3
 
4
import javax.xml.bind.annotation.XmlEnumValue;
5
import javax.xml.bind.annotation.XmlType;
6
7
 
8
 
9
 * <p>Java class for Table-Type.
10
 *
11
 * <p>The following schema fragment specifies the expected content contained within this class.
12
 * <p>
13
 * <pre>
14
 * &lt;simpleType name="Table-Type">
15
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
16
 *     &lt;enumeration value="NOT-SPECIFIED"/>
17
 *     &lt;enumeration value="SYSTEM-TABLE"/>
18
 *     &lt;enumeration value="PRIMARY-TABLE"/>
19
 *     &lt;enumeration value="AUXILIARY-TABLE"/>
20
 *     &lt;enumeration value="SYSTEM-AUXILIARY-TABLE"/>
21
 *     &lt;enumeration value="ARCHIVE-TABLE"/>
22
 *   &lt;/restriction>
23
 * &lt;/simpleType>
24
 * </pre>
25
 *
26
 */
27
@XmlType(name = "Table-Type")
28
@XmlEnum
29
public enum TableType {
30
31
 
32
    NOT_SPECIFIED("NOT-SPECIFIED"),
33
    @XmlEnumValue("SYSTEM-TABLE")
34
    SYSTEM_TABLE("SYSTEM-TABLE"),
35
    @XmlEnumValue("PRIMARY-TABLE")
36
    PRIMARY_TABLE("PRIMARY-TABLE"),
37
    @XmlEnumValue("AUXILIARY-TABLE")
38
    AUXILIARY_TABLE("AUXILIARY-TABLE"),
39
    @XmlEnumValue("SYSTEM-AUXILIARY-TABLE")
40
    SYSTEM_AUXILIARY_TABLE("SYSTEM-AUXILIARY-TABLE"),
41
    @XmlEnumValue("ARCHIVE-TABLE")
42
    ARCHIVE_TABLE("ARCHIVE-TABLE");
43
    private final String value;
44
45
 
46
        value = v;
47
    }
48
49
 
50
        return value;
51
    }
52
53
 
54
        for (TableType c: TableType.values()) {
55
            if (c.value.equals(v)) {
56
                return c;
57
            }
58
        }
59
        throw new IllegalArgumentException(v);
60
    }
61
62
 
63