All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.swedenconnect.schemas.saml_1_1.assertion.Assertion Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.02.24 at 11:49:44 AM CET 
//


package se.swedenconnect.schemas.saml_1_1.assertion;

import java.math.BigInteger;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import org.apache.xml.security.binding.xmldsig.SignatureType;


/**
 * 

Java class for AssertionType complex type. * *

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

 * <complexType name="AssertionType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Conditions" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Advice" minOccurs="0"/>
 *         <choice maxOccurs="unbounded">
 *           <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Statement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthenticationStatement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorizationDecisionStatement"/>
 *           <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeStatement"/>
 *         </choice>
 *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="MajorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *       <attribute name="MinorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *       <attribute name="AssertionID" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="Issuer" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AssertionType", propOrder = { "conditions", "advice", "statementsAndSubjectStatementsAndAuthenticationStatements", "signature" }) @XmlRootElement(name = "Assertion") public class Assertion { @XmlElement(name = "Conditions") protected Conditions conditions; @XmlElement(name = "Advice") protected Advice advice; @XmlElements({ @XmlElement(name = "Statement"), @XmlElement(name = "SubjectStatement", type = SubjectStatementAbstractType.class), @XmlElement(name = "AuthenticationStatement", type = AuthenticationStatement.class), @XmlElement(name = "AuthorizationDecisionStatement", type = AuthorizationDecisionStatement.class), @XmlElement(name = "AttributeStatement", type = AttributeStatement.class) }) protected List statementsAndSubjectStatementsAndAuthenticationStatements; @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") protected SignatureType signature; @XmlAttribute(name = "MajorVersion", required = true) protected BigInteger majorVersion; @XmlAttribute(name = "MinorVersion", required = true) protected BigInteger minorVersion; @XmlAttribute(name = "AssertionID", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String assertionID; @XmlAttribute(name = "Issuer", required = true) protected String issuer; @XmlAttribute(name = "IssueInstant", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar issueInstant; /** * Gets the value of the conditions property. * * @return * possible object is * {@link Conditions } * */ public Conditions getConditions() { return conditions; } /** * Sets the value of the conditions property. * * @param value * allowed object is * {@link Conditions } * */ public void setConditions(Conditions value) { this.conditions = value; } public boolean isSetConditions() { return (this.conditions!= null); } /** * Gets the value of the advice property. * * @return * possible object is * {@link Advice } * */ public Advice getAdvice() { return advice; } /** * Sets the value of the advice property. * * @param value * allowed object is * {@link Advice } * */ public void setAdvice(Advice value) { this.advice = value; } public boolean isSetAdvice() { return (this.advice!= null); } /** * Gets the value of the statementsAndSubjectStatementsAndAuthenticationStatements 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 statementsAndSubjectStatementsAndAuthenticationStatements property. * *

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

     *    getStatementsAndSubjectStatementsAndAuthenticationStatements().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link StatementAbstractType } * {@link SubjectStatementAbstractType } * {@link AuthenticationStatement } * {@link AuthorizationDecisionStatement } * {@link AttributeStatement } * * */ public List getStatementsAndSubjectStatementsAndAuthenticationStatements() { if (statementsAndSubjectStatementsAndAuthenticationStatements == null) { statementsAndSubjectStatementsAndAuthenticationStatements = new ArrayList(); } return this.statementsAndSubjectStatementsAndAuthenticationStatements; } public boolean isSetStatementsAndSubjectStatementsAndAuthenticationStatements() { return ((this.statementsAndSubjectStatementsAndAuthenticationStatements!= null)&&(!this.statementsAndSubjectStatementsAndAuthenticationStatements.isEmpty())); } public void unsetStatementsAndSubjectStatementsAndAuthenticationStatements() { this.statementsAndSubjectStatementsAndAuthenticationStatements = null; } /** * Gets the value of the signature property. * * @return * possible object is * {@link SignatureType } * */ public SignatureType getSignature() { return signature; } /** * Sets the value of the signature property. * * @param value * allowed object is * {@link SignatureType } * */ public void setSignature(SignatureType value) { this.signature = value; } public boolean isSetSignature() { return (this.signature!= null); } /** * Gets the value of the majorVersion property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMajorVersion() { return majorVersion; } /** * Sets the value of the majorVersion property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMajorVersion(BigInteger value) { this.majorVersion = value; } public boolean isSetMajorVersion() { return (this.majorVersion!= null); } /** * Gets the value of the minorVersion property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMinorVersion() { return minorVersion; } /** * Sets the value of the minorVersion property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMinorVersion(BigInteger value) { this.minorVersion = value; } public boolean isSetMinorVersion() { return (this.minorVersion!= null); } /** * Gets the value of the assertionID property. * * @return * possible object is * {@link String } * */ public String getAssertionID() { return assertionID; } /** * Sets the value of the assertionID property. * * @param value * allowed object is * {@link String } * */ public void setAssertionID(String value) { this.assertionID = value; } public boolean isSetAssertionID() { return (this.assertionID!= null); } /** * Gets the value of the issuer property. * * @return * possible object is * {@link String } * */ public String getIssuer() { return issuer; } /** * Sets the value of the issuer property. * * @param value * allowed object is * {@link String } * */ public void setIssuer(String value) { this.issuer = value; } public boolean isSetIssuer() { return (this.issuer!= null); } /** * Gets the value of the issueInstant property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getIssueInstant() { return issueInstant; } /** * Sets the value of the issueInstant property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setIssueInstant(XMLGregorianCalendar value) { this.issueInstant = value; } public boolean isSetIssueInstant() { return (this.issueInstant!= null); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy