1 2 package org.w3._2002._03.xkms_; 3 4 import java.util.ArrayList ; 5 import java.util.List ; 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 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 <KeyBindingType> keyBinding; 45 @XmlElement(name = "PrivateKey") 46 protected PrivateKeyType privateKey; 47 48 70 public List <KeyBindingType> getKeyBinding() { 71 if (keyBinding == null) { 72 keyBinding = new ArrayList <KeyBindingType>(); 73 } 74 return this.keyBinding; 75 } 76 77 85 public PrivateKeyType getPrivateKey() { 86 return privateKey; 87 } 88 89 97 public void setPrivateKey(PrivateKeyType value) { 98 this.privateKey = value; 99 } 100 101 } 102 | Popular Tags |