KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3 > _2002 > _03 > xkms_ > StatusType


1
2 package org.w3._2002._03.xkms_;
3
4 import java.util.ArrayList JavaDoc;
5 import java.util.List JavaDoc;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAttribute;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlType;
11
12
13 /**
14  * <p>Java class for StatusType complex type.
15  *
16  * <p>The following schema fragment specifies the expected content contained within this class.
17  *
18  * <pre>
19  * &lt;complexType name="StatusType">
20  * &lt;complexContent>
21  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22  * &lt;sequence>
23  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}ValidReason" maxOccurs="unbounded" minOccurs="0"/>
24  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}IndeterminateReason" maxOccurs="unbounded" minOccurs="0"/>
25  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}InvalidReason" maxOccurs="unbounded" minOccurs="0"/>
26  * &lt;/sequence>
27  * &lt;attribute name="StatusValue" use="required" type="{http://www.w3.org/2002/03/xkms#}KeyBindingEnum" />
28  * &lt;/restriction>
29  * &lt;/complexContent>
30  * &lt;/complexType>
31  * </pre>
32  *
33  *
34  */

35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "StatusType", propOrder = {
37     "validReason",
38     "indeterminateReason",
39     "invalidReason"
40 })
41 public class StatusType {
42
43     @XmlElement(name = "ValidReason")
44     protected List JavaDoc<String JavaDoc> validReason;
45     @XmlElement(name = "IndeterminateReason")
46     protected List JavaDoc<String JavaDoc> indeterminateReason;
47     @XmlElement(name = "InvalidReason")
48     protected List JavaDoc<String JavaDoc> invalidReason;
49     @XmlAttribute(name = "StatusValue", required = true)
50     protected String JavaDoc statusValue;
51
52     /**
53      * Gets the value of the validReason property.
54      *
55      * <p>
56      * This accessor method returns a reference to the live list,
57      * not a snapshot. Therefore any modification you make to the
58      * returned list will be present inside the JAXB object.
59      * This is why there is not a <CODE>set</CODE> method for the validReason property.
60      *
61      * <p>
62      * For example, to add a new item, do as follows:
63      * <pre>
64      * getValidReason().add(newItem);
65      * </pre>
66      *
67      *
68      * <p>
69      * Objects of the following type(s) are allowed in the list
70      * {@link String }
71      *
72      *
73      */

74     public List JavaDoc<String JavaDoc> getValidReason() {
75         if (validReason == null) {
76             validReason = new ArrayList JavaDoc<String JavaDoc>();
77         }
78         return this.validReason;
79     }
80
81     /**
82      * Gets the value of the indeterminateReason property.
83      *
84      * <p>
85      * This accessor method returns a reference to the live list,
86      * not a snapshot. Therefore any modification you make to the
87      * returned list will be present inside the JAXB object.
88      * This is why there is not a <CODE>set</CODE> method for the indeterminateReason property.
89      *
90      * <p>
91      * For example, to add a new item, do as follows:
92      * <pre>
93      * getIndeterminateReason().add(newItem);
94      * </pre>
95      *
96      *
97      * <p>
98      * Objects of the following type(s) are allowed in the list
99      * {@link String }
100      *
101      *
102      */

103     public List JavaDoc<String JavaDoc> getIndeterminateReason() {
104         if (indeterminateReason == null) {
105             indeterminateReason = new ArrayList JavaDoc<String JavaDoc>();
106         }
107         return this.indeterminateReason;
108     }
109
110     /**
111      * Gets the value of the invalidReason property.
112      *
113      * <p>
114      * This accessor method returns a reference to the live list,
115      * not a snapshot. Therefore any modification you make to the
116      * returned list will be present inside the JAXB object.
117      * This is why there is not a <CODE>set</CODE> method for the invalidReason property.
118      *
119      * <p>
120      * For example, to add a new item, do as follows:
121      * <pre>
122      * getInvalidReason().add(newItem);
123      * </pre>
124      *
125      *
126      * <p>
127      * Objects of the following type(s) are allowed in the list
128      * {@link String }
129      *
130      *
131      */

132     public List JavaDoc<String JavaDoc> getInvalidReason() {
133         if (invalidReason == null) {
134             invalidReason = new ArrayList JavaDoc<String JavaDoc>();
135         }
136         return this.invalidReason;
137     }
138
139     /**
140      * Gets the value of the statusValue property.
141      *
142      * @return
143      * possible object is
144      * {@link String }
145      *
146      */

147     public String JavaDoc getStatusValue() {
148         return statusValue;
149     }
150
151     /**
152      * Sets the value of the statusValue property.
153      *
154      * @param value
155      * allowed object is
156      * {@link String }
157      *
158      */

159     public void setStatusValue(String JavaDoc value) {
160         this.statusValue = value;
161     }
162
163 }
164
Popular Tags