All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cxf.ws.policy.v200607.OperatorContentType Maven / Gradle / Ivy

There is a newer version: 2.7.18
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2012.05.30 at 11:04:38 AM EDT 
//


package org.apache.cxf.ws.policy.v200607;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * 

Java class for OperatorContentType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="OperatorContentType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://www.w3.org/2006/07/ws-policy}Policy"/>
 *           <element ref="{http://www.w3.org/2006/07/ws-policy}All"/>
 *           <element ref="{http://www.w3.org/2006/07/ws-policy}ExactlyOne"/>
 *           <element ref="{http://www.w3.org/2006/07/ws-policy}PolicyReference"/>
 *           <any processContents='lax' namespace='##other'/>
 *         </choice>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OperatorContentType", propOrder = { "policyOrAllOrExactlyOne" }) @XmlSeeAlso({ Policy.class }) public class OperatorContentType { @XmlElementRefs({ @XmlElementRef(name = "All", namespace = "http://www.w3.org/2006/07/ws-policy", type = JAXBElement.class), @XmlElementRef(name = "ExactlyOne", namespace = "http://www.w3.org/2006/07/ws-policy", type = JAXBElement.class), @XmlElementRef(name = "Policy", namespace = "http://www.w3.org/2006/07/ws-policy", type = Policy.class), @XmlElementRef(name = "PolicyReference", namespace = "http://www.w3.org/2006/07/ws-policy", type = PolicyReference.class) }) @XmlAnyElement(lax = true) protected List policyOrAllOrExactlyOne; /** * Gets the value of the policyOrAllOrExactlyOne property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the policyOrAllOrExactlyOne property. * *

* For example, to add a new item, do as follows: *

     *    getPolicyOrAllOrExactlyOne().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >} * {@link JAXBElement }{@code <}{@link OperatorContentType }{@code >} * {@link Policy } * {@link PolicyReference } * * */ public List getPolicyOrAllOrExactlyOne() { if (policyOrAllOrExactlyOne == null) { policyOrAllOrExactlyOne = new ArrayList(); } return this.policyOrAllOrExactlyOne; } }