package at.gv.util.xsd.saml.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.XmlType; import at.gv.util.xsd.saml.assertion.AssertionType; /** *

Java class for ResponseType complex type. * *

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

 * <complexType name="ResponseType">
 *   <complexContent>
 *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}ResponseAbstractType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Status"/>
 *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ResponseType", propOrder = { "status", "assertion" }) public class ResponseType extends ResponseAbstractType { @XmlElement(name = "Status", required = true) protected StatusType status; @XmlElement(name = "Assertion", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") protected List assertion; /** * Gets the value of the status property. * * @return * possible object is * {@link StatusType } * */ public StatusType getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link StatusType } * */ public void setStatus(StatusType value) { this.status = value; } /** * Gets the value of the assertion 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 assertion property. * *

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

     *    getAssertion().add(newItem);
     * 
* * *

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