summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/saml/v2_0/assertion/SubjectType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/xsd/saml/v2_0/assertion/SubjectType.java')
-rw-r--r--src/main/java/at/gv/util/xsd/saml/v2_0/assertion/SubjectType.java97
1 files changed, 97 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/saml/v2_0/assertion/SubjectType.java b/src/main/java/at/gv/util/xsd/saml/v2_0/assertion/SubjectType.java
new file mode 100644
index 0000000..95e5c9b
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/saml/v2_0/assertion/SubjectType.java
@@ -0,0 +1,97 @@
+
+package at.gv.util.xsd.saml.v2_0.assertion;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java-Klasse für SubjectType complex type.
+ *
+ * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
+ *
+ * <pre>
+ * &lt;complexType name="SubjectType"&gt;
+ * &lt;complexContent&gt;
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
+ * &lt;choice&gt;
+ * &lt;sequence&gt;
+ * &lt;choice&gt;
+ * &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}BaseID"/&gt;
+ * &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}NameID"/&gt;
+ * &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedID"/&gt;
+ * &lt;/choice&gt;
+ * &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded" minOccurs="0"/&gt;
+ * &lt;/sequence&gt;
+ * &lt;element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectConfirmation" maxOccurs="unbounded"/&gt;
+ * &lt;/choice&gt;
+ * &lt;/restriction&gt;
+ * &lt;/complexContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "SubjectType", propOrder = {
+ "content"
+})
+public class SubjectType {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "EncryptedID", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", type = JAXBElement.class, required = false),
+ @XmlElementRef(name = "NameID", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", type = JAXBElement.class, required = false),
+ @XmlElementRef(name = "SubjectConfirmation", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", type = JAXBElement.class, required = false),
+ @XmlElementRef(name = "BaseID", namespace = "urn:oasis:names:tc:SAML:2.0:assertion", type = JAXBElement.class, required = false)
+ })
+ protected List<JAXBElement<?>> content;
+
+ /**
+ * Ruft das restliche Contentmodell ab.
+ *
+ * <p>
+ * Sie rufen diese "catch-all"-Eigenschaft aus folgendem Grund ab:
+ * Der Feldname "SubjectConfirmation" wird von zwei verschiedenen Teilen eines Schemas verwendet. Siehe:
+ * Zeile 0 von https://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd
+ * Zeile 0 von https://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd
+ * <p>
+ * Um diese Eigenschaft zu entfernen, wenden Sie eine Eigenschaftenanpassung für eine
+ * der beiden folgenden Deklarationen an, um deren Namen zu ändern:
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link EncryptedElementType }{@code >}
+ * {@link JAXBElement }{@code <}{@link NameIDType }{@code >}
+ * {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >}
+ * {@link JAXBElement }{@code <}{@link BaseIDAbstractType }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getContent() {
+ if (content == null) {
+ content = new ArrayList<JAXBElement<?>>();
+ }
+ return this.content;
+ }
+
+}