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/RequestType.java | 244 +++++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java (limited to 'src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java') diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java b/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java new file mode 100644 index 0000000..1d08847 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java @@ -0,0 +1,244 @@ + +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; + + +/** + *

Java class for RequestType complex type. + * + *

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

+ * <complexType name="RequestType">
+ *   <complexContent>
+ *     <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}RequestAbstractType">
+ *       <choice>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Query"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AuthenticationQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AttributeQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AuthorizationDecisionQuery"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference" maxOccurs="unbounded"/>
+ *         <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AssertionArtifact" maxOccurs="unbounded"/>
+ *       </choice>
+ *     </extension>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RequestType", propOrder = { + "query", + "subjectQuery", + "authenticationQuery", + "attributeQuery", + "authorizationDecisionQuery", + "assertionIDReference", + "assertionArtifact" +}) +public class RequestType + extends RequestAbstractType +{ + + @XmlElement(name = "Query") + protected QueryAbstractType query; + @XmlElement(name = "SubjectQuery") + protected SubjectQueryAbstractType subjectQuery; + @XmlElement(name = "AuthenticationQuery") + protected AuthenticationQueryType authenticationQuery; + @XmlElement(name = "AttributeQuery") + protected AttributeQueryType attributeQuery; + @XmlElement(name = "AuthorizationDecisionQuery") + protected AuthorizationDecisionQueryType authorizationDecisionQuery; + @XmlElement(name = "AssertionIDReference", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List assertionIDReference; + @XmlElement(name = "AssertionArtifact") + protected List assertionArtifact; + + /** + * Gets the value of the query property. + * + * @return + * possible object is + * {@link QueryAbstractType } + * + */ + public QueryAbstractType getQuery() { + return query; + } + + /** + * Sets the value of the query property. + * + * @param value + * allowed object is + * {@link QueryAbstractType } + * + */ + public void setQuery(QueryAbstractType value) { + this.query = value; + } + + /** + * Gets the value of the subjectQuery property. + * + * @return + * possible object is + * {@link SubjectQueryAbstractType } + * + */ + public SubjectQueryAbstractType getSubjectQuery() { + return subjectQuery; + } + + /** + * Sets the value of the subjectQuery property. + * + * @param value + * allowed object is + * {@link SubjectQueryAbstractType } + * + */ + public void setSubjectQuery(SubjectQueryAbstractType value) { + this.subjectQuery = value; + } + + /** + * Gets the value of the authenticationQuery property. + * + * @return + * possible object is + * {@link AuthenticationQueryType } + * + */ + public AuthenticationQueryType getAuthenticationQuery() { + return authenticationQuery; + } + + /** + * Sets the value of the authenticationQuery property. + * + * @param value + * allowed object is + * {@link AuthenticationQueryType } + * + */ + public void setAuthenticationQuery(AuthenticationQueryType value) { + this.authenticationQuery = value; + } + + /** + * Gets the value of the attributeQuery property. + * + * @return + * possible object is + * {@link AttributeQueryType } + * + */ + public AttributeQueryType getAttributeQuery() { + return attributeQuery; + } + + /** + * Sets the value of the attributeQuery property. + * + * @param value + * allowed object is + * {@link AttributeQueryType } + * + */ + public void setAttributeQuery(AttributeQueryType value) { + this.attributeQuery = value; + } + + /** + * Gets the value of the authorizationDecisionQuery property. + * + * @return + * possible object is + * {@link AuthorizationDecisionQueryType } + * + */ + public AuthorizationDecisionQueryType getAuthorizationDecisionQuery() { + return authorizationDecisionQuery; + } + + /** + * Sets the value of the authorizationDecisionQuery property. + * + * @param value + * allowed object is + * {@link AuthorizationDecisionQueryType } + * + */ + public void setAuthorizationDecisionQuery(AuthorizationDecisionQueryType value) { + this.authorizationDecisionQuery = value; + } + + /** + * Gets the value of the assertionIDReference 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 assertionIDReference property. + * + *

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

+     *    getAssertionIDReference().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getAssertionIDReference() { + if (assertionIDReference == null) { + assertionIDReference = new ArrayList(); + } + return this.assertionIDReference; + } + + /** + * Gets the value of the assertionArtifact 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 assertionArtifact property. + * + *

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

+     *    getAssertionArtifact().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getAssertionArtifact() { + if (assertionArtifact == null) { + assertionArtifact = new ArrayList(); + } + return this.assertionArtifact; + } + +} -- cgit v1.2.3