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 ImportCurrentOverallStatus.
10
 *
11
 * <p>The following schema fragment specifies the expected content contained within this class.
12
 * <p>
13
 * <pre>
14
 * &lt;simpleType name="ImportCurrentOverallStatus">
15
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
16
 *     &lt;enumeration value="IMPORT-IN-PROGRESS"/>
17
 *     &lt;enumeration value="IMPORT-COMPLETED"/>
18
 *   &lt;/restriction>
19
 * &lt;/simpleType>
20
 * </pre>
21
 *
22
 */
23
@XmlType(name = "ImportCurrentOverallStatus")
24
@XmlEnum
25
public enum ImportCurrentOverallStatus {
26
27
 
28
    IMPORT_IN_PROGRESS("IMPORT-IN-PROGRESS"),
29
    @XmlEnumValue("IMPORT-COMPLETED")
30
    IMPORT_COMPLETED("IMPORT-COMPLETED");
31
    private final String value;
32
33
 
34
        value = v;
35
    }
36
37
 
38
        return value;
39
    }
40
41
 
42
        for (ImportCurrentOverallStatus c: ImportCurrentOverallStatus.values()) {
43
            if (c.value.equals(v)) {
44
                return c;
45
            }
46
        }
47
        throw new IllegalArgumentException(v);
48
    }
49
50
 
51