com.sun.xml.wss.saml.internal.saml20.jaxb20.AssertionType Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2020 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:57:41 PM IST
//
package com.sun.xml.wss.saml.internal.saml20.jaxb20;
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:2.0:assertion}Issuer"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Conditions" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Advice" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Statement"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnStatement"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthzDecisionStatement"/>
* <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AttributeStatement"/>
* </choice>
* </sequence>
* <attribute name="ID" 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="Version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlRootElement(name="Assertion")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AssertionType", propOrder = {
"issuer",
"signature",
"subject",
"conditions",
"advice",
"statementOrAuthnStatementOrAuthzDecisionStatement"
})
public class AssertionType {
@XmlElement(name = "Issuer", required = true)
protected NameIDType issuer;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected SignatureType signature;
@XmlElement(name = "Subject")
protected SubjectType subject;
@XmlElement(name = "Conditions")
protected ConditionsType conditions;
@XmlElement(name = "Advice")
protected AdviceType advice;
@XmlElements({
@XmlElement(name = "AuthzDecisionStatement", type = AuthzDecisionStatementType.class),
@XmlElement(name = "AttributeStatement", type = AttributeStatementType.class),
@XmlElement(name = "Statement"),
@XmlElement(name = "AuthnStatement", type = AuthnStatementType.class)
})
protected List statementOrAuthnStatementOrAuthzDecisionStatement;
@XmlAttribute(name = "ID", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
protected String id;
@XmlAttribute(name = "IssueInstant", required = true)
protected XMLGregorianCalendar issueInstant;
@XmlAttribute(name = "Version", required = true)
protected String version;
/**
* Gets the value of the issuer property.
*
* @return
* possible object is
* {@link NameIDType }
*
*/
public NameIDType getIssuer() {
return issuer;
}
/**
* Sets the value of the issuer property.
*
* @param value
* allowed object is
* {@link NameIDType }
*
*/
public void setIssuer(NameIDType value) {
this.issuer = value;
}
/**
* 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 subject property.
*
* @return
* possible object is
* {@link SubjectType }
*
*/
public SubjectType getSubject() {
return subject;
}
/**
* Sets the value of the subject property.
*
* @param value
* allowed object is
* {@link SubjectType }
*
*/
public void setSubject(SubjectType value) {
this.subject = value;
}
/**
* 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 statementOrAuthnStatementOrAuthzDecisionStatement 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 statementOrAuthnStatementOrAuthzDecisionStatement property.
*
*
* For example, to add a new item, do as follows:
*
* getStatementOrAuthnStatementOrAuthzDecisionStatement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AuthzDecisionStatementType }
* {@link AttributeStatementType }
* {@link StatementAbstractType }
* {@link AuthnStatementType }
*
*
*/
public List getStatementOrAuthnStatementOrAuthzDecisionStatement() {
if (statementOrAuthnStatementOrAuthzDecisionStatement == null) {
statementOrAuthnStatementOrAuthzDecisionStatement = new ArrayList();
}
return this.statementOrAuthnStatementOrAuthzDecisionStatement;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setID(String value) {
this.id = 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 version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}