
se.swedenconnect.schemas.saml_1_1.assertion.AuthenticationStatement Maven / Gradle / Ivy
Show all versions of oasis-dss-jaxb Show documentation
//
// 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.10.06 at 01:06:56 PM CEST
//
package se.swedenconnect.schemas.saml_1_1.assertion;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for AuthenticationStatementType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AuthenticationStatementType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType">
* <sequence>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectLocality" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorityBinding" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="AuthenticationMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="AuthenticationInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AuthenticationStatementType", propOrder = {
"subjectLocality",
"authorityBindings"
})
@XmlRootElement(name = "AuthenticationStatement")
public class AuthenticationStatement
extends SubjectStatementAbstractType
{
@XmlElement(name = "SubjectLocality")
protected SubjectLocality subjectLocality;
@XmlElement(name = "AuthorityBinding")
protected List authorityBindings;
@XmlAttribute(name = "AuthenticationMethod", required = true)
@XmlSchemaType(name = "anyURI")
protected String authenticationMethod;
@XmlAttribute(name = "AuthenticationInstant", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar authenticationInstant;
/**
* Gets the value of the subjectLocality property.
*
* @return
* possible object is
* {@link SubjectLocality }
*
*/
public SubjectLocality getSubjectLocality() {
return subjectLocality;
}
/**
* Sets the value of the subjectLocality property.
*
* @param value
* allowed object is
* {@link SubjectLocality }
*
*/
public void setSubjectLocality(SubjectLocality value) {
this.subjectLocality = value;
}
public boolean isSetSubjectLocality() {
return (this.subjectLocality!= null);
}
/**
* Gets the value of the authorityBindings 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 authorityBindings property.
*
*
* For example, to add a new item, do as follows:
*
* getAuthorityBindings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AuthorityBinding }
*
*
*/
public List getAuthorityBindings() {
if (authorityBindings == null) {
authorityBindings = new ArrayList();
}
return this.authorityBindings;
}
public boolean isSetAuthorityBindings() {
return ((this.authorityBindings!= null)&&(!this.authorityBindings.isEmpty()));
}
public void unsetAuthorityBindings() {
this.authorityBindings = null;
}
/**
* Gets the value of the authenticationMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAuthenticationMethod() {
return authenticationMethod;
}
/**
* Sets the value of the authenticationMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthenticationMethod(String value) {
this.authenticationMethod = value;
}
public boolean isSetAuthenticationMethod() {
return (this.authenticationMethod!= null);
}
/**
* Gets the value of the authenticationInstant property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAuthenticationInstant() {
return authenticationInstant;
}
/**
* Sets the value of the authenticationInstant property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setAuthenticationInstant(XMLGregorianCalendar value) {
this.authenticationInstant = value;
}
public boolean isSetAuthenticationInstant() {
return (this.authenticationInstant!= null);
}
}