KickJava   Java API By Example, From Geeks To Geeks.

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


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.XmlRootElement;
10 import javax.xml.bind.annotation.XmlType;
11
12
13 /**
14  * <p>Java class for RegisterResultType complex type.
15  *
16  * <p>The following schema fragment specifies the expected content contained within this class.
17  *
18  * <pre>
19  * &lt;complexType name="RegisterResultType">
20  * &lt;complexContent>
21  * &lt;extension base="{http://www.w3.org/2002/03/xkms#}ResultType">
22  * &lt;sequence>
23  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}KeyBinding" maxOccurs="unbounded" minOccurs="0"/>
24  * &lt;element ref="{http://www.w3.org/2002/03/xkms#}PrivateKey" minOccurs="0"/>
25  * &lt;/sequence>
26  * &lt;/extension>
27  * &lt;/complexContent>
28  * &lt;/complexType>
29  * </pre>
30  *
31  *
32  */

33 @XmlRootElement
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "RegisterResultType", propOrder = {
36     "keyBinding",
37     "privateKey"
38 })
39 public class RegisterResultType
40     extends ResultType
41 {
42
43     @XmlElement(name = "KeyBinding")
44     protected List JavaDoc<KeyBindingType> keyBinding;
45     @XmlElement(name = "PrivateKey")
46     protected PrivateKeyType privateKey;
47
48     /**
49      * Gets the value of the keyBinding property.
50      *
51      * <p>
52      * This accessor method returns a reference to the live list,
53      * not a snapshot. Therefore any modification you make to the
54      * returned list will be present inside the JAXB object.
55      * This is why there is not a <CODE>set</CODE> method for the keyBinding property.
56      *
57      * <p>
58      * For example, to add a new item, do as follows:
59      * <pre>
60      * getKeyBinding().add(newItem);
61      * </pre>
62      *
63      *
64      * <p>
65      * Objects of the following type(s) are allowed in the list
66      * {@link KeyBindingType }
67      *
68      *
69      */

70     public List JavaDoc<KeyBindingType> getKeyBinding() {
71         if (keyBinding == null) {
72             keyBinding = new ArrayList JavaDoc<KeyBindingType>();
73         }
74         return this.keyBinding;
75     }
76
77     /**
78      * Gets the value of the privateKey property.
79      *
80      * @return
81      * possible object is
82      * {@link PrivateKeyType }
83      *
84      */

85     public PrivateKeyType getPrivateKey() {
86         return privateKey;
87     }
88
89     /**
90      * Sets the value of the privateKey property.
91      *
92      * @param value
93      * allowed object is
94      * {@link PrivateKeyType }
95      *
96      */

97     public void setPrivateKey(PrivateKeyType value) {
98         this.privateKey = value;
99     }
100
101 }
102
Popular Tags