KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > security > trust > impl > bindings > ParticipantsType


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2006.02.24 at 05:55:09 PM PST
6
//
7

8
9 package com.sun.xml.ws.security.trust.impl.bindings;
10
11 import java.util.ArrayList JavaDoc;
12 import java.util.List JavaDoc;
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 JavaDoc;
21
22
23 /**
24  * <p>Java class for ParticipantsType complex type.
25  *
26  * <p>The following schema fragment specifies the expected content contained within this class.
27  *
28  * <pre>
29  * &lt;complexType name="ParticipantsType">
30  * &lt;complexContent>
31  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32  * &lt;sequence>
33  * &lt;element name="Primary" type="{http://schemas.xmlsoap.org/ws/2005/02/trust}ParticipantType" minOccurs="0"/>
34  * &lt;element name="Participant" type="{http://schemas.xmlsoap.org/ws/2005/02/trust}ParticipantType" maxOccurs="unbounded" minOccurs="0"/>
35  * &lt;any/>
36  * &lt;/sequence>
37  * &lt;/restriction>
38  * &lt;/complexContent>
39  * &lt;/complexType>
40  * </pre>
41  *
42  *
43  */

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 JavaDoc<ParticipantType> participant;
56     @XmlAnyElement(lax = true)
57     protected List JavaDoc<Object JavaDoc> any;
58
59     /**
60      * Gets the value of the primary property.
61      *
62      * @return
63      * possible object is
64      * {@link ParticipantType }
65      *
66      */

67     public ParticipantType getPrimary() {
68         return primary;
69     }
70
71     /**
72      * Sets the value of the primary property.
73      *
74      * @param value
75      * allowed object is
76      * {@link ParticipantType }
77      *
78      */

79     public void setPrimary(ParticipantType value) {
80         this.primary = value;
81     }
82
83     /**
84      * Gets the value of the participant property.
85      *
86      * <p>
87      * This accessor method returns a reference to the live list,
88      * not a snapshot. Therefore any modification you make to the
89      * returned list will be present inside the JAXB object.
90      * This is why there is not a <CODE>set</CODE> method for the participant property.
91      *
92      * <p>
93      * For example, to add a new item, do as follows:
94      * <pre>
95      * getParticipant().add(newItem);
96      * </pre>
97      *
98      *
99      * <p>
100      * Objects of the following type(s) are allowed in the list
101      * {@link ParticipantType }
102      *
103      *
104      */

105     public List JavaDoc<ParticipantType> getParticipant() {
106         if (participant == null) {
107             participant = new ArrayList JavaDoc<ParticipantType>();
108         }
109         return this.participant;
110     }
111
112     /**
113      * Gets the value of the any property.
114      *
115      * <p>
116      * This accessor method returns a reference to the live list,
117      * not a snapshot. Therefore any modification you make to the
118      * returned list will be present inside the JAXB object.
119      * This is why there is not a <CODE>set</CODE> method for the any property.
120      *
121      * <p>
122      * For example, to add a new item, do as follows:
123      * <pre>
124      * getAny().add(newItem);
125      * </pre>
126      *
127      *
128      * <p>
129      * Objects of the following type(s) are allowed in the list
130      * {@link Element }
131      * {@link Object }
132      *
133      *
134      */

135     public List JavaDoc<Object JavaDoc> getAny() {
136         if (any == null) {
137             any = new ArrayList JavaDoc<Object JavaDoc>();
138         }
139         return this.any;
140     }
141
142 }
143
Popular Tags