KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlElement;
9 import javax.xml.bind.annotation.XmlElements;
10 import javax.xml.bind.annotation.XmlType;
11
12
13 /**
14  * <p>Java class for CompoundRequestType complex type.
15  *
16  * <p>The following schema fragment specifies the expected content contained within this class.
17  *
18  * <pre>
19  * &lt;complexType name="CompoundRequestType">
20  * &lt;complexContent>
21  * &lt;extension base="{http://www.w3.org/2002/03/xkms#}RequestAbstractType">
22  * &lt;choice maxOccurs="unbounded">
23  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}LocateRequest"/>
24  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}ValidateRequest"/>
25  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RegisterRequest"/>
26  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}ReissueRequest"/>
27  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RecoverRequest"/>
28  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RevokeRequest"/>
29  * &lt;/choice>
30  * &lt;/extension>
31  * &lt;/complexContent>
32  * &lt;/complexType>
33  * </pre>
34  *
35  *
36  */

37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "CompoundRequestType", propOrder = {
39     "locateRequestOrValidateRequestOrRegisterRequest"
40 })
41 public class CompoundRequestType
42     extends RequestAbstractType
43 {
44
45     @XmlElements({
46         @XmlElement(name = "RecoverRequest", type = RecoverRequestType.class),
47         @XmlElement(name = "LocateRequest", type = LocateRequestType.class),
48         @XmlElement(name = "ValidateRequest", type = ValidateRequestType.class),
49         @XmlElement(name = "RevokeRequest", type = RevokeRequestType.class),
50         @XmlElement(name = "RegisterRequest", type = RegisterRequestType.class),
51         @XmlElement(name = "ReissueRequest", type = ReissueRequestType.class)
52     })
53     protected List JavaDoc<RequestAbstractType> locateRequestOrValidateRequestOrRegisterRequest;
54
55     /**
56      * Gets the value of the locateRequestOrValidateRequestOrRegisterRequest property.
57      *
58      * <p>
59      * This accessor method returns a reference to the live list,
60      * not a snapshot. Therefore any modification you make to the
61      * returned list will be present inside the JAXB object.
62      * This is why there is not a <CODE>set</CODE> method for the locateRequestOrValidateRequestOrRegisterRequest property.
63      *
64      * <p>
65      * For example, to add a new item, do as follows:
66      * <pre>
67      * getLocateRequestOrValidateRequestOrRegisterRequest().add(newItem);
68      * </pre>
69      *
70      *
71      * <p>
72      * Objects of the following type(s) are allowed in the list
73      * {@link RecoverRequestType }
74      * {@link LocateRequestType }
75      * {@link ValidateRequestType }
76      * {@link RevokeRequestType }
77      * {@link RegisterRequestType }
78      * {@link ReissueRequestType }
79      *
80      *
81      */

82     public List JavaDoc<RequestAbstractType> getLocateRequestOrValidateRequestOrRegisterRequest() {
83         if (locateRequestOrValidateRequestOrRegisterRequest == null) {
84             locateRequestOrValidateRequestOrRegisterRequest = new ArrayList JavaDoc<RequestAbstractType>();
85         }
86         return this.locateRequestOrValidateRequestOrRegisterRequest;
87     }
88
89 }
90
Popular Tags