From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../at/gv/util/xsd/saml/protocol/ResponseType.java | 101 +++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java (limited to 'src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java') diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java new file mode 100644 index 0000000..f69b0d5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java @@ -0,0 +1,101 @@ + +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; + } + +} -- cgit v1.2.3