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

org.apache.cxf.ws.security.sts.provider.model.ParticipantsType 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 12:16:52 PM EDT 
//


package org.apache.cxf.ws.security.sts.provider.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * 

Java class for ParticipantsType complex type. * *

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

 * <complexType name="ParticipantsType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Primary" type="{http://docs.oasis-open.org/ws-sx/ws-trust/200512}ParticipantType" minOccurs="0"/>
 *         <element name="Participant" type="{http://docs.oasis-open.org/ws-sx/ws-trust/200512}ParticipantType" maxOccurs="unbounded" minOccurs="0"/>
 *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ParticipantsType", propOrder = { "primary", "participant", "any" }) public class ParticipantsType { @XmlElement(name = "Primary") protected ParticipantType primary; @XmlElement(name = "Participant") protected List participant; @XmlAnyElement(lax = true) protected List any; /** * Gets the value of the primary property. * * @return * possible object is * {@link ParticipantType } * */ public ParticipantType getPrimary() { return primary; } /** * Sets the value of the primary property. * * @param value * allowed object is * {@link ParticipantType } * */ public void setPrimary(ParticipantType value) { this.primary = value; } /** * Gets the value of the participant 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 participant property. * *

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

     *    getParticipant().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ParticipantType } * * */ public List getParticipant() { if (participant == null) { participant = new ArrayList(); } return this.participant; } /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Element } * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } }