KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > xml > ws > policy > impl > bindings > OperatorContentType


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.policy.impl.bindings;
10
11 import java.util.ArrayList JavaDoc;
12 import java.util.List JavaDoc;
13 import javax.xml.bind.JAXBElement;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlAnyElement;
17 import javax.xml.bind.annotation.XmlElementRef;
18 import javax.xml.bind.annotation.XmlElementRefs;
19 import javax.xml.bind.annotation.XmlType;
20 import com.sun.xml.ws.policy.impl.bindings.OperatorContentType;
21 import com.sun.xml.ws.policy.impl.bindings.Policy;
22 import com.sun.xml.ws.policy.impl.bindings.PolicyReference;
23 import org.w3c.dom.Element JavaDoc;
24
25
26 /**
27  * <p>Java class for OperatorContentType complex type.
28  *
29  * <p>The following schema fragment specifies the expected content contained within this class.
30  *
31  * <pre>
32  * &lt;complexType name="OperatorContentType">
33  * &lt;complexContent>
34  * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35  * &lt;choice maxOccurs="unbounded" minOccurs="0">
36  * &lt;element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy"/>
37  * &lt;element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}All"/>
38  * &lt;element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}ExactlyOne"/>
39  * &lt;element ref="{http://schemas.xmlsoap.org/ws/2004/09/policy}PolicyReference"/>
40  * &lt;any/>
41  * &lt;/choice>
42  * &lt;/restriction>
43  * &lt;/complexContent>
44  * &lt;/complexType>
45  * </pre>
46  *
47  *
48  */

49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "OperatorContentType", propOrder = {
51     "policyOrAllOrExactlyOne"
52 })
53 public class OperatorContentType {
54
55     @XmlElementRefs({
56         @XmlElementRef(name = "ExactlyOne", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = JAXBElement.class),
57         @XmlElementRef(name = "PolicyReference", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = PolicyReference.class),
58         @XmlElementRef(name = "All", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = JAXBElement.class),
59         @XmlElementRef(name = "Policy", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = Policy.class)
60     })
61     @XmlAnyElement(lax = true)
62     protected List JavaDoc<Object JavaDoc> policyOrAllOrExactlyOne;
63
64     /**
65      * Gets the value of the policyOrAllOrExactlyOne property.
66      *
67      * <p>
68      * This accessor method returns a reference to the live list,
69      * not a snapshot. Therefore any modification you make to the
70      * returned list will be present inside the JAXB object.
71      * This is why there is not a <CODE>set</CODE> method for the policyOrAllOrExactlyOne property.
72      *
73      * <p>
74      * For example, to add a new item, do as follows:
75      * <pre>
76      * getPolicyOrAllOrExactlyOne().add(newItem);
77      * </pre>
78      *
79      *
80      * <p>
81      * Objects of the following type(s) are allowed in the list
82      * {@link PolicyReference }
83      * {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >}
84      * {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >}
85      * {@link Element }
86      * {@link Object }
87      * {@link Policy }
88      *
89      *
90      */

91     public List JavaDoc<Object JavaDoc> getPolicyOrAllOrExactlyOne() {
92         if (policyOrAllOrExactlyOne == null) {
93             policyOrAllOrExactlyOne = new ArrayList JavaDoc<Object JavaDoc>();
94         }
95         return this.policyOrAllOrExactlyOne;
96     }
97
98 }
99
Popular Tags