summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java')
-rw-r--r--src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java101
1 files changed, 101 insertions, 0 deletions
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;
+
+
+/**
+ * <p>Java class for ResponseType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * &lt;complexType name="ResponseType">
+ * &lt;complexContent>
+ * &lt;extension base="{urn:oasis:names:tc:SAML:1.0:protocol}ResponseAbstractType">
+ * &lt;sequence>
+ * &lt;element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Status"/>
+ * &lt;element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/extension>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@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<AssertionType> 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.
+ *
+ * <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 assertion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssertion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link AssertionType }
+ *
+ *
+ */
+ public List<AssertionType> getAssertion() {
+ if (assertion == null) {
+ assertion = new ArrayList<AssertionType>();
+ }
+ return this.assertion;
+ }
+
+}