//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.05.06 at 06:41:10 PM CEST
//
package de.groothues.mysaml.protocol;
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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
import de.groothues.mysaml.assertion.AssertionType;
import de.groothues.mysaml.assertion.EncryptedElementType;
/**
* <p>Java class for ResponseType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ResponseType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Assertion"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAssertion"/>
* </choice>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseType", propOrder = {
"assertionOrEncryptedAssertion"
})
public class ResponseType
extends StatusResponseType
{
@XmlElements({
@XmlElement(name = "Assertion", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", type = AssertionType.class),
@XmlElement(name = "EncryptedAssertion", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", type = EncryptedElementType.class)
})
protected List<Object> assertionOrEncryptedAssertion;
/**
* Gets the value of the assertionOrEncryptedAssertion property.
*
* <p>
* 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 <CODE>set</CODE> method for the assertionOrEncryptedAssertion property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAssertionOrEncryptedAssertion().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AssertionType }
* {@link EncryptedElementType }
*
*
*/
public List<Object> getAssertionOrEncryptedAssertion() {
if (assertionOrEncryptedAssertion == null) {
assertionOrEncryptedAssertion = new ArrayList<Object>();
}
return this.assertionOrEncryptedAssertion;
}
}