KickJava   Java API By Example, From Geeks To Geeks.

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


1
2 package org.w3._2002._03.xkms_;
3
4 import java.math.BigInteger JavaDoc;
5 import java.util.ArrayList JavaDoc;
6 import java.util.List JavaDoc;
7
8 import javax.xml.bind.annotation.XmlAccessType;
9 import javax.xml.bind.annotation.XmlAccessorType;
10 import javax.xml.bind.annotation.XmlAttribute;
11 import javax.xml.bind.annotation.XmlElement;
12 import javax.xml.bind.annotation.XmlSchemaType;
13 import javax.xml.bind.annotation.XmlType;
14 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
15 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
16
17
18 /**
19  * <p>Java class for RequestAbstractType complex type.
20  *
21  * <p>The following schema fragment specifies the expected content contained within this class.
22  *
23  * <pre>
24  * &lt;complexType name="RequestAbstractType">
25  * &lt;complexContent>
26  * &lt;extension base="{http://www.w3.org/2002/03/xkms#}MessageAbstractType">
27  * &lt;sequence>
28  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}ResponseMechanism" maxOccurs="unbounded" minOccurs="0"/>
29  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RespondWith" maxOccurs="unbounded" minOccurs="0"/>
30  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}PendingNotification" minOccurs="0"/>
31  * &lt;/sequence>
32  * &lt;attribute name="OriginalRequestId" type="{http://www.w3.org/2001/XMLSchema}NCName" />
33  * &lt;attribute name="ResponseLimit" type="{http://www.w3.org/2001/XMLSchema}integer" />
34  * &lt;/extension>
35  * &lt;/complexContent>
36  * &lt;/complexType>
37  * </pre>
38  *
39  *
40  */

41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "RequestAbstractType", propOrder = {
43     "responseMechanism",
44     "respondWith",
45     "pendingNotification"
46 })
47 /*@XmlSeeAlso({
48     ReissueRequestType.class,
49     LocateRequestType.class,
50     RevokeRequestType.class,
51     RecoverRequestType.class,
52     CompoundRequestType.class,
53     ValidateRequestType.class,
54     PendingRequestType.class,
55     RegisterRequestType.class
56 })*/

57 public abstract class RequestAbstractType
58     extends MessageAbstractType
59 {
60
61     @XmlElement(name = "ResponseMechanism")
62     protected List JavaDoc<String JavaDoc> responseMechanism;
63     @XmlElement(name = "RespondWith")
64     protected List JavaDoc<String JavaDoc> respondWith;
65     @XmlElement(name = "PendingNotification")
66     protected PendingNotificationType pendingNotification;
67     @XmlAttribute(name = "OriginalRequestId")
68     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
69     @XmlSchemaType(name = "NCName")
70     protected String JavaDoc originalRequestId;
71     @XmlAttribute(name = "ResponseLimit")
72     protected BigInteger JavaDoc responseLimit;
73
74     /**
75      * Gets the value of the responseMechanism property.
76      *
77      * <p>
78      * This accessor method returns a reference to the live list,
79      * not a snapshot. Therefore any modification you make to the
80      * returned list will be present inside the JAXB object.
81      * This is why there is not a <CODE>set</CODE> method for the responseMechanism property.
82      *
83      * <p>
84      * For example, to add a new item, do as follows:
85      * <pre>
86      * getResponseMechanism().add(newItem);
87      * </pre>
88      *
89      *
90      * <p>
91      * Objects of the following type(s) are allowed in the list
92      * {@link String }
93      *
94      *
95      */

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

125     public List JavaDoc<String JavaDoc> getRespondWith() {
126         if (respondWith == null) {
127             respondWith = new ArrayList JavaDoc<String JavaDoc>();
128         }
129         return this.respondWith;
130     }
131
132     /**
133      * Gets the value of the pendingNotification property.
134      *
135      * @return
136      * possible object is
137      * {@link PendingNotificationType }
138      *
139      */

140     public PendingNotificationType getPendingNotification() {
141         return pendingNotification;
142     }
143
144     /**
145      * Sets the value of the pendingNotification property.
146      *
147      * @param value
148      * allowed object is
149      * {@link PendingNotificationType }
150      *
151      */

152     public void setPendingNotification(PendingNotificationType value) {
153         this.pendingNotification = value;
154     }
155
156     /**
157      * Gets the value of the originalRequestId property.
158      *
159      * @return
160      * possible object is
161      * {@link String }
162      *
163      */

164     public String JavaDoc getOriginalRequestId() {
165         return originalRequestId;
166     }
167
168     /**
169      * Sets the value of the originalRequestId property.
170      *
171      * @param value
172      * allowed object is
173      * {@link String }
174      *
175      */

176     public void setOriginalRequestId(String JavaDoc value) {
177         this.originalRequestId = value;
178     }
179
180     /**
181      * Gets the value of the responseLimit property.
182      *
183      * @return
184      * possible object is
185      * {@link BigInteger }
186      *
187      */

188     public BigInteger JavaDoc getResponseLimit() {
189         return responseLimit;
190     }
191
192     /**
193      * Sets the value of the responseLimit property.
194      *
195      * @param value
196      * allowed object is
197      * {@link BigInteger }
198      *
199      */

200     public void setResponseLimit(BigInteger JavaDoc value) {
201         this.responseLimit = value;
202     }
203
204 }
205
Popular Tags