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