com.sun.xml.wss.saml.internal.saml11.jaxb20.AssertionType Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.09.12 at 08:53:21 PM IST
//
package com.sun.xml.wss.saml.internal.saml11.jaxb20;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import com.sun.xml.security.core.dsig.SignatureType;
import jakarta.xml.bind.annotation.XmlRootElement;
/**
* 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="AssertionID" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="Issuer" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <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" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlRootElement(name="Assertion")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AssertionType", propOrder = {
"conditions",
"advice",
"statementOrSubjectStatementOrAuthenticationStatement",
"signature"
})
public class AssertionType {
@XmlElement(name = "Conditions")
protected ConditionsType conditions;
@XmlElement(name = "Advice")
protected AdviceType advice;
@XmlElements({
@XmlElement(name = "SubjectStatement", type = SubjectStatementAbstractType.class),
@XmlElement(name = "AttributeStatement", type = AttributeStatementType.class),
@XmlElement(name = "Statement"),
@XmlElement(name = "AuthenticationStatement", type = AuthenticationStatementType.class),
@XmlElement(name = "AuthorizationDecisionStatement", type = AuthorizationDecisionStatementType.class)
})
protected List statementOrSubjectStatementOrAuthenticationStatement;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#" )
protected SignatureType signature;
@XmlAttribute(name = "AssertionID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
protected String assertionID;
@XmlAttribute(name = "IssueInstant", required = true)
protected XMLGregorianCalendar issueInstant;
@XmlAttribute(name = "Issuer", required = true)
protected String issuer;
@XmlAttribute(name = "MajorVersion", required = true)
protected BigInteger majorVersion;
@XmlAttribute(name = "MinorVersion", required = true)
protected BigInteger minorVersion;
/**
* Gets the value of the conditions property.
*
* @return
* possible object is
* {@link ConditionsType }
*
*/
public ConditionsType getConditions() {
return conditions;
}
/**
* Sets the value of the conditions property.
*
* @param value
* allowed object is
* {@link ConditionsType }
*
*/
public void setConditions(ConditionsType value) {
this.conditions = value;
}
/**
* Gets the value of the advice property.
*
* @return
* possible object is
* {@link AdviceType }
*
*/
public AdviceType getAdvice() {
return advice;
}
/**
* Sets the value of the advice property.
*
* @param value
* allowed object is
* {@link AdviceType }
*
*/
public void setAdvice(AdviceType value) {
this.advice = value;
}
/**
* Gets the value of the statementOrSubjectStatementOrAuthenticationStatement 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 statementOrSubjectStatementOrAuthenticationStatement property.
*
*
* For example, to add a new item, do as follows:
*
* getStatementOrSubjectStatementOrAuthenticationStatement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubjectStatementAbstractType }
* {@link AttributeStatementType }
* {@link StatementAbstractType }
* {@link AuthenticationStatementType }
* {@link AuthorizationDecisionStatementType }
*
*
*/
public List getStatementOrSubjectStatementOrAuthenticationStatement() {
if (statementOrSubjectStatementOrAuthenticationStatement == null) {
statementOrSubjectStatementOrAuthenticationStatement = new ArrayList<>();
}
return this.statementOrSubjectStatementOrAuthenticationStatement;
}
/**
* 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;
}
/**
* 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;
}
/**
* 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;
}
/**
* 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;
}
/**
* 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;
}
/**
* 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;
}
}