-
Notifications
You must be signed in to change notification settings - Fork 8
/
DecisionType.java
64 lines (53 loc) · 1.69 KB
/
DecisionType.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.06.02 at 11:44:08 AM CEST
//
package oasis.names.tc.xacml._3_0.core.schema.wd_17;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DecisionType.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* <simpleType name="DecisionType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Permit"/>
* <enumeration value="Deny"/>
* <enumeration value="Indeterminate"/>
* <enumeration value="NotApplicable"/>
* </restriction>
* </simpleType>
* </pre>
*/
@XmlType(name = "DecisionType")
@XmlEnum
public enum DecisionType {
@XmlEnumValue("Deny")
DENY("Deny"),
@XmlEnumValue("Indeterminate")
INDETERMINATE("Indeterminate"),
@XmlEnumValue("NotApplicable")
NOT_APPLICABLE("NotApplicable"),
@XmlEnumValue("Permit")
PERMIT("Permit");
public static DecisionType fromValue(String v) {
for (DecisionType c : DecisionType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
private final String value;
DecisionType(String v) {
value = v;
}
public String value() {
return value;
}
}