1 8 9 package com.sun.xml.ws.security.trust.impl.bindings; 10 11 import java.util.ArrayList ; 12 import java.util.List ; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAnyElement; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlType; 18 import com.sun.xml.ws.security.trust.impl.bindings.ParticipantType; 19 import com.sun.xml.ws.security.trust.impl.bindings.ParticipantsType; 20 import org.w3c.dom.Element ; 21 22 23 44 @XmlAccessorType(XmlAccessType.FIELD) 45 @XmlType(name = "ParticipantsType", propOrder = { 46 "primary", 47 "participant", 48 "any" 49 }) 50 public class ParticipantsType { 51 52 @XmlElement(name = "Primary", namespace = "http://schemas.xmlsoap.org/ws/2005/02/trust") 53 protected ParticipantType primary; 54 @XmlElement(name = "Participant", namespace = "http://schemas.xmlsoap.org/ws/2005/02/trust") 55 protected List <ParticipantType> participant; 56 @XmlAnyElement(lax = true) 57 protected List <Object > any; 58 59 67 public ParticipantType getPrimary() { 68 return primary; 69 } 70 71 79 public void setPrimary(ParticipantType value) { 80 this.primary = value; 81 } 82 83 105 public List <ParticipantType> getParticipant() { 106 if (participant == null) { 107 participant = new ArrayList <ParticipantType>(); 108 } 109 return this.participant; 110 } 111 112 135 public List <Object > getAny() { 136 if (any == null) { 137 any = new ArrayList <Object >(); 138 } 139 return this.any; 140 } 141 142 } 143 | Popular Tags |