KickJava   Java API By Example, From Geeks To Geeks.

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


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 CompoundResultType complex type.
15  *
16  * <p>The following schema fragment specifies the expected content contained within this class.
17  *
18  * <pre>
19  * &lt;complexType name="CompoundResultType">
20  * &lt;complexContent>
21  * &lt;extension base="{http://www.w3.org/2002/03/xkms#}ResultType">
22  * &lt;choice maxOccurs="unbounded" minOccurs="0">
23  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}LocateResult"/>
24  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}ValidateResult"/>
25  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RegisterResult"/>
26  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}ReissueResult"/>
27  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RecoverResult"/>
28  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}RevokeResult"/>
29  * &lt;/choice>
30  * &lt;/extension>
31  * &lt;/complexContent>
32  * &lt;/complexType>
33  * </pre>
34  *
35  *
36  */

37 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "CompoundResultType", propOrder = {
39     "locateResultOrValidateResultOrRegisterResult"
40 })
41 public class CompoundResultType
42     extends ResultType
43 {
44
45     @XmlElements({
46         @XmlElement(name = "RevokeResult", type = RevokeResultType.class),
47         @XmlElement(name = "LocateResult", type = LocateResultType.class),
48         @XmlElement(name = "RecoverResult", type = RecoverResultType.class),
49         @XmlElement(name = "ReissueResult", type = ReissueResultType.class),
50         @XmlElement(name = "RegisterResult", type = RegisterResultType.class),
51         @XmlElement(name = "ValidateResult", type = ValidateResultType.class)
52     })
53     protected List JavaDoc<ResultType> locateResultOrValidateResultOrRegisterResult;
54
55     /**
56      * Gets the value of the locateResultOrValidateResultOrRegisterResult 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 locateResultOrValidateResultOrRegisterResult property.
63      *
64      * <p>
65      * For example, to add a new item, do as follows:
66      * <pre>
67      * getLocateResultOrValidateResultOrRegisterResult().add(newItem);
68      * </pre>
69      *
70      *
71      * <p>
72      * Objects of the following type(s) are allowed in the list
73      * {@link RevokeResultType }
74      * {@link LocateResultType }
75      * {@link RecoverResultType }
76      * {@link ReissueResultType }
77      * {@link RegisterResultType }
78      * {@link ValidateResultType }
79      *
80      *
81      */

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