01: package org.w3._2002._03.xkms_;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05: import javax.xml.bind.annotation.XmlAccessType;
06: import javax.xml.bind.annotation.XmlAccessorType;
07: import javax.xml.bind.annotation.XmlElement;
08: import javax.xml.bind.annotation.XmlRootElement;
09: import javax.xml.bind.annotation.XmlType;
10:
11: /**
12: * <p>Java class for RecoverResultType complex type.
13: *
14: * <p>The following schema fragment specifies the expected content contained within this class.
15: *
16: * <pre>
17: * <complexType name="RecoverResultType">
18: * <complexContent>
19: * <extension base="{http://www.w3.org/2002/03/xkms#}ResultType">
20: * <sequence>
21: * <element ref="{http://www.w3.org/2002/03/xkms#}KeyBinding" maxOccurs="unbounded" minOccurs="0"/>
22: * <element ref="{http://www.w3.org/2002/03/xkms#}PrivateKey" minOccurs="0"/>
23: * </sequence>
24: * </extension>
25: * </complexContent>
26: * </complexType>
27: * </pre>
28: *
29: *
30: */
31: @XmlRootElement
32: @XmlAccessorType(XmlAccessType.FIELD)
33: @XmlType(name="RecoverResultType",propOrder={"keyBinding","privateKey"})
34: public class RecoverResultType extends ResultType {
35:
36: @XmlElement(name="KeyBinding")
37: protected List<KeyBindingType> keyBinding;
38: @XmlElement(name="PrivateKey")
39: protected PrivateKeyType privateKey;
40:
41: /**
42: * Gets the value of the keyBinding property.
43: *
44: * <p>
45: * This accessor method returns a reference to the live list,
46: * not a snapshot. Therefore any modification you make to the
47: * returned list will be present inside the JAXB object.
48: * This is why there is not a <CODE>set</CODE> method for the keyBinding property.
49: *
50: * <p>
51: * For example, to add a new item, do as follows:
52: * <pre>
53: * getKeyBinding().add(newItem);
54: * </pre>
55: *
56: *
57: * <p>
58: * Objects of the following type(s) are allowed in the list
59: * {@link KeyBindingType }
60: *
61: *
62: */
63: public List<KeyBindingType> getKeyBinding() {
64: if (keyBinding == null) {
65: keyBinding = new ArrayList<KeyBindingType>();
66: }
67: return this .keyBinding;
68: }
69:
70: /**
71: * Gets the value of the privateKey property.
72: *
73: * @return
74: * possible object is
75: * {@link PrivateKeyType }
76: *
77: */
78: public PrivateKeyType getPrivateKey() {
79: return privateKey;
80: }
81:
82: /**
83: * Sets the value of the privateKey property.
84: *
85: * @param value
86: * allowed object is
87: * {@link PrivateKeyType }
88: *
89: */
90: public void setPrivateKey(PrivateKeyType value) {
91: this.privateKey = value;
92: }
93:
94: }
|